aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hptmv/entry.c
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2016-02-19 03:37:56 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2016-02-19 03:37:56 +0000
commit43cd61606b6bfae52bb09856277751103bfa28fd (patch)
treeb91ec9765a2b284626335ef2c2e8df6e16a2c19f /sys/dev/hptmv/entry.c
parent277db305768ad6765ed735ced43360000c282ed6 (diff)
Notes
Diffstat (limited to 'sys/dev/hptmv/entry.c')
-rw-r--r--sys/dev/hptmv/entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hptmv/entry.c b/sys/dev/hptmv/entry.c
index 8eabb2d25974..83cda81f022e 100644
--- a/sys/dev/hptmv/entry.c
+++ b/sys/dev/hptmv/entry.c
@@ -1990,7 +1990,7 @@ hpt_attach(device_t dev)
return rid;
rid = 0;
- if ((pAdapter->hpt_irq = bus_alloc_resource(pAdapter->hpt_dev, SYS_RES_IRQ, &rid, 0, ~0ul, 1, RF_SHAREABLE | RF_ACTIVE)) == NULL)
+ if ((pAdapter->hpt_irq = bus_alloc_resource_any(pAdapter->hpt_dev, SYS_RES_IRQ, &rid, RF_SHAREABLE | RF_ACTIVE)) == NULL)
{
hpt_printk(("can't allocate interrupt\n"));
return(ENXIO);