summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-09-04 15:37:30 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-09-04 15:37:30 +0000
commit806e03bf7808d1e99037ad71789f1890a8021583 (patch)
treec7a38afb42e34d43de2af31d8d9041ba64d25773 /sys/dev
parent411c627091314898c008c85ce58e7d0477188a43 (diff)
Treat 5822 the same as 5820
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ubsec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index b6110440a7a..8711a385294 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.110 2002/09/04 04:21:19 jason Exp $ */
+/* $OpenBSD: ubsec.c,v 1.111 2002/09/04 15:37:29 jason Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -185,7 +185,8 @@ 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_5820))
+ (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5820 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_5822))
sc->sc_flags |= UBS_FLAGS_KEY | UBS_FLAGS_RNG |
UBS_FLAGS_LONGCTX | UBS_FLAGS_HWNORM | UBS_FLAGS_BIGKEY;