1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00
sc_child isn't used on FreeBSD, so ifdef it out in a way that is
NetBSD mergeable.
This commit is contained in:
Warner Losh 2005-01-11 07:34:13 +00:00
parent 774363d3cf
commit ad3142eda4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140047
3 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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 *);