summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-09 03:11:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-09 03:11:39 +0000
commit6a9115d581e87c74d4086f45d9734a7c4f52fe7b (patch)
tree93706ee143077c3eb77dfd0ed11d50e48f393d39 /sys/dev/pci
parent33db60b6ebbdbb0db8c411f47d309a2606bf97d6 (diff)
be way more sure that software cannot be used
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/hifn7751.c4
-rw-r--r--sys/dev/pci/ises.c4
-rw-r--r--sys/dev/pci/ubsec.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index ba3b46a8339..529fce095f3 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.106 2001/11/06 19:53:19 miod Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.107 2001/11/09 03:11:38 deraadt Exp $ */
/*
* Invertex AEON / Hifn 7751 driver
@@ -282,7 +282,7 @@ hifn_attach(parent, self, aux)
printf(", %d%cB %cram, %s\n", rseg, rbase,
sc->sc_drammodel ? 'd' : 's', intrstr);
- sc->sc_cid = crypto_get_driverid();
+ sc->sc_cid = crypto_get_driverid(0);
if (sc->sc_cid < 0)
goto fail_intr;
diff --git a/sys/dev/pci/ises.c b/sys/dev/pci/ises.c
index 6d3a2dc5b52..32a4f5450f1 100644
--- a/sys/dev/pci/ises.c
+++ b/sys/dev/pci/ises.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ises.c,v 1.17 2001/11/05 17:25:58 art Exp $ */
+/* $OpenBSD: ises.c,v 1.18 2001/11/09 03:11:38 deraadt Exp $ */
/*
* Copyright (c) 2000, 2001 Håkan Olsson (ho@crt.se)
@@ -245,7 +245,7 @@ ises_attach(struct device *parent, struct device *self, void *aux)
bzero(&isesstats, sizeof(isesstats));
- sc->sc_cid = crypto_get_driverid();
+ sc->sc_cid = crypto_get_driverid(0);
if (sc->sc_cid < 0)
goto fail;
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index 7d2aa87be86..d7cdb8f2afb 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.72 2001/11/06 19:53:19 miod Exp $ */
+/* $OpenBSD: ubsec.c,v 1.73 2001/11/09 03:11:38 deraadt Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -183,7 +183,7 @@ ubsec_attach(parent, self, aux)
return;
}
- sc->sc_cid = crypto_get_driverid();
+ sc->sc_cid = crypto_get_driverid(0);
if (sc->sc_cid < 0) {
pci_intr_disestablish(pc, sc->sc_ih);
bus_space_unmap(sc->sc_st, sc->sc_sh, iosize);