]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ice: c827: move wait for FW to ice_init_hw()
authorPrzemek Kitszel <przemyslaw.kitszel@intel.com>
Wed, 2 Oct 2024 11:50:21 +0000 (13:50 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 14 Jan 2025 22:37:33 +0000 (14:37 -0800)
commitc37dd67c423308c5a58c1a6e5b53229a95e19c3f
treea093ba775d40b8d6b2e5f745efdde730dcb8a19d
parent9c7ad35632297edc08d0f2c7b599137e9fb5f9ff
ice: c827: move wait for FW to ice_init_hw()

Move call to ice_wait_for_fw() from ice_init_dev() into ice_init_hw(),
where it fits better. This requires also to move ice_wait_for_fw()
to ice_common.c.

ice_is_pf_c827() is now used only in ice_common.c, so it could be static.

CC: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Reviewed-by: Marcin Szycik <marcin.szycik@linux.intel.com>
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_common.h
drivers/net/ethernet/intel/ice/ice_main.c