Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe - Remove all half duplex setting.
details: https://anonhg.NetBSD.org/src/rev/e57b8194400f
branches: trunk
changeset: 357096:e57b8194400f
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Oct 26 01:40:33 2017 +0000
description:
- 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:
sys/dev/pci/ixgbe/ixgbe.c | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diffs (45 lines):
diff -r 6a753838674f -r e57b8194400f sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Thu Oct 26 01:16:32 2017 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Thu Oct 26 01:40:33 2017 +0000
@@ -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 @@
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 @@
}
#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 @@
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
Home |
Main Index |
Thread Index |
Old Index