NetBSD-5.0.2/sys/dev/usb/TODO

Some things that need to be done:
---------------------------------

High priority:
--------------

On a short control transfer the status phase needs to be executed anyway.

Allow interrupt out endpoints. (USB 1.1)

Fix flow control in ucom (copy from com driver).

Use some encapsulation in the upl driver to allow multiple protocols.

Get the uezcom driver (with Doug Ambrisko's firmware) running.


Bug reports:
------------

Bernd Ernesti's problem: host controller halted with umodem

umass problem with Ricoh flash reader

wskbd for X

mel kravitz's problem, lockups with disk and printer

Aaron's problem: Test aue with ohci.


General:
--------

Figure out why uvisor is so slow.
Try to get specs, and check if Linux driver is really right.

Add lots of bus_dmamap_sync().

Do bandwidth accounting.

Use lock manager locks.

Use the pool allocator for TDs et al.

Throw out more USBDI gunk.

Make hub driver notice transition between self and bus powered state.
Some hubs change the number of available ports on this transition. :(
Handle overcurrent conditions.

Make it possible to open any device in a "generic" way, i.e., like ugen.
Perhaps usbdevfs?

Rotate the QHs for bulk transport to get fairer scheduling.

Change HC drivers to queue multiple request for an endpoint
to get better performance.

Do memory deallocation when HC driver is detached.

uaudio problems:
	mixer names are awful, use some heuristics.
	implement selector units
	debug input
	test with more devices

Stylistic changes:
	use usb_ and usbd_ consistently
	rearrange the contents and names of some files (Nick)

Use splsoftusb() or a thread to deliver callbacks.

Add threads to the Ethernet drivers.

Change what's done at watchdog timeout inb if_{a,c,k}ue.c; what we have
now doesn't work because it's done in an interrupt context.

Factor out the common code from the Ethernet drivers and reuse that.

Get rid of hcpriv.

Keyspan serial driver

Clean up umass driver


Documentation:
--------------

Document device driver API.

Document HC driver API.

Update ugen(4)