summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2017-10-26 01:40:33 +0000
committermsaitoh <msaitoh@NetBSD.org>2017-10-26 01:40:33 +0000
commite82c71ca1128d305d499048d9934b1377f326d1f (patch)
treec6e87acd98bb4f2bf183b871c477f76aed642c62 /sys/dev
parentbf50a9fe982a95ab743babfc814aa90b7e299f1d (diff)
- Remove all half duplex setting.
- Remove special handling of IXGBE_DEV_ID_82598AT's 1000BaseT. The PHY is compliant with clause 45, so the media is added in the beginning of ixgbe_add_media_types().
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ixgbe/ixgbe.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/pci/ixgbe/ixgbe.c b/sys/dev/pci/ixgbe/ixgbe.c
index b6a8a4c21bd..8c26575b593 100644
--- a/sys/dev/pci/ixgbe/ixgbe.c
+++ b/sys/dev/pci/ixgbe/ixgbe.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.107 2017/10/25 04:45:41 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.108 2017/10/26 01:40:33 msaitoh Exp $ */
/******************************************************************************
@@ -1316,15 +1316,12 @@ ixgbe_add_media_types(struct adapter *adapter)
ADD(IFM_10G_T | IFM_FDX, 0);
}
if (layer & IXGBE_PHYSICAL_LAYER_1000BASE_T) {
- ADD(IFM_1000_T, 0);
ADD(IFM_1000_T | IFM_FDX, 0);
}
if (layer & IXGBE_PHYSICAL_LAYER_100BASE_TX) {
- ADD(IFM_100_TX, 0);
ADD(IFM_100_TX | IFM_FDX, 0);
}
if (layer & IXGBE_PHYSICAL_LAYER_10BASE_T) {
- ADD(IFM_10_T, 0);
ADD(IFM_10_T | IFM_FDX, 0);
}
@@ -1371,7 +1368,6 @@ ixgbe_add_media_types(struct adapter *adapter)
}
#endif
if (layer & IXGBE_PHYSICAL_LAYER_1000BASE_KX) {
- ADD(IFM_1000_KX, 0);
ADD(IFM_1000_KX | IFM_FDX, 0);
}
if (layer & IXGBE_PHYSICAL_LAYER_2500BASE_KX) {
@@ -1387,11 +1383,6 @@ ixgbe_add_media_types(struct adapter *adapter)
device_printf(dev, "Media supported: 1000baseBX\n");
/* XXX no ifmedia_set? */
- if (hw->device_id == IXGBE_DEV_ID_82598AT) {
- ADD(IFM_1000_T | IFM_FDX, 0);
- ADD(IFM_1000_T, 0);
- }
-
ADD(IFM_AUTO, 0);
#undef ADD