diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-11-21 15:23:45 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-11-21 15:23:45 +0000 |
commit | eedbd6a46f0a07cc17a7854995f1d81a5e20a255 (patch) | |
tree | 300cd2a89d16f93bc479dab0c6735dfc7ffc5f05 /lib/csu/sh | |
parent | e8d14eb09d29cad6a59818b7be379efa1fde2348 (diff) |
The drm irq stuff isn't actually used on OpenBSD. Using the PCI device
interrupt line register as the irq number doesn't really work as the contents
of that register might be 0, and the code has checks for non-zero irq
numbers in places. Insteadmake drm_dev_to_irq() return -1, which is an
obviously bogus, but non-zero value.
This should fix inteldrm(4) on recent Apple hardware.
Diffstat (limited to 'lib/csu/sh')
0 files changed, 0 insertions, 0 deletions