diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-09-01 21:11:51 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-09-01 21:11:51 +0000 |
commit | 0ca84b70fa61fdebafbbcc0eb754429dd290eec8 (patch) | |
tree | 6d564bbb854cf2a7cfd17d79d5a2cbcadc241e65 | |
parent | 78d64dde09718e229b6bdd6f7c53c20dd8961ad5 (diff) |
Support Broadcom BCM4401-B0; from FreeBSD. OK deraadt@ and henning@
-rw-r--r-- | sys/dev/pci/if_bce.c | 7 | ||||
-rw-r--r-- | sys/dev/pci/pcidevs | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/pci/if_bce.c b/sys/dev/pci/if_bce.c index d8a9fccda54..30ebc94c4fa 100644 --- a/sys/dev/pci/if_bce.c +++ b/sys/dev/pci/if_bce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bce.c,v 1.1 2004/02/13 23:24:30 andreas Exp $ */ +/* $OpenBSD: if_bce.c,v 1.2 2004/09/01 21:11:50 millert Exp $ */ /* $NetBSD: if_bce.c,v 1.3 2003/09/29 01:53:02 mrg Exp $ */ /* @@ -219,8 +219,9 @@ static int bce_lookup(const struct pci_attach_args *pa) { if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_BROADCOM && - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM4401) - return 1; + (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM4401 || + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM4401B0)) + return 1; return 0; } diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs index dec5b6aca17..49358f5620f 100644 --- a/sys/dev/pci/pcidevs +++ b/sys/dev/pci/pcidevs @@ -1,4 +1,4 @@ -$OpenBSD: pcidevs,v 1.756 2004/08/20 06:17:05 deraadt Exp $ +$OpenBSD: pcidevs,v 1.757 2004/09/01 21:11:50 millert Exp $ /* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */ /* @@ -744,6 +744,7 @@ product BROADCOM BCM5788 0x169c BCM5788 product BROADCOM BCM5702X 0x16a6 BCM5702X product BROADCOM BCM5703X 0x16a7 BCM5703X product BROADCOM BCM5704S 0x16a8 BCM4704S +product BROADCOM BCM4401B0 0x170c BCM4401B0 product BROADCOM BCM5901 0x170d BCM5901 product BROADCOM BCM5901A2 0x170e BCM5901A2 product BROADCOM BCM4401 0x4401 BCM4401 |