summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-08-23 22:02:10 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-08-23 22:02:10 +0000
commit65af78eccc5bedca3ff897af848480adc16b8bd5 (patch)
tree2507d0c1bcadeff73b1768390653ad0cedf17cc7 /sys/dev/usb
parent2bdcb23c17abebb9539fb4890c8783933bdd3de2 (diff)
Todo list and roadmap; from NetBSD.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/FILES45
-rw-r--r--sys/dev/usb/TODO26
2 files changed, 71 insertions, 0 deletions
diff --git a/sys/dev/usb/FILES b/sys/dev/usb/FILES
new file mode 100644
index 00000000000..3b2f0790b9a
--- /dev/null
+++ b/sys/dev/usb/FILES
@@ -0,0 +1,45 @@
+A small roadmap of the USB files:
+
+FILES this file
+Makefile to install .h files
+Makefile.usbdevs to run devlist2h.awk
+TODO just a list of things to do
+devlist2h.awk script to generate usbdevs*.h
+files.usb config inclued file
+hid.c subroutines to parse and access HID data
+hid.h API for hid.c
+ohci.c Host controller driver for OHCI
+ohcireg.h Hardware definitions for OHCI
+ohcivar.h API for ohci.c
+uaudio.c USB audio class driver
+uaudioreg.h and definitions for it
+ugen.c generic driver that can handle access to any USB device
+uhci.c Host controller driver for UHCI
+uhcireg.h Hardware definitions for UHCI
+uhcivar.h API for uhci.c
+uhid.c USB HID class driver
+uhub.c USB hub driver
+ukbd.c USB keyboard driver
+ukbdmap.c wscons key mapping for ukbd
+ukbdvar.h API for ukbd.c
+ulpt.c USB printer class driver
+umodem.c USB modem (CDC ACM) driver
+ums.c USB mouse driver
+usb.c usb (bus) device driver
+usb.h general USB defines
+usb_mem.c memory allocation for DMAable memory
+usb_mem.h API for usb_mem.c
+usb_port.h compatibility defines for different OSs
+usb_quirks.c table of non-conforming USB devices and their problems
+usb_quirks.h API for usb_quirks.c
+usb_subr.c various subroutines used by USB code
+usbcdc.h USB CDC class definitions
+usbdevs data base of known device
+usbdevs.h generated from usbdevs
+usbdevs_data.h generated from usbdevs
+usbdi.c implementation of the USBDI API, which all drivers use
+usbdi.h API for usbdi.c
+usbdi_util.c utilities built on top of usbdi.h
+usbdi_util.h API for usbdi_util.c
+usbdivar.h internal defines and structures for usbdi.c
+usbhid.h USB HID class definitions
diff --git a/sys/dev/usb/TODO b/sys/dev/usb/TODO
new file mode 100644
index 00000000000..d4b43d3a58e
--- /dev/null
+++ b/sys/dev/usb/TODO
@@ -0,0 +1,26 @@
+Some things that need to be done in no particular order:
+--------------------------------------------------------
+
+Implement isochronous transfer mode.
+
+Implement audio driver.
+
+Do bandwidth accounting.
+
+Use lock manager locks.
+
+Use the pool allocator for TDs et al.
+
+Throw out more USBDI gunk.
+
+Port FreeBSD umass driver.
+
+Make hub driver note transition between self and bus powered state.
+Handle overcurrent conditions.
+
+Make it possible to preallocate DMA buffers to avoid calling the
+memory allocator from an interrupt context.
+
+Move memory allocation and copying to HC independent code.
+
+Use a TD chain in ohci.c to allow transfers > 8K.