bouyer
bc980d7eba
Use SCSI/ATAPI common definition for MODE_{SELECT,SENSE}{,_BIG}. Define
...
functions to send theses commands in scsipi_base.c and use them instead
of ad-hoc commands setups.
2001-05-14 20:35:27 +00:00
thorpej
5274818efc
Switch to USB_USE_SOFTINTR. The callout hack does indeed work
...
fine for systems without generic soft interrupts, even if it is
a little sub-optimal. Consider it a penalty for ports not
implementing a kernel API.
Addresses kern/11957. The PR has been open for 4 months, and
I have work blocked on the continued existence of splimp() in
the networking code.
2001-04-12 01:39:04 +00:00
ichiro
718d1ed83c
add UMCT_DEBUG option
2001-03-28 19:00:39 +00:00
ichiro
2ef094d072
add UPLCOM_DEBUG
2001-03-26 12:40:39 +00:00
augustss
a88f037c70
MAke USB_DEBUG turn on UVISOR_DEBUG.
2001-01-23 17:03:19 +00:00
augustss
e8db629494
Add code to use soft interrupt to handle USB interrupt processing.
...
Don't enable the code since it doesn't work with the kludgy Ethernet drivers.
2001-01-21 02:39:52 +00:00
augustss
35e36fee18
Add USSCANNER_DEBUG
2001-01-11 06:33:51 +00:00
augustss
0a739c7166
A portability define.
2000-12-04 03:38:56 +00:00
augustss
9a10107274
Some OpenBSD defines. From aaron@monkey.org
2000-11-10 13:52:28 +00:00
augustss
e832785e4b
Add USB scanner driver.
...
XXX Not tested yet.
2000-09-23 04:32:23 +00:00
augustss
cf4250b7f3
Add UKBD_DEBUG.
2000-08-24 14:13:38 +00:00
augustss
5218e2a490
Improve some portability items.
2000-06-01 14:37:51 +00:00
augustss
ed9486e158
Bring the coding style into the 80s, i.e., get rid of __P and use
...
ANSI prototypes and declarations.
2000-06-01 14:28:57 +00:00
augustss
30c20f930f
Change my email address.
2000-04-27 15:26:44 +00:00
augustss
219f3c9ccf
More debug.
2000-04-14 14:41:35 +00:00
augustss
d3908431bb
Turn on UVISOR_DEBUG with USB_DEBUG.
2000-03-30 17:04:47 +00:00
augustss
4fe9287221
Two more OpenBSD fixes.
2000-03-30 08:53:30 +00:00
augustss
dd7160dcba
Afew more OpenBSD portability fixes.
2000-03-30 00:18:17 +00:00
augustss
a25e27e1eb
Some OpenBSD portability fixes.
2000-03-29 18:24:52 +00:00
augustss
8456fa4709
Add a flag for umass debugging.
2000-03-27 22:40:48 +00:00
augustss
fc72e72d7d
Change (almost) all static to Static. The symbol `Static' can then be defined
...
to `' or `static' depending on if you want to debug or not.
2000-03-27 12:33:53 +00:00
augustss
0069eba19b
Some cleanup and renaming of the callouts used in USB drivers.
2000-03-24 22:03:28 +00:00
thorpej
fc96443d15
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
augustss
481e8339dc
Change the USB event mechanism to include more information about devices
...
and drivers. Partly from FreeBSD.
2000-02-02 07:33:59 +00:00
augustss
36987ec1cc
Enable AUE_DEBUG the usual way.
2000-01-16 15:36:28 +00:00
augustss
f17d5fe839
Change compat defines a little for power hooks.
2000-01-16 10:38:58 +00:00
augustss
5a91238d5f
Turn on more debugguing flags with USB_DEBUG.
2000-01-16 09:42:36 +00:00
augustss
9647c5b871
Another compat define.
2000-01-16 09:34:18 +00:00
augustss
3386c68b46
Cosmetic changes and some small improvements. From FreeBSD and Nick Hibma.
1999-11-18 23:32:25 +00:00
augustss
b019d68caa
Some minor changes from OpenBSD.
1999-11-16 12:04:28 +00:00
augustss
708b8c75d1
Give uaudio its own debug flag.
1999-10-14 01:18:39 +00:00
augustss
03a522d3c1
Merge in a large batch of changes from Nick Hibma <hibma@skylink.it> so
...
the USB stack compiles on FreeBSD again.
1999-10-13 08:10:55 +00:00
augustss
df435c83b2
Add an event mechanism so that a userland process can watch devices come
...
and go.
1999-10-12 11:54:56 +00:00
augustss
98b6524413
* Move DMA buffer allocation to HC independent code.
...
* Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN.
1999-09-11 08:19:26 +00:00
augustss
24251055bc
Change the way the `struct device' base part of all driver softc are
...
declared and accessed to make it more portable. Idea from Nick Hibma, FreeBSD.
No functional changes.
1999-09-05 19:32:18 +00:00
augustss
3016e1ebe0
Make some small changes to make it compile on OpenBSD.
1999-08-17 16:06:20 +00:00
augustss
b8b1e35ece
Some changes from FreeBSD (no functional differences).
1999-08-14 14:49:31 +00:00
augustss
b177c7a397
Totally redo the way device detach is done. It now uses a kernel event
...
thread and the config detach method.
Squish a number of space leaks on detach.
1999-06-30 06:44:22 +00:00
augustss
f963dc8ddb
Some minor updates from FreeBSD.
1999-01-10 19:13:15 +00:00
augustss
875aa92d2c
Various little fixes from the FreeBSD version.
1999-01-08 11:58:25 +00:00
augustss
86f2e214ed
Add some line continuations in the FreeBSD part of the file.
1999-01-07 22:09:00 +00:00
augustss
1e0c9685af
Add a copyright header.
1999-01-07 01:57:11 +00:00
augustss
85ff7a3234
Fold line.
1998-12-30 17:48:48 +00:00
augustss
e0c228ae9c
Merge changes to make the USB stack work with FreeBSD. The original
...
diffs from Nick Hibma <n_hibma@freebsd.org>, but with substantial
changes from me.
XXX Not tested on FreeBSD yet.
1998-12-26 12:53:00 +00:00