freebsd-dev/sys/dev
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
..
advansys
aha
ahb
aic
aic7xxx
amd
amr Don't print the chipset value; it's not useful. 1999-11-02 03:24:09 +00:00
ar User netgraph typedefs for methods 1999-11-01 10:09:34 +00:00
ata Dont listen to disks that say they can only do 0 sector transfers. 1999-11-10 19:37:00 +00:00
atkbdc Use DEVICE_MODULE() directly instead of DEV_DRIVER_MODULE. psm.c uses 1999-11-08 07:29:23 +00:00
bktr Update to driver 2.05 1999-11-13 14:54:00 +00:00
buslogic
ccd Remove the devsw magic from DEV_MODULE() 1999-11-07 10:01:17 +00:00
cs
cy
de
dec
dgb
dpt
ed fix misordering of two lines in this file. 1999-11-02 02:19:24 +00:00
eisa
en
ep
ex Fix bus_setup_intr(); I changed exintr() to take a pointer to ex_softc 1999-11-03 15:45:14 +00:00
fb
fdc Add code to support ISA PnP. 1999-11-11 08:48:40 +00:00
fe
fxp
hea
hfa
ic
ida Call id_drvinit() from attach, not probe as the OS hasn't necessarily 1999-11-08 07:56:10 +00:00
ie
iicbus Use cdevsw_add() explicitly and DRIVER_MODULE(). 1999-11-08 07:57:03 +00:00
isp Remove calls to alpha_register_pci_scsi(). After Mike's recent boot 1999-11-05 13:10:39 +00:00
joy
kbd
lnc
mc146818
mca resource_list_{alloc,release}() takes a struct resource_list * as its 1999-11-06 07:38:01 +00:00
mcd
md
mii Do some more work on the mxphy pseudo-driver to make it better at media 1999-11-01 17:10:26 +00:00
mlx Correctly compute the block count. In reality, it seems that the 1999-11-02 03:25:24 +00:00
mse
pccard
pcf
pci now that a map's base addr is 64-bits, the alpha multi-hose hack needs 1999-11-03 22:43:03 +00:00
pcic
pcm this is a full fix for writes not aligned to the sample size selected. 1999-11-15 23:57:33 +00:00
pdq
ppbus
ppc
rc
rp
scd
sf
si
sio
sk
smbus Use (temporarily) cdevsw_add() so we can change from DEV_DRIVER_MODULE() 1999-11-08 07:37:15 +00:00
snp
sound this is a full fix for writes not aligned to the sample size selected. 1999-11-15 23:57:33 +00:00
speaker Move isfoo() and friends to the newly created sys/ctype.h. 1999-11-03 17:54:26 +00:00
sr Fix typo in previous commit. 1999-11-02 22:24:41 +00:00
streams Rename remove_dev() to destroy_dev(). 1999-11-08 07:44:01 +00:00
syscons Correctly record the mouse position in the current VTY. 1999-11-09 12:35:36 +00:00
ti
tx
usb Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
vinum Emergency fix to stop world breakage. 1999-11-03 20:04:00 +00:00
vn Remove the devsw magic from DEV_MODULE() 1999-11-07 10:01:17 +00:00
vr
vx
wi
wl
xe