diff options
author | 2013-04-18 08:44:39 +0000 | |
---|---|---|
committer | 2013-04-18 08:44:39 +0000 | |
commit | 4c83a093ab8384e6cf9583dc8d09b5b09589a72b (patch) | |
tree | b6914ae751ea96aeceb1d9a7a065e5b9df0941e6 /sys/dev/usb/usb.c | |
parent | test sshd ChrootDirectory+internal-sftp; feedback & ok dtucker@ (diff) | |
download | wireguard-openbsd-4c83a093ab8384e6cf9583dc8d09b5b09589a72b.tar.xz wireguard-openbsd-4c83a093ab8384e6cf9583dc8d09b5b09589a72b.zip |
Move over function prototypes from ubsdi.h to usb.c which just get used
there. Some spacing while here.
Suggested and ok mpi@
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index ca67a997c2f..e882ae4110f 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usb.c,v 1.87 2013/04/17 11:53:10 mglocker Exp $ */ +/* $OpenBSD: usb.c,v 1.88 2013/04/18 08:44:39 mglocker Exp $ */ /* $NetBSD: usb.c,v 1.77 2003/01/01 00:10:26 thorpej Exp $ */ /* @@ -103,20 +103,23 @@ TAILQ_HEAD(, usb_task) usb_generic_tasks; int usb_run_tasks, usb_run_abort_tasks; int explore_pending; - -void usb_explore(void *); -void usb_create_task_threads(void *); -void usb_task_thread(void *); -struct proc *usb_task_thread_proc = NULL; -void usb_abort_task_thread(void *); -struct proc *usb_abort_task_thread_proc = NULL; - const char *usbrev_str[] = USBREV_STR; -int usb_match(struct device *, void *, void *); -void usb_attach(struct device *, struct device *, void *); -int usb_detach(struct device *, int); -int usb_activate(struct device *, int); +void usb_explore(void *); +void usb_create_task_threads(void *); +void usb_task_thread(void *); +struct proc *usb_task_thread_proc = NULL; +void usb_abort_task_thread(void *); +struct proc *usb_abort_task_thread_proc = NULL; + +void usbd_fill_di_task(void *); +void usbd_fill_udc_task(void *); +void usbd_fill_udf_task(void *); + +int usb_match(struct device *, void *, void *); +void usb_attach(struct device *, struct device *, void *); +int usb_detach(struct device *, int); +int usb_activate(struct device *, int); struct cfdriver usb_cd = { NULL, "usb", DV_DULL |