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.
This commit is contained in:
Mark Murray 2001-02-18 18:02:15 +00:00
parent 10b1fde07f
commit 7547eefdf3
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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;