summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-09-03 20:10:01 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-09-03 20:10:01 +0000
commit6f2911996af92dd134f4ff236669e96f814cce8a (patch)
tree1345ce8b86a4d9a4daae61402294afd7f37d5cd2 /sys
parent413e5dff2b007485b0494d06f1d2b4dfb1bf8bf8 (diff)
add support for 5801 and 5802 which appear to be 5805's as far as sw is concerned
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/ubsec.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index 53fcf5c6eba..8904876a177 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.108 2002/07/08 19:41:29 jason Exp $ */
+/* $OpenBSD: ubsec.c,v 1.109 2002/09/03 20:10:00 jason Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -144,7 +144,9 @@ ubsec_probe(parent, match, aux)
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BLUESTEEL_5601))
return (1);
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_BROADCOM &&
- (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5805 ||
+ (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5801 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5802 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5805 ||
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5820 ||
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5821))
return (1);
@@ -178,7 +180,9 @@ ubsec_attach(parent, self, aux)
sc->sc_flags |= UBS_FLAGS_KEY | UBS_FLAGS_RNG;
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_BROADCOM &&
- PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5805)
+ (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5801 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5802 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5805))
sc->sc_flags |= UBS_FLAGS_KEY | UBS_FLAGS_RNG;
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_BROADCOM &&