NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-hpcarm/43780: NetBSD/hpcarm on Jornada 720 panic duringboot.
> sacpcic0 at sacc
More botch?
Index: hpcarm/dev/j720pcic.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcarm/dev/j720pcic.c,v
retrieving revision 1.6
diff -u -p -r1.6 j720pcic.c
--- hpcarm/dev/j720pcic.c 29 May 2009 14:15:45 -0000 1.6
+++ hpcarm/dev/j720pcic.c 19 Aug 2010 14:57:54 -0000
@@ -99,9 +99,14 @@ sacpcic_match(device_t parent, cfdata_t
static void
sacpcic_attach(device_t parent, device_t self, void *aux)
{
+ struct sacc_softc *psc;
+ struct sacpcic_softc *sc;
- sacpcic_attach_common(device_private(parent),
- device_private(self), aux, j720_socket_setup);
+ psc = device_private(parent);
+ sc = device_private(self);
+ sc->sc_pc.sc_dev = self;
+
+ sacpcic_attach_common(psc, sc, aux, j720_socket_setup);
}
static void
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index