ryo shimizu: gscsehci doesn't work.

Correctly initialize softc. Fix from PR port-i386/39109.
This commit is contained in:
cegger 2008-07-06 08:01:15 +00:00
parent 614a789bec
commit 02018c5980
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: gcscehci.c,v 1.3 2008/04/28 20:23:25 martin Exp $ */
/* $NetBSD: gcscehci.c,v 1.4 2008/07/06 08:01:15 cegger Exp $ */
/*
* Copyright (c) 2001, 2002, 2007 The NetBSD Foundation, Inc.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gcscehci.c,v 1.3 2008/04/28 20:23:25 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: gcscehci.c,v 1.4 2008/07/06 08:01:15 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -105,7 +105,7 @@ gcscehci_attach(struct device *parent, struct device *self, void *aux)
struct usb_pci *up;
sc->sc.sc_dev = self;
sc->sc.sc_bus.hci_private = self;
sc->sc.sc_bus.hci_private = sc;
aprint_naive(": USB controller\n");