From ca15c5b5369d043d82c398716d617f103c4cb74c Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 4 Apr 2008 17:44:43 +0000 Subject: [PATCH] add some missing softc initialisation necessary after the device/softc split, approved by Chris Gilbert --- sys/arch/arm/xscale/pxa2x0_ohci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/arm/xscale/pxa2x0_ohci.c b/sys/arch/arm/xscale/pxa2x0_ohci.c index aa0a1a2f9ec3..bc5912607579 100644 --- a/sys/arch/arm/xscale/pxa2x0_ohci.c +++ b/sys/arch/arm/xscale/pxa2x0_ohci.c @@ -1,4 +1,4 @@ -/* $NetBSD: pxa2x0_ohci.c,v 1.2 2008/03/31 23:18:49 chris Exp $ */ +/* $NetBSD: pxa2x0_ohci.c,v 1.3 2008/04/04 17:44:43 drochner Exp $ */ /* $OpenBSD: pxa2x0_ohci.c,v 1.19 2005/04/08 02:32:54 dlg Exp $ */ /* @@ -82,6 +82,7 @@ pxaohci_attach(device_t parent, device_t self, void *aux) sc->sc.sc_size = 0; sc->sc_ih = NULL; sc->sc.sc_dev = self; + sc->sc.sc_bus.hci_private = sc; /* Map I/O space */ if (bus_space_map(sc->sc.iot, PXA2X0_USBHC_BASE, PXA2X0_USBHC_SIZE, 0,