svn commit: r299333 - head/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Tue May 10 07:18:19 UTC 2016


Author: arybchik
Date: Tue May 10 07:18:18 2016
New Revision: 299333
URL: https://svnweb.freebsd.org/changeset/base/299333

Log:
  sfxge(4): remove EFSYS_OPT_PHY_QT2025C
  
  Submitted by:   Andy Moreton <amoreton at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      1 week

Modified:
  head/sys/dev/sfxge/common/efx_check.h
  head/sys/dev/sfxge/common/efx_impl.h
  head/sys/dev/sfxge/common/efx_phy.c

Modified: head/sys/dev/sfxge/common/efx_check.h
==============================================================================
--- head/sys/dev/sfxge/common/efx_check.h	Tue May 10 07:17:08 2016	(r299332)
+++ head/sys/dev/sfxge/common/efx_check.h	Tue May 10 07:18:18 2016	(r299333)
@@ -47,7 +47,6 @@
 # error "FALCON is obsolete and is not supported."
 #else
 /* FIXME: remove this after Falcon support has been removed */
-#define	EFSYS_OPT_PHY_QT2025C			(0)
 #define	EFSYS_OPT_PHY_SFT9001			(0)
 #define	EFSYS_OPT_PHY_SFX7101			(0)
 #define	EFSYS_OPT_PHY_TXC43128			(0)
@@ -261,12 +260,9 @@
 # error "PHY_QT2022C2 is obsolete and is not supported."
 #endif
 
-/* Support QT2025C PHY (Wakefield NIC) */
-#if EFSYS_OPT_PHY_QT2025C
-# if !EFSYS_OPT_FALCON
-#  error "PHY_QT2025C requires FALCON"
-# endif
-#endif /* EFSYS_OPT_PHY_QT2025C */
+#ifdef EFSYS_OPT_PHY_QT2025C
+# error "PHY_QT2025C is obsolete and is not supported."
+#endif
 
 /* Support SFT9001 PHY (Starbolt NIC) */
 #if EFSYS_OPT_PHY_SFT9001

Modified: head/sys/dev/sfxge/common/efx_impl.h
==============================================================================
--- head/sys/dev/sfxge/common/efx_impl.h	Tue May 10 07:17:08 2016	(r299332)
+++ head/sys/dev/sfxge/common/efx_impl.h	Tue May 10 07:18:18 2016	(r299333)
@@ -301,14 +301,11 @@ typedef struct efx_port_s {
 	uint32_t		ep_lp_cap_mask;
 	uint32_t		ep_default_adv_cap_mask;
 	uint32_t		ep_phy_cap_mask;
-#if EFSYS_OPT_PHY_TXC43128 || EFSYS_OPT_PHY_QT2025C
+#if EFSYS_OPT_PHY_TXC43128
 	union {
 		struct {
 			unsigned int	bug10934_count;
 		} ep_txc43128;
-		struct {
-			unsigned int	bug17190_count;
-		} ep_qt2025c;
 	};
 #endif
 	boolean_t		ep_mac_poll_needed; /* falcon only */

Modified: head/sys/dev/sfxge/common/efx_phy.c
==============================================================================
--- head/sys/dev/sfxge/common/efx_phy.c	Tue May 10 07:17:08 2016	(r299332)
+++ head/sys/dev/sfxge/common/efx_phy.c	Tue May 10 07:18:18 2016	(r299333)
@@ -46,10 +46,6 @@ __FBSDID("$FreeBSD$");
 #include "sft9001.h"
 #endif
 
-#if EFSYS_OPT_PHY_QT2025C
-#include "qt2025c.h"
-#endif
-
 #if EFSYS_OPT_PHY_SFX7101
 static efx_phy_ops_t	__efx_phy_sfx7101_ops = {
 	sfx7101_power,			/* epo_power */
@@ -134,34 +130,6 @@ static efx_phy_ops_t	__efx_phy_sft9001_o
 };
 #endif	/* EFSYS_OPT_PHY_SFT9001 */
 
-#if EFSYS_OPT_PHY_QT2025C
-static efx_phy_ops_t	__efx_phy_qt2025c_ops = {
-	NULL,				/* epo_power */
-	qt2025c_reset,			/* epo_reset */
-	qt2025c_reconfigure,		/* epo_reconfigure */
-	qt2025c_verify,			/* epo_verify */
-	qt2025c_uplink_check,		/* epo_uplink_check */
-	qt2025c_downlink_check,		/* epo_downlink_check */
-	qt2025c_oui_get,		/* epo_oui_get */
-#if EFSYS_OPT_PHY_STATS
-	qt2025c_stats_update,		/* epo_stats_update */
-#endif	/* EFSYS_OPT_PHY_STATS */
-#if EFSYS_OPT_PHY_PROPS
-#if EFSYS_OPT_NAMES
-	qt2025c_prop_name,		/* epo_prop_name */
-#endif
-	qt2025c_prop_get,		/* epo_prop_get */
-	qt2025c_prop_set,		/* epo_prop_set */
-#endif	/* EFSYS_OPT_PHY_PROPS */
-#if EFSYS_OPT_BIST
-	NULL,				/* epo_bist_enable_offline */
-	NULL,				/* epo_bist_start */
-	NULL,				/* epo_bist_poll */
-	NULL,				/* epo_bist_stop */
-#endif	/* EFSYS_OPT_BIST */
-};
-#endif	/* EFSYS_OPT_PHY_QT2025C */
-
 #if EFSYS_OPT_SIENA
 static efx_phy_ops_t	__efx_phy_siena_ops = {
 	siena_phy_power,		/* epo_power */


More information about the svn-src-head mailing list