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 Make interrupt establishm...
details: https://anonhg.NetBSD.org/src/rev/5f5b24c8c6cb
branches: trunk
changeset: 762924:5f5b24c8c6cb
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Mar 05 21:43:38 2011 +0000
description:
Make interrupt establishment failure be noted like most other PCI drivers do.
diffstat:
sys/external/bsd/drm/dist/bsd-core/drm_irq.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 6bfbb8fa7db6 -r 5f5b24c8c6cb sys/external/bsd/drm/dist/bsd-core/drm_irq.c
--- a/sys/external/bsd/drm/dist/bsd-core/drm_irq.c Sat Mar 05 21:38:34 2011 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/drm_irq.c Sat Mar 05 21:43:38 2011 +0000
@@ -228,6 +228,8 @@
dev->irqh = pci_intr_establish(dev->pa.pa_pc, ih, IPL_TTY,
drm_irq_handler_wrap, dev);
if (!dev->irqh) {
+ aprint_error_dev(dev->device,
+ "couldn't establish interrupt at %s\n", istr);
retcode = ENOENT;
goto err;
}
Home |
Main Index |
Thread Index |
Old Index