diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-12-14 18:44:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-12-14 18:44:24 +0000 |
commit | 7fff98be0a3be6b20a9ae21fd93e0e8117c9754d (patch) | |
tree | 3b06c801fc63fe9303b0380cec37e26bb336767d | |
parent | d2b83012942d2f5bbb54314202829d0ecbd000fe (diff) |
use the dying flag in struct usbd_bus instead of a private dying flag
in *hci_softc
-rw-r--r-- | sys/arch/loongson/dev/ohci_voyager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/loongson/dev/ohci_voyager.c b/sys/arch/loongson/dev/ohci_voyager.c index be97de1054b..64adbb070c0 100644 --- a/sys/arch/loongson/dev/ohci_voyager.c +++ b/sys/arch/loongson/dev/ohci_voyager.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ohci_voyager.c,v 1.3 2010/09/07 16:21:38 deraadt Exp $ */ +/* $OpenBSD: ohci_voyager.c,v 1.4 2010/12/14 18:44:23 miod Exp $ */ /* OpenBSD: ohci_pci.c,v 1.33 2008/06/26 05:42:17 ray Exp */ /* $NetBSD: ohci_pci.c,v 1.23 2002/10/02 16:51:47 thorpej Exp $ */ @@ -149,7 +149,7 @@ ohci_voyager_attach(struct device *parent, struct device *self, void *aux) } /* Ignore interrupts for now */ - sc->sc.sc_dying = 1; + sc->sc.sc_bus.dying = 1; config_defer(self, ohci_voyager_attach_deferred); @@ -165,7 +165,7 @@ ohci_voyager_attach_deferred(struct device *self) s = splusb(); - sc->sc.sc_dying = 0; + sc->sc.sc_bus.dying = 0; r = ohci_init(&sc->sc); if (r != USBD_NORMAL_COMPLETION) { |