freebsd-nq/sys/dev/usb
Nick Hibma 3241be7550 Synchronisation with NetBSD as of 1999/11/16:
Cleaning up the code:
- Declare many functions static
- Change variable names to make them more self explanatory
- Change usbd_request_handle -> usbd_xfer_handle
- Syntactical changes
- Remove some unused code
- Other KNF changes

Interrupt context handling
- Change delay to usbd_delay_ms were possible (takes polling mode into
  account)
- Change detection mechanism for interrupt context

Add support for pre-allocation DMA-able memory by device driver

Add preliminary support for isochronous to the UHCI driver (not for OHCI
yet).

usb.c, uhci.c, ohci.c
- Initial attempt at detachable USB host controllers
- Handle the use_polling flag with a lttle more care and only set it if
we are cold booting.

usb.c, uhci.c ohci.c, usbdi.c usbdi_util.c usb_subr.c
- Make sure an aborted pipe is marked as not running.
- Start queued request in the right order.
- Insert some more DIAGNOSTIC sanity checks.
- Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN.

usb.c, usb_subr.c
- Add an event mechanism so that a userland process can watch devices
  come and go.

ohci.c
- Handle the case when a USB transfer is so long that it crosses two
  page (4K) boundaries.  OHCI cannot do that with a single TD so we make
  a chain.

ulpt.c
- Use a bigger buffer when transferring data.
- Pre-allocate the DMA buffer.  This makes the driver slightly more
  efficient.
- Comment out the GET_DEVICE_ID code, because for some unknown reason it
  causes printing to fail sometimes.

usb.h
- Add a macro to extract the isoc type.
- Add a macro to check whether the routine has been entered after splusb
  and if not, complain.

usbdi.c
- Fix a glitch in dequeueing and aborting requests on interrupt pipes.
- Add a flag in the request to determine if the data copying is done by
  the driver or the usbdi layer.
1999-11-17 22:33:51 +00:00
..
FILES Major synchronisation with the NetBSD USB stack: 1999-10-07 19:26:38 +00:00
hid.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
hid.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
ohci_pci.c
ohci.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
ohcireg.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
ohcivar.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
ugen.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
uhci_pci.c remove the use of uhci_reset to wake up the controller after 1999-10-07 18:56:10 +00:00
uhci.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
uhcireg.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
uhcivar.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
uhid.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
uhub.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
ukbd.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
ulpt.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
umass.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
umodem.c Move the include of device.h into the NetBSD specific section. 1999-10-08 07:38:11 +00:00
ums.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usb_if.m
usb_mem.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usb_port.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usb_quirks.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usb_quirks.h Add many new devicelabels 1999-11-12 23:31:03 +00:00
usb_subr.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usb.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usb.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbcdc.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbdevs_data.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbdevs.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbdi_util.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbdi_util.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbdi.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbdi.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbdivar.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbhid.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00