Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/sfxge/common/hunt_nic.c
Show First 20 Lines • Show All 1,394 Lines • ▼ Show 20 Lines | fail1: | ||||
return (rc); | return (rc); | ||||
} | } | ||||
__checkReturn efx_rc_t | __checkReturn efx_rc_t | ||||
ef10_nic_probe( | ef10_nic_probe( | ||||
__in efx_nic_t *enp) | __in efx_nic_t *enp) | ||||
{ | { | ||||
efx_nic_ops_t *enop = enp->en_enop; | const efx_nic_ops_t *enop = enp->en_enop; | ||||
efx_nic_cfg_t *encp = &(enp->en_nic_cfg); | efx_nic_cfg_t *encp = &(enp->en_nic_cfg); | ||||
efx_drv_cfg_t *edcp = &(enp->en_drv_cfg); | efx_drv_cfg_t *edcp = &(enp->en_drv_cfg); | ||||
efx_rc_t rc; | efx_rc_t rc; | ||||
EFSYS_ASSERT(enp->en_family == EFX_FAMILY_HUNTINGTON || | EFSYS_ASSERT(enp->en_family == EFX_FAMILY_HUNTINGTON || | ||||
enp->en_family == EFX_FAMILY_MEDFORD); | enp->en_family == EFX_FAMILY_MEDFORD); | ||||
/* Read and clear any assertion state */ | /* Read and clear any assertion state */ | ||||
▲ Show 20 Lines • Show All 486 Lines • Show Last 20 Lines |