summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-02-18 18:02:15 +0000
committermarkm <markm@FreeBSD.org>2001-02-18 18:02:15 +0000
commit899b5e1ead35abbb5b0f2201013f0fe220baf5b9 (patch)
treeadd3f3aecce20d13e85884ed52eeeaac24623cf7 /sys/dev/aic7xxx
parent3f5cb3707a0bb5bcd34b9bc46e3c3dadd7b2cb34 (diff)
downloadFreeBSD-src-899b5e1ead35abbb5b0f2201013f0fe220baf5b9.zip
FreeBSD-src-899b5e1ead35abbb5b0f2201013f0fe220baf5b9.tar.gz
Set the interrupt-harvesting bit for those hardware items that I
can actually test. Nothing will happen until the sysadmin turns on intr-harvesting on her computer.
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r--sys/dev/aic7xxx/aic7xxx_freebsd.c2
-rw-r--r--sys/dev/aic7xxx/aic7xxx_osm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_freebsd.c b/sys/dev/aic7xxx/aic7xxx_freebsd.c
index 32ba708..c5f9339 100644
--- a/sys/dev/aic7xxx/aic7xxx_freebsd.c
+++ b/sys/dev/aic7xxx/aic7xxx_freebsd.c
@@ -111,7 +111,7 @@ ahc_attach(struct ahc_softc *ahc)
ahc_lock(ahc, &s);
/* Hook up our interrupt handler */
if ((error = bus_setup_intr(ahc->dev_softc, ahc->platform_data->irq,
- INTR_TYPE_CAM, ahc_platform_intr, ahc,
+ INTR_TYPE_CAM|INTR_ENTROPY, ahc_platform_intr, ahc,
&ahc->platform_data->ih)) != 0) {
device_printf(ahc->dev_softc, "bus_setup_intr() failed: %d\n",
error);
diff --git a/sys/dev/aic7xxx/aic7xxx_osm.c b/sys/dev/aic7xxx/aic7xxx_osm.c
index 32ba708..c5f9339 100644
--- a/sys/dev/aic7xxx/aic7xxx_osm.c
+++ b/sys/dev/aic7xxx/aic7xxx_osm.c
@@ -111,7 +111,7 @@ ahc_attach(struct ahc_softc *ahc)
ahc_lock(ahc, &s);
/* Hook up our interrupt handler */
if ((error = bus_setup_intr(ahc->dev_softc, ahc->platform_data->irq,
- INTR_TYPE_CAM, ahc_platform_intr, ahc,
+ INTR_TYPE_CAM|INTR_ENTROPY, ahc_platform_intr, ahc,
&ahc->platform_data->ih)) != 0) {
device_printf(ahc->dev_softc, "bus_setup_intr() failed: %d\n",
error);
OpenPOWER on IntegriCloud