summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-05-16 02:54:03 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-05-16 02:54:03 +0000
commit6988d5e220bd608ba319da0b339bfba04dba556b (patch)
treea964c6ed627a7946c2e2406fab9d6bb3c1018bc3 /sys
parent5f1172106b4b654d9d5ded2dc9eb8f27c2f86ac5 (diff)
Re-enable RNG on the 5601 (it needs to be disabled on some 5805 variants,
but I'm not sure which revisions yet).
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/ubsec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index a8e2ebec4b7..9f960f5d747 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.100 2002/05/15 15:15:41 jason Exp $ */
+/* $OpenBSD: ubsec.c,v 1.101 2002/05/16 02:54:02 jason Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -137,7 +137,7 @@ ubsec_probe(parent, match, aux)
void *match;
void *aux;
{
- struct pci_attach_args *pa = (struct pci_attach_args *) aux;
+ struct pci_attach_args *pa = (struct pci_attach_args *)aux;
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_BLUESTEEL &&
(PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BLUESTEEL_5501 ||
@@ -175,7 +175,7 @@ ubsec_attach(parent, self, aux)
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_BLUESTEEL &&
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BLUESTEEL_5601)
- sc->sc_flags |= UBS_FLAGS_KEY;
+ 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)