summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/amd.c3
-rw-r--r--sys/pci/ncr.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/pci/amd.c b/sys/pci/amd.c
index 8bd550b..302691d 100644
--- a/sys/pci/amd.c
+++ b/sys/pci/amd.c
@@ -2372,7 +2372,8 @@ amd_attach(device_t dev)
irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
RF_SHAREABLE | RF_ACTIVE);
if (irqres == NULL ||
- bus_setup_intr(dev, irqres, INTR_TYPE_CAM, amd_intr, amd, &ih)) {
+ bus_setup_intr(dev, irqres, INTR_TYPE_CAM | INTR_ENTROPY,
+ amd_intr, amd, &ih)) {
if (bootverbose)
printf("amd%d: unable to register interrupt handler!\n",
unit);
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index fd5d9c0..08f8381 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -3770,7 +3770,7 @@ ncr_attach (device_t dev)
device_printf(dev,
"interruptless mode: reduced performance.\n");
} else {
- bus_setup_intr(dev, np->irq_res, INTR_TYPE_CAM,
+ bus_setup_intr(dev, np->irq_res, INTR_TYPE_CAM | INTR_ENTROPY,
ncr_intr, np, &np->irq_handle);
}
OpenPOWER on IntegriCloud