Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa use isa_intr_establish_xname()



details:   https://anonhg.NetBSD.org/src/rev/789653a1e5e2
branches:  trunk
changeset: 831357:789653a1e5e2
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Mar 24 18:34:43 2018 +0000

description:
use isa_intr_establish_xname()

diffstat:

 sys/dev/isa/lpt_isa.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 2e1649ae840a -r 789653a1e5e2 sys/dev/isa/lpt_isa.c
--- a/sys/dev/isa/lpt_isa.c     Sat Mar 24 18:32:13 2018 +0000
+++ b/sys/dev/isa/lpt_isa.c     Sat Mar 24 18:34:43 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lpt_isa.c,v 1.68 2009/11/23 02:13:47 rmind Exp $       */
+/*     $NetBSD: lpt_isa.c,v 1.69 2018/03/24 18:34:43 jdolecek Exp $    */
 
 /*
  * Copyright (c) 1993, 1994 Charles M. Hannum.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lpt_isa.c,v 1.68 2009/11/23 02:13:47 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lpt_isa.c,v 1.69 2018/03/24 18:34:43 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -247,8 +247,8 @@
 
        sc->sc_ic = ia->ia_ic;
        if (sc->sc_irq != -1)
-               lsc->sc_ih = isa_intr_establish(sc->sc_ic, sc->sc_irq,
-                   IST_EDGE, IPL_TTY, lptintr, lsc);
+               lsc->sc_ih = isa_intr_establish_xname(sc->sc_ic, sc->sc_irq,
+                   IST_EDGE, IPL_TTY, lptintr, lsc, device_xname(lsc->sc_dev));
 }
 
 static int



Home | Main Index | Thread Index | Old Index