Date: Sat, 14 May 2016 06:06:48 +0000 (UTC) From: Andrew Rybchenko <arybchik@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299724 - head/sys/dev/sfxge/common Message-ID: <201605140606.u4E66mZu067038@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arybchik Date: Sat May 14 06:06:48 2016 New Revision: 299724 URL: https://svnweb.freebsd.org/changeset/base/299724 Log: sfxge(4): remove unimplemented EFX PHY methods Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Modified: head/sys/dev/sfxge/common/efx_impl.h head/sys/dev/sfxge/common/efx_phy.c Modified: head/sys/dev/sfxge/common/efx_impl.h ============================================================================== --- head/sys/dev/sfxge/common/efx_impl.h Sat May 14 06:05:45 2016 (r299723) +++ head/sys/dev/sfxge/common/efx_impl.h Sat May 14 06:06:48 2016 (r299724) @@ -208,10 +208,6 @@ typedef struct efx_phy_ops_s { efx_rc_t (*epo_reset)(efx_nic_t *); efx_rc_t (*epo_reconfigure)(efx_nic_t *); efx_rc_t (*epo_verify)(efx_nic_t *); - efx_rc_t (*epo_uplink_check)(efx_nic_t *, - boolean_t *); /* optional */ - efx_rc_t (*epo_downlink_check)(efx_nic_t *, efx_link_mode_t *, - unsigned int *, uint32_t *); efx_rc_t (*epo_oui_get)(efx_nic_t *, uint32_t *); #if EFSYS_OPT_PHY_STATS efx_rc_t (*epo_stats_update)(efx_nic_t *, efsys_mem_t *, Modified: head/sys/dev/sfxge/common/efx_phy.c ============================================================================== --- head/sys/dev/sfxge/common/efx_phy.c Sat May 14 06:05:45 2016 (r299723) +++ head/sys/dev/sfxge/common/efx_phy.c Sat May 14 06:06:48 2016 (r299724) @@ -41,8 +41,6 @@ static const efx_phy_ops_t __efx_phy_sie NULL, /* epo_reset */ siena_phy_reconfigure, /* epo_reconfigure */ siena_phy_verify, /* epo_verify */ - NULL, /* epo_uplink_check */ - NULL, /* epo_downlink_check */ siena_phy_oui_get, /* epo_oui_get */ #if EFSYS_OPT_PHY_STATS siena_phy_stats_update, /* epo_stats_update */ @@ -62,8 +60,6 @@ static const efx_phy_ops_t __efx_phy_ef1 NULL, /* epo_reset */ ef10_phy_reconfigure, /* epo_reconfigure */ ef10_phy_verify, /* epo_verify */ - NULL, /* epo_uplink_check */ - NULL, /* epo_downlink_check */ ef10_phy_oui_get, /* epo_oui_get */ #if EFSYS_OPT_PHY_STATS ef10_phy_stats_update, /* epo_stats_update */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605140606.u4E66mZu067038>