Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/igc/if_igc.c
Show First 20 Lines • Show All 1,603 Lines • ▼ Show 20 Lines | |||||
* | * | ||||
**********************************************************************/ | **********************************************************************/ | ||||
static void | static void | ||||
igc_reset(if_ctx_t ctx) | igc_reset(if_ctx_t ctx) | ||||
{ | { | ||||
device_t dev = iflib_get_dev(ctx); | device_t dev = iflib_get_dev(ctx); | ||||
struct igc_adapter *adapter = iflib_get_softc(ctx); | struct igc_adapter *adapter = iflib_get_softc(ctx); | ||||
struct igc_hw *hw = &adapter->hw; | struct igc_hw *hw = &adapter->hw; | ||||
u16 rx_buffer_size; | u32 rx_buffer_size; | ||||
u32 pba; | u32 pba; | ||||
INIT_DEBUGOUT("igc_reset: begin"); | INIT_DEBUGOUT("igc_reset: begin"); | ||||
/* Let the firmware know the OS is in control */ | /* Let the firmware know the OS is in control */ | ||||
igc_get_hw_control(adapter); | igc_get_hw_control(adapter); | ||||
/* | /* | ||||
* Packet Buffer Allocation (PBA) | * Packet Buffer Allocation (PBA) | ||||
▲ Show 20 Lines • Show All 1,364 Lines • Show Last 20 Lines |