mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
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:
parent
10b1fde07f
commit
7547eefdf3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72670
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user