diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-28 17:36:36 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-28 17:36:36 +0000 |
commit | af6fb4f3d2a2950c2a2c95bc3148ee16510149de (patch) | |
tree | 3036722a60a7a9ddd5122172e56736f3e128664b /sys/dev/usb/usb_process.h | |
parent | d691011026fb63bdede5854aaa7547c7c019cd38 (diff) | |
download | FreeBSD-src-af6fb4f3d2a2950c2a2c95bc3148ee16510149de.zip FreeBSD-src-af6fb4f3d2a2950c2a2c95bc3148ee16510149de.tar.gz |
s/usb2_/usb_/ on all C structs for the USB stack.
Diffstat (limited to 'sys/dev/usb/usb_process.h')
-rw-r--r-- | sys/dev/usb/usb_process.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/usb/usb_process.h b/sys/dev/usb/usb_process.h index c151f66..88e0b1b 100644 --- a/sys/dev/usb/usb_process.h +++ b/sys/dev/usb/usb_process.h @@ -39,17 +39,17 @@ /* structure prototypes */ -struct usb2_proc_msg; +struct usb_proc_msg; /* typedefs */ -typedef void (usb2_proc_callback_t)(struct usb2_proc_msg *hdr); +typedef void (usb2_proc_callback_t)(struct usb_proc_msg *hdr); /* * The following structure defines the USB process message header. */ -struct usb2_proc_msg { - TAILQ_ENTRY(usb2_proc_msg) pm_qentry; +struct usb_proc_msg { + TAILQ_ENTRY(usb_proc_msg) pm_qentry; usb2_proc_callback_t *pm_callback; usb2_size_t pm_num; }; @@ -57,8 +57,8 @@ struct usb2_proc_msg { /* * The following structure defines the USB process. */ -struct usb2_process { - TAILQ_HEAD(, usb2_proc_msg) up_qhead; +struct usb_process { + TAILQ_HEAD(, usb_proc_msg) up_qhead; struct cv up_cv; struct cv up_drain; @@ -77,12 +77,12 @@ struct usb2_process { /* prototypes */ -uint8_t usb2_proc_is_gone(struct usb2_process *up); -int usb2_proc_create(struct usb2_process *up, struct mtx *p_mtx, +uint8_t usb2_proc_is_gone(struct usb_process *up); +int usb2_proc_create(struct usb_process *up, struct mtx *p_mtx, const char *pmesg, uint8_t prio); -void usb2_proc_drain(struct usb2_process *up); -void usb2_proc_mwait(struct usb2_process *up, void *pm0, void *pm1); -void usb2_proc_free(struct usb2_process *up); -void *usb2_proc_msignal(struct usb2_process *up, void *pm0, void *pm1); +void usb2_proc_drain(struct usb_process *up); +void usb2_proc_mwait(struct usb_process *up, void *pm0, void *pm1); +void usb2_proc_free(struct usb_process *up); +void *usb2_proc_msignal(struct usb_process *up, void *pm0, void *pm1); #endif /* _USB2_PROCESS_H_ */ |