diff options
author | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
commit | d93fbc99166053b75c2eeb69b5cb603cfaf79ec0 (patch) | |
tree | a4f130be4544ce7cfe4afa8c93f996b871433cb8 /sys/dev/usb/uhcivar.h | |
parent | e814d2a0db522b0f163eef55a56d05aa226951f3 (diff) | |
download | FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.zip FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.tar.gz |
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Diffstat (limited to 'sys/dev/usb/uhcivar.h')
-rw-r--r-- | sys/dev/usb/uhcivar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uhcivar.h b/sys/dev/usb/uhcivar.h index 303a429..bea26bc 100644 --- a/sys/dev/usb/uhcivar.h +++ b/sys/dev/usb/uhcivar.h @@ -73,7 +73,7 @@ typedef struct uhci_intr_info { usbd_xfer_handle xfer; uhci_soft_td_t *stdstart; uhci_soft_td_t *stdend; - LIST_ENTRY(uhci_intr_info) list; + LIST_ENTRY(struct uhci_intr_info) list; #if defined(__FreeBSD__) struct callout_handle timeout_handle; #endif /* defined(__FreeBSD__) */ @@ -149,7 +149,7 @@ typedef struct uhci_softc { uhci_soft_td_t *sc_freetds; /* TD free list */ uhci_soft_qh_t *sc_freeqhs; /* QH free list */ - SIMPLEQ_HEAD(, usbd_xfer) sc_free_xfers; /* free xfers */ + SIMPLEQ_HEAD(, struct usbd_xfer) sc_free_xfers; /* free xfers */ u_int8_t sc_addr; /* device address */ u_int8_t sc_conf; /* device configuration */ @@ -157,7 +157,7 @@ typedef struct uhci_softc { char sc_isreset; char sc_suspend; - LIST_HEAD(, uhci_intr_info) sc_intrhead; + LIST_HEAD(, struct uhci_intr_info) sc_intrhead; /* Info for the root hub interrupt channel. */ int sc_ival; /* time between root hug intrs */ |