summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-06-19 08:43:56 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-06-19 08:43:56 +0000
commiteda758eaab402b9ab6de87e3906a5565ee320d02 (patch)
tree90720ff86fa3d3418428761bf6145a2e4f4939f8 /sys/dev/pci
parente11c6a5299ba2a419deb0efbf9881f1fddb47ad0 (diff)
the 82598AT variant of ix(4) is 10GbaseT, change media type from AUTO.
Diffstat (limited to 'sys/dev/pci')
-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;