Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm/dist/bsd-core use pa_intrpin instead of...



details:   https://anonhg.NetBSD.org/src/rev/5233731a79d5
branches:  trunk
changeset: 762744:5233731a79d5
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Feb 27 01:02:39 2011 +0000

description:
use pa_intrpin instead of pa_intrline for irq#, since drivers treat irq=0
as "no irq" and this matches pa_intrpin encoding

diffstat:

 sys/external/bsd/drm/dist/bsd-core/drm_drv.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 31b8bc11fb35 -r 5233731a79d5 sys/external/bsd/drm/dist/bsd-core/drm_drv.c
--- a/sys/external/bsd/drm/dist/bsd-core/drm_drv.c      Sat Feb 26 23:27:49 2011 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/drm_drv.c      Sun Feb 27 01:02:39 2011 +0000
@@ -401,7 +401,7 @@
 
        memcpy(&dev->pa, pa, sizeof(dev->pa));
 
-       dev->irq = pa->pa_intrline;
+       dev->irq = pa->pa_intrpin;
        dev->pci_domain = parent_unit;
        dev->pci_bus = pa->pa_bus;
        dev->pci_slot = pa->pa_device;



Home | Main Index | Thread Index | Old Index