Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/dev Correct rev1.11.



details:   https://anonhg.NetBSD.org/src/rev/7a2f724847c2
branches:  trunk
changeset: 754666:7a2f724847c2
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat May 08 02:48:31 2010 +0000

description:
Correct rev1.11.
Fix panic reported by Yasushi Oshima.

diffstat:

 sys/arch/x68k/dev/slhci_intio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 21fc17b535e0 -r 7a2f724847c2 sys/arch/x68k/dev/slhci_intio.c
--- a/sys/arch/x68k/dev/slhci_intio.c   Sat May 08 02:45:45 2010 +0000
+++ b/sys/arch/x68k/dev/slhci_intio.c   Sat May 08 02:48:31 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: slhci_intio.c,v 1.12 2008/12/18 05:56:42 isaki Exp $   */
+/*     $NetBSD: slhci_intio.c,v 1.13 2010/05/08 02:48:31 isaki Exp $   */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: slhci_intio.c,v 1.12 2008/12/18 05:56:42 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: slhci_intio.c,v 1.13 2010/05/08 02:48:31 isaki Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -121,7 +121,7 @@
        int nc_size;
 
        sc->sc_dev = self;
-       sc->sc_bus.hci_private = self;
+       sc->sc_bus.hci_private = sc;
 
        printf(": Nereid USB\n");
 



Home | Main Index | Thread Index | Old Index