sfxge(4): remove Falcon specific EV_GLOBAL support
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6290
This commit is contained in:
parent
a4983a11aa
commit
0de035aa72
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299404
@ -748,23 +748,11 @@ falconsiena_ev_global(
|
|||||||
__in const efx_ev_callbacks_t *eecp,
|
__in const efx_ev_callbacks_t *eecp,
|
||||||
__in_opt void *arg)
|
__in_opt void *arg)
|
||||||
{
|
{
|
||||||
efx_nic_t *enp = eep->ee_enp;
|
_NOTE(ARGUNUSED(eqp, eecp, arg))
|
||||||
efx_port_t *epp = &(enp->en_port);
|
|
||||||
boolean_t should_abort;
|
|
||||||
|
|
||||||
EFX_EV_QSTAT_INCR(eep, EV_GLOBAL);
|
EFX_EV_QSTAT_INCR(eep, EV_GLOBAL);
|
||||||
should_abort = B_FALSE;
|
|
||||||
|
|
||||||
/* Check for a link management event */
|
return (B_FALSE);
|
||||||
if (EFX_QWORD_FIELD(*eqp, FSF_BZ_GLB_EV_XG_MNT_INTR) != 0) {
|
|
||||||
EFX_EV_QSTAT_INCR(eep, EV_GLOBAL_MNT);
|
|
||||||
|
|
||||||
EFSYS_PROBE(xg_mgt);
|
|
||||||
|
|
||||||
epp->ep_mac_poll_needed = B_TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (should_abort);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static __checkReturn boolean_t
|
static __checkReturn boolean_t
|
||||||
|
@ -298,9 +298,6 @@ typedef struct efx_port_s {
|
|||||||
uint32_t ep_lp_cap_mask;
|
uint32_t ep_lp_cap_mask;
|
||||||
uint32_t ep_default_adv_cap_mask;
|
uint32_t ep_default_adv_cap_mask;
|
||||||
uint32_t ep_phy_cap_mask;
|
uint32_t ep_phy_cap_mask;
|
||||||
boolean_t ep_mac_poll_needed; /* falcon only */
|
|
||||||
boolean_t ep_mac_up; /* falcon only */
|
|
||||||
uint32_t ep_fwver; /* falcon only */
|
|
||||||
boolean_t ep_mac_drain;
|
boolean_t ep_mac_drain;
|
||||||
boolean_t ep_mac_stats_pending;
|
boolean_t ep_mac_stats_pending;
|
||||||
#if EFSYS_OPT_BIST
|
#if EFSYS_OPT_BIST
|
||||||
|
@ -55,7 +55,6 @@ efx_port_init(
|
|||||||
|
|
||||||
epp->ep_mac_type = EFX_MAC_INVALID;
|
epp->ep_mac_type = EFX_MAC_INVALID;
|
||||||
epp->ep_link_mode = EFX_LINK_UNKNOWN;
|
epp->ep_link_mode = EFX_LINK_UNKNOWN;
|
||||||
epp->ep_mac_poll_needed = B_TRUE;
|
|
||||||
epp->ep_mac_drain = B_TRUE;
|
epp->ep_mac_drain = B_TRUE;
|
||||||
|
|
||||||
/* Configure the MAC */
|
/* Configure the MAC */
|
||||||
@ -247,7 +246,6 @@ efx_port_fini(
|
|||||||
epp->ep_emop = NULL;
|
epp->ep_emop = NULL;
|
||||||
epp->ep_mac_type = EFX_MAC_INVALID;
|
epp->ep_mac_type = EFX_MAC_INVALID;
|
||||||
epp->ep_mac_drain = B_FALSE;
|
epp->ep_mac_drain = B_FALSE;
|
||||||
epp->ep_mac_poll_needed = B_FALSE;
|
|
||||||
|
|
||||||
/* Turn off the PHY */
|
/* Turn off the PHY */
|
||||||
if (epop->epo_power != NULL)
|
if (epop->epo_power != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user