diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-12-14 16:13:17 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-12-14 16:13:17 +0000 |
commit | a54ff759e6e965ee561cb1b0d2114e54720fbd15 (patch) | |
tree | cf90afffd2607a38e35eb36567fb19e263c8d76d /sys/dev/pci/uhci_pci.c | |
parent | cf4bd825e349f7de65cd8a7b7c7ea3e5ffe72531 (diff) |
use the dying flag in struct usbd_bus instead of a private dying flag
in *hci_softc
ok miod@, krw@
Diffstat (limited to 'sys/dev/pci/uhci_pci.c')
-rw-r--r-- | sys/dev/pci/uhci_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/uhci_pci.c b/sys/dev/pci/uhci_pci.c index 1ca8ec4b610..77a657c9a99 100644 --- a/sys/dev/pci/uhci_pci.c +++ b/sys/dev/pci/uhci_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhci_pci.c,v 1.30 2010/10/20 20:34:19 mk Exp $ */ +/* $OpenBSD: uhci_pci.c,v 1.31 2010/12/14 16:13:16 jakemsr Exp $ */ /* $NetBSD: uhci_pci.c,v 1.24 2002/10/02 16:51:58 thorpej Exp $ */ /* @@ -182,7 +182,7 @@ uhci_pci_attach(struct device *parent, struct device *self, void *aux) config_defer(self, uhci_pci_attach_deferred); /* Ignore interrupts for now */ - sc->sc.sc_dying = 1; + sc->sc.sc_bus.dying = 1; splx(s); @@ -203,7 +203,7 @@ uhci_pci_attach_deferred(struct device *self) s = splhardusb(); - sc->sc.sc_dying = 0; + sc->sc.sc_bus.dying = 0; r = uhci_init(&sc->sc); if (r != USBD_NORMAL_COMPLETION) { printf("%s: init failed, error=%d\n", devname, r); |