summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--sys/dev/aic7xxx/aic7xxx_freebsd.c2
-rw-r--r--sys/dev/aic7xxx/aic7xxx_osm.c2
-rw-r--r--sys/dev/ata/ata-all.c2
3 files changed, 3 insertions, 3 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);
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c
index b57e0bd..b95a93b 100644
--- a/sys/dev/ata/ata-all.c
+++ b/sys/dev/ata/ata-all.c
@@ -887,7 +887,7 @@ ata_attach(device_t dev)
ata_printf(scp, -1, "unable to allocate interrupt\n");
return ENXIO;
}
- if ((error = bus_setup_intr(dev, scp->r_irq, INTR_TYPE_BIO, ata_intr,
+ if ((error = bus_setup_intr(dev, scp->r_irq, INTR_TYPE_BIO|INTR_ENTROPY, ata_intr,
scp, &scp->ih)))
return error;
OpenPOWER on IntegriCloud