summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2009-06-05 19:30:48 +0000
committernaddy <naddy@openbsd.org>2009-06-05 19:30:48 +0000
commit27a868eb6d793e8489d1507d8b5045ec56afd000 (patch)
tree632ea660dbe373c51eead970e617042be281d48d
parentSave some more state such that we recover from X changing depth on us. (diff)
downloadwireguard-openbsd-27a868eb6d793e8489d1507d8b5045ec56afd000.tar.xz
wireguard-openbsd-27a868eb6d793e8489d1507d8b5045ec56afd000.zip
Add support to fxp(4) for the 82552 MAC found in some variation of
the ICH7 chipset. Untested, but can't break anything that already works. From Brad; ok sthen@
-rw-r--r--sys/dev/pci/if_fxp_pci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_fxp_pci.c b/sys/dev/pci/if_fxp_pci.c
index fa1e11ff514..6158042359c 100644
--- a/sys/dev/pci/if_fxp_pci.c
+++ b/sys/dev/pci/if_fxp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fxp_pci.c,v 1.50 2009/06/02 16:50:20 jsg Exp $ */
+/* $OpenBSD: if_fxp_pci.c,v 1.51 2009/06/05 19:30:48 naddy Exp $ */
/*
* Copyright (c) 1995, David Greenman
@@ -95,6 +95,7 @@ struct cfattach fxp_pci_ca = {
const struct pci_matchid fxp_pci_devices[] = {
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_8255x },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82552 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82559 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82559ER },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82562 },
@@ -210,6 +211,9 @@ fxp_pci_attach(struct device *parent, struct device *self, void *aux)
break;
}
break;
+ case PCI_PRODUCT_INTEL_82552:
+ chipname = "i82552";
+ break;
default:
chipname = "i82562";
break;