diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-01-11 07:34:13 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-01-11 07:34:13 +0000 |
| commit | ad3142eda4f934d9940348293082cc1392ce550d (patch) | |
| tree | f71488883fb1e77775541cb7ebc8cbdc20218ebb /sys | |
| parent | 774363d3cfb8bcfaf76d61279bdd3ab3b26df58e (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/usb/ehcivar.h | 3 | ||||
| -rw-r--r-- | sys/dev/usb/ohcivar.h | 2 | ||||
| -rw-r--r-- | sys/dev/usb/uhcivar.h | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/usb/ehcivar.h b/sys/dev/usb/ehcivar.h index 7859646080c8..0639b70f0170 100644 --- a/sys/dev/usb/ehcivar.h +++ b/sys/dev/usb/ehcivar.h @@ -146,8 +146,9 @@ typedef struct ehci_softc { usb_callout_t sc_tmo_pcd; +#if defined(__NetBSD__) || defined(__OpenBSD__) device_ptr_t sc_child; /* /dev/usb# device */ - +#endif char sc_dying; } ehci_softc_t; diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h index f9b05176e0f0..478bcea30dcf 100644 --- a/sys/dev/usb/ohcivar.h +++ b/sys/dev/usb/ohcivar.h @@ -147,7 +147,9 @@ typedef struct ohci_softc { usb_callout_t sc_tmo_rhsc; +#if defined(__NetBSD__) || defined(__OpenBSD__) device_ptr_t sc_child; +#endif char sc_dying; } ohci_softc_t; diff --git a/sys/dev/usb/uhcivar.h b/sys/dev/usb/uhcivar.h index 2ba9d6f06464..80dba663d05d 100644 --- a/sys/dev/usb/uhcivar.h +++ b/sys/dev/usb/uhcivar.h @@ -193,7 +193,9 @@ typedef struct uhci_softc { void *sc_shutdownhook; /* cookie from shutdown hook */ #endif +#if defined(__NetBSD__) || defined(__OpenBSD__) device_ptr_t sc_child; /* /dev/usb# device */ +#endif } uhci_softc_t; usbd_status uhci_init(uhci_softc_t *); |
