diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-05-11 04:43:43 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-05-11 04:43:43 +0000 |
commit | 853adb8be338de113301d7db3c10058476f3bff7 (patch) | |
tree | 22ce0530d9c01993cdeea67c381fcd31a12fe673 /bsd/drm_irq.h | |
parent | 485b259b4492ed6b7abdf063d1d5cefe01d3a3b0 (diff) |
Merge from FreeBSD-current. Mostly 64-bit cleanliness fixes, but a few
driver interface changes from -current.
Diffstat (limited to 'bsd/drm_irq.h')
-rw-r--r-- | bsd/drm_irq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd/drm_irq.h b/bsd/drm_irq.h index 418e697e..eec6ab93 100644 --- a/bsd/drm_irq.h +++ b/bsd/drm_irq.h @@ -97,8 +97,8 @@ int DRM(irq_install)(drm_device_t *dev) /* Install handler */ #ifdef __FreeBSD__ dev->irqrid = 0; - dev->irqr = bus_alloc_resource(dev->device, SYS_RES_IRQ, &dev->irqrid, - 0, ~0, 1, RF_SHAREABLE); + dev->irqr = bus_alloc_resource_any(dev->device, SYS_RES_IRQ, + &dev->irqrid, RF_SHAREABLE); if (!dev->irqr) { retcode = ENOENT; goto err; |