summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-12-22 20:39:24 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-12-22 20:39:24 +0000
commit19a0c9ddcb4c65cbd50b2be84f62672c5fb97e92 (patch)
tree39e7411e8c1d20ab48002d561790f5f1ad1b725c /sys
parentc22df5234b017617009aa985231d31a64bcadf51 (diff)
Add support for BCM57786,which seems to be almost indistinguishable from the
BCM57785. Tested by Mark Rowland.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_bge.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 4afe2935d72..9ede5ac40d8 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.343 2013/12/06 21:03:03 deraadt Exp $ */
+/* $OpenBSD: if_bge.c,v 1.344 2013/12/22 20:39:23 kettenis Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -306,6 +306,7 @@ const struct pci_matchid bge_devices[] = {
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM57780 },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM57781 },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM57785 },
+ { PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM57786 },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM57788 },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM57790 },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM57791 },
@@ -2522,6 +2523,7 @@ bge_attach(struct device *parent, struct device *self, void *aux)
case PCI_PRODUCT_BROADCOM_BCM57766:
case PCI_PRODUCT_BROADCOM_BCM57781:
case PCI_PRODUCT_BROADCOM_BCM57785:
+ case PCI_PRODUCT_BROADCOM_BCM57786:
case PCI_PRODUCT_BROADCOM_BCM57791:
case PCI_PRODUCT_BROADCOM_BCM57795:
sc->bge_chipid = pci_conf_read(pc, pa->pa_tag,