aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_process.h
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-05-28 17:36:36 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-05-28 17:36:36 +0000
commit760bc48e7ee4471fe04fa5fee89d00bf7d698ddb (patch)
tree3036722a60a7a9ddd5122172e56736f3e128664b /sys/dev/usb/usb_process.h
parent58de945eeb77565ebea70d949ffb610268f7d9ae (diff)
downloadsrc-760bc48e7ee4471fe04fa5fee89d00bf7d698ddb.tar.gz
src-760bc48e7ee4471fe04fa5fee89d00bf7d698ddb.zip
s/usb2_/usb_/ on all C structs for the USB stack.
Notes
Notes: svn path=/head/; revision=192984
Diffstat (limited to 'sys/dev/usb/usb_process.h')
-rw-r--r--sys/dev/usb/usb_process.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/usb/usb_process.h b/sys/dev/usb/usb_process.h
index c151f66b70e9..88e0b1b3bc87 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_ */