Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/dev/pci Pull up following revision(s) (requested by m...



details:   https://anonhg.NetBSD.org/src/rev/8668f5de6908
branches:  netbsd-7
changeset: 799506:8668f5de6908
user:      snj <snj%NetBSD.org@localhost>
date:      Thu Jul 30 15:19:07 2015 +0000

description:
Pull up following revision(s) (requested by martin in ticket #887):
        sys/dev/pci/oboe.c: revision 1.43
Pass the device, not the struct softc to config_found().
Avoids a crash at attach time, PR port-i386/50076.

diffstat:

 sys/dev/pci/oboe.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f2637903a1d0 -r 8668f5de6908 sys/dev/pci/oboe.c
--- a/sys/dev/pci/oboe.c        Thu Jul 30 10:23:24 2015 +0000
+++ b/sys/dev/pci/oboe.c        Thu Jul 30 15:19:07 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: oboe.c,v 1.42 2014/03/29 19:28:25 christos Exp $       */
+/*     $NetBSD: oboe.c,v 1.42.4.1 2015/07/30 15:19:07 snj Exp $        */
 
 /*     XXXXFVDL THIS DRIVER IS BROKEN FOR NON-i386 -- vtophys() usage  */
 
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: oboe.c,v 1.42 2014/03/29 19:28:25 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: oboe.c,v 1.42.4.1 2015/07/30 15:19:07 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -238,7 +238,7 @@
 
        oboe_alloc_taskfile(sc);
 
-       sc->sc_child = config_found((void *)sc, &ia, ir_print);
+       sc->sc_child = config_found(self, &ia, ir_print);
 }
 
 static int



Home | Main Index | Thread Index | Old Index