summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_ix.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2008-06-19 08:43:55 +0000
committerreyk <reyk@openbsd.org>2008-06-19 08:43:55 +0000
commit0867a59021ccad624ee7dc136ad92785dd46d356 (patch)
tree9499f7e9e5f139329b3af935cf948c0111c88fb7 /sys/dev/pci/if_ix.c
parentadd 10GbaseT media type, 10 Gigabit Ethernet over CAT 6 unshielded or (diff)
downloadwireguard-openbsd-0867a59021ccad624ee7dc136ad92785dd46d356.tar.xz
wireguard-openbsd-0867a59021ccad624ee7dc136ad92785dd46d356.zip
the 82598AT variant of ix(4) is 10GbaseT, change media type from AUTO.
Diffstat (limited to 'sys/dev/pci/if_ix.c')
-rw-r--r--sys/dev/pci/if_ix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index b90f1aebda3..c9d3839f8d0 100644
--- a/sys/dev/pci/if_ix.c
+++ b/sys/dev/pci/if_ix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.c,v 1.6 2008/06/09 07:07:16 djm Exp $ */
+/* $OpenBSD: if_ix.c,v 1.7 2008/06/19 08:43:55 reyk Exp $ */
/******************************************************************************
@@ -1229,6 +1229,8 @@ ixgbe_identify_hardware(struct ix_softc *sc)
break;
case PCI_PRODUCT_INTEL_82598AT_DUAL:
case PCI_PRODUCT_INTEL_82598AT:
+ sc->optics = IFM_10G_T;
+ break;
default:
sc->optics = IFM_AUTO;
break;