freebsd-nq/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 Move the declaration of panic() from sys/systm.h to sys/param.h. 1999-09-26 18:19:49 +00:00
aha MIN unused, so kill it 1999-10-25 04:28:53 +00:00
ahb $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
aic Bug fix: allow reset device command to complete. 1999-10-28 05:28:00 +00:00
aic7xxx Clear the SELINGO bit after a selection timeout occurs. SELINGO is 1999-09-20 19:04:22 +00:00
amd Properly set the alignment argument to bus_dma_tag_create(). If we 1999-08-16 01:52:21 +00:00
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 * Add struct resource_list* argument to resource_list_alloc and 1999-10-12 21:35:51 +00:00
ccd Remove the devsw magic from DEV_MODULE() 1999-11-07 10:01:17 +00:00
cs Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
cy Introduce ttyread() and ttywrite() which do the canonical thing. 1999-09-28 11:45:31 +00:00
de Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
dec $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dgb Introduce ttyread() and ttywrite() which do the canonical thing. 1999-09-28 11:45:31 +00:00
dpt Switch over to the new location in sys/dev/dpt. 1999-10-09 03:46:28 +00:00
ed fix misordering of two lines in this file. 1999-11-02 02:19:24 +00:00
eisa Delete unneeded #include 1999-10-11 14:42:33 +00:00
en remove unused #include, add $FreeBSD$ 1999-10-11 19:14:37 +00:00
ep Add (untested) support for the 3C562D/3C563D. I have been unable to 1999-10-29 06:27:07 +00:00
ex Fix bus_setup_intr(); I changed exintr() to take a pointer to ex_softc 1999-11-03 15:45:14 +00:00
fb Check whether init and term are actually given 1999-10-05 20:32:53 +00:00
fdc Add code to support ISA PnP. 1999-11-11 08:48:40 +00:00
fe Make release is now falling over in if_fe.c due to Warner's pccard changes: 1999-10-25 17:04:17 +00:00
fxp Make the fxp driver work on alpha, rather than panic the machine on boot 1999-09-30 19:03:12 +00:00
hea $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
hfa Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
ic $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ida Call id_drvinit() from attach, not probe as the OS hasn't necessarily 1999-11-08 07:56:10 +00:00
ie Hid silly unknown board types message behind if (bootverbose). This 1999-10-11 18:53:59 +00:00
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 Oh foo. I got carried away. :-( "joy.h" is used to size an array. 1999-10-11 16:09:00 +00:00
kbd Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
lnc Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
mc146818 Major changes to the generic device framework for FreeBSD/alpha: 1998-06-14 13:46:10 +00:00
mca resource_list_{alloc,release}() takes a struct resource_list * as its 1999-11-06 07:38:01 +00:00
mcd Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
md remove unused #include 1999-10-11 19:16:54 +00:00
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 - Remove cdevsw_add(). 1999-10-06 13:03:09 +00:00
pccard Disable old PCCARD_MODULE code. 1999-10-29 17:28:09 +00:00
pcf Trim some unused #includes 1999-10-11 15:00:09 +00:00
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 Make these compile. Next step is to connect newbus plumbing. 1999-10-27 05:24:09 +00:00
pcm this is a full fix for writes not aligned to the sample size selected. 1999-11-15 23:57:33 +00:00
pdq Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
ppbus Print more verbose debugging output 1999-10-05 20:29:00 +00:00
ppc $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rc Introduce ttyread() and ttywrite() which do the canonical thing. 1999-09-28 11:45:31 +00:00
rp Introduce ttyread() and ttywrite() which do the canonical thing. 1999-09-28 11:45:31 +00:00
scd Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
sf Update the Starfire driver comments and man page to include the URL of 1999-09-26 18:35:30 +00:00
si Zap cdevsw_add() - the make_dev's take care of it and don't use 1999-10-08 18:27:20 +00:00
sio Last change to pccard_nbk now obviates the need to check the name of 1999-10-28 05:06:14 +00:00
sk Call sk_start() at the end of sk_intr() if there's packets in the 1999-09-25 04:50:27 +00:00
smbus Use (temporarily) cdevsw_add() so we can change from DEV_DRIVER_MODULE() 1999-11-08 07:37:15 +00:00
snp Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
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 As suggested by phk, unconditionalize BPF support in these drivers. Since 1999-09-23 03:32:57 +00:00
tx Added code to enable BusMaster operations. 1999-10-29 09:56:52 +00:00
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 Change contigmalloc() lower memory bound from 1MB to 0 to improve 1999-09-25 17:29:02 +00:00
vx Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
wi Disable old PCCARD_MODULE code. 1999-10-29 17:28:09 +00:00
wl Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
xe Disable old PCCARD_MODULE code. 1999-10-29 17:28:09 +00:00