freebsd-dev/sys
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
..
alpha Typo 1999-11-16 22:02:16 +00:00
amd64 Segment registers can be read(write) to(from) memory locations as well as 1999-11-15 19:45:19 +00:00
boot Add the USB modules. 1999-11-16 22:00:46 +00:00
cam Fix a couple of boo-boos in the last delta. 1999-11-17 17:11:21 +00:00
coda Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00
compat simplify check for device. 1999-11-08 09:59:17 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Make "-mpreferred-stack-boundary=2" the default on the i386. 1999-11-17 07:30:35 +00:00
contrib Finding root devices is a much more sane thing now. 1999-11-10 10:50:51 +00:00
ddb Remove unused macro definition. 1999-11-02 22:40:15 +00:00
dev Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
fs Make proc/*/cmdline use the cached argv if available. 1999-11-17 21:35:07 +00:00
geom Remove the devsw magic from DEV_MODULE() 1999-11-07 10:01:17 +00:00
gnu Fix __asm__ clobber list abuse. 1999-11-15 23:16:06 +00:00
i4b Disable old PCCARD_MODULE code. 1999-10-29 17:28:09 +00:00
i386 Add option NETGRAPH_KSOCKET. 1999-11-16 23:30:05 +00:00
isa Reorganise the code so that I can add custom identify drivers dynamically 1999-11-11 16:48:00 +00:00
isofs/cd9660 Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
kern modfind(char *) -> modfind(const char *) 1999-11-17 21:32:40 +00:00
libkern Move strto{u}[ql]() into their own libkern files. 1999-11-03 18:20:59 +00:00
miscfs Make proc/*/cmdline use the cached argv if available. 1999-11-17 21:35:07 +00:00
modules Remove -O from CFLAGS 1999-11-17 01:40:24 +00:00
msdosfs Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
net Add some more comments to the sl_compress_tcp() function. 1999-11-15 20:17:04 +00:00
netatalk Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
netatm Modify to work with the new sbreserve(). 1999-10-09 23:24:59 +00:00
netgraph When allocating a new PKTHDR mbuf, always set m->m_pkthdr.rcvif = NULL. 1999-11-17 17:41:22 +00:00
netinet The logic for blackhole processing does not free mbufs if the 1999-11-17 20:57:49 +00:00
netinet6 KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
netipx
netkey
netnatm
netncp Change structure field named 'toupper' to 'to_upper' to avoid conflict 1999-11-02 22:46:42 +00:00
netns $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfs Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00
nfsclient Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00
nfsserver Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00
ntfs Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
nwfs Change structure field named 'toupper' to 'to_upper' to avoid conflict 1999-11-02 22:46:42 +00:00
pc98 Sync with sys/i386/isa/pcaudio.c revision 1.57. 1999-11-16 12:21:14 +00:00
pccard I'm told this makes more laptops work with the new attachment code. 1999-10-29 04:41:07 +00:00
pci Do timeouts in terms of hz 1999-11-17 21:40:14 +00:00
posix4
powerpc Re-organise the code which manages the owner of the FP state (fpcurproc). 1999-11-10 21:14:25 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 useracc() the prequel: 1999-10-29 18:09:36 +00:00
sys "b_unused1" was. 1999-11-17 21:43:00 +00:00
tools Moderately hacked pccard code from newconfig. It is somewhat in 1999-10-26 06:52:31 +00:00
ufs Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00
vm Two changes: (1) Use vm_page_unqueue_nowakeup in vm_page_alloc 1999-11-10 05:23:19 +00:00
Makefile ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00