augustss
2ea7029408
Add Bill Paul's FreeBSD driver for the Kawasaki LSI KL5KUSB101B USB Ethernet
...
chip.
2000-01-17 01:38:43 +00:00
augustss
ed1996fc7d
Be a little more talkative on with UHCIDEBUG on errors.
2000-01-17 01:01:07 +00:00
augustss
2ec318c2e5
Update some comments.
2000-01-16 23:18:56 +00:00
augustss
cc381bcb7c
Add usbd_reload_device_desc() to get the device descriptor again from a device.
...
Useful if e.g. downloading firmware updates the revision number.
2000-01-16 23:11:43 +00:00
itojun
68f1c29b5a
typo
2000-01-16 18:34:42 +00:00
augustss
dbed54b091
Get rid of some debug gunk.
2000-01-16 16:07:42 +00:00
augustss
1f4b0be350
Turn on interface OACTIVE in case of a transmit error.
2000-01-16 15:52:03 +00:00
augustss
48641e166e
Put back line I lost in FreeBSD code when porting.
2000-01-16 15:43:24 +00:00
augustss
36987ec1cc
Enable AUE_DEBUG the usual way.
2000-01-16 15:36:28 +00:00
augustss
6f571d15c8
Some stylistic changes.
2000-01-16 15:35:06 +00:00
augustss
f0cebaeb64
Avoid even more #include for FreeBSD.
2000-01-16 15:12:41 +00:00
augustss
ed1c6349a1
Avoid some #include for FreeBSD.
2000-01-16 15:10:27 +00:00
augustss
c48388545c
Check for the right vendor/product before fiddling with the Broadcom PHY.
2000-01-16 14:24:33 +00:00
augustss
b4e8010107
Add initial version of a driver for the ADMtek AN986 Pegasus USB to
...
Ethernet chip.
Written by Bill Paul, <wpaul@ee.columbia.edu>, for FreeBSD.
Massaged by Lennart Augustsson.
XXX Needs a thread to avoid a the gruesome USBD_NO_TSLEEP hack.
2000-01-16 13:45:56 +00:00
augustss
67ad556c60
Get timeout right in the gruesome hack.
2000-01-16 13:34:51 +00:00
augustss
eb7268f16c
XXX Add a temporary, gruesome hack. It allows transfers to
...
XXX be done using delay() instead of tsleep().
XXX This enables transfers to be made from an interrupt context, which
XXX is needed until some more threads are added to the kernel.
XXX Using this hack (which is rare) causes the kernel to busy-wait
XXX for up to 1 ms at splusb().
2000-01-16 13:22:18 +00:00
augustss
2b8a0e9b1c
Remove some debug code that was commited by mistake.
2000-01-16 13:14:43 +00:00
augustss
537c04e5ee
Add a flag, USBD_FORCE_SHORT_XFER, to transfers. Using this flag will
...
force the last packet of a transfer to be smaller than the maximum
packet size. The only time this matters is if the transfer size is
a multiple of the maximum packet size, in which case a 0 length packet
is sent last.
Some weird devices require this behaviour to determine the end of
a transfer.
2000-01-16 13:12:05 +00:00
augustss
d837d7a740
Avoid freeing already free data when attach fails.
2000-01-16 13:05:48 +00:00
augustss
9b9e6e6d2c
GC an unused typedef.
2000-01-16 11:19:05 +00:00
augustss
f17d5fe839
Change compat defines a little for power hooks.
2000-01-16 10:38:58 +00:00
augustss
9e5ce08183
Add framework for doing isoc transfers. The actual scheduling code
...
is still missing.
2000-01-16 10:35:24 +00:00
augustss
1a080201cc
Add shutdown hooks to ensure that the host controller is halted when
...
a reboot occurs.
2000-01-16 10:27:51 +00:00
augustss
98347a7628
Add comments.
2000-01-16 09:43:43 +00:00
augustss
5a91238d5f
Turn on more debugguing flags with USB_DEBUG.
2000-01-16 09:42:36 +00:00
augustss
4539a83cdc
Add a DPRINTF on keyboard errors.
2000-01-16 09:41:22 +00:00
augustss
5522f8f3ba
Add some files for ethernet adapters (the files are not there yet).
2000-01-16 09:40:07 +00:00
augustss
c664f35fc5
Let usbd_set_polling() work on a usbd_device_handle instead of
...
a usbd_interface_handle.
2000-01-16 09:37:18 +00:00
augustss
9647c5b871
Another compat define.
2000-01-16 09:34:18 +00:00
augustss
d50156f1bd
Start of implementation of UpDown processing unit control.
2000-01-16 09:32:56 +00:00
augustss
a0a41d46da
Add another item.
2000-01-13 20:19:43 +00:00
augustss
e4f6c4c51b
Add umass.c.
2000-01-13 20:19:14 +00:00
augustss
63d3068c61
Regen.
2000-01-13 19:58:40 +00:00
augustss
3e973f6af5
Sync with FreeBSD.
2000-01-13 19:58:14 +00:00
augustss
d005bd8581
Regen.
2000-01-10 02:48:14 +00:00
augustss
261d171a62
Add the Linksys USB100TX Ethernet adapter.
...
(We will have a driver for it soon!)
2000-01-10 02:47:03 +00:00
takemura
ba04c55ed3
Absolute pointing device support.
...
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
relative or absolute.
- Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
augustss
81a78604bf
Implement the ENABLE control for processig units.
2000-01-06 21:13:55 +00:00
tron
a3f8a54bf4
Regen.
1999-12-29 21:29:02 +00:00
tron
5228e12283
Add vendor and product code for Solid Year USB keyboard provided by
...
Ichiro Fukuhara in PR kern/9070.
1999-12-29 21:28:31 +00:00
augustss
5034afeb8e
Regen.
...
And Merry Christmas!
1999-12-25 21:56:37 +00:00
augustss
878c0331ff
Alphabetize.
1999-12-25 21:55:59 +00:00
augustss
60ca103a0c
Regen.
1999-12-24 21:03:00 +00:00
augustss
e3ab0a35b1
Some minor name changes.
1999-12-24 21:02:38 +00:00
augustss
337c668339
Regen.
1999-12-24 18:03:32 +00:00
augustss
8dde7d012c
Add a few Ethernet adapters.
1999-12-24 18:03:05 +00:00
augustss
6e2f22c70f
Turn on the MAXP bit in the controller to allow 64 byte packets at
...
the end of a frame.
1999-12-24 13:56:35 +00:00
augustss
3150a2103c
Reverse the sign on the wheel data. I got it wrong from the start.
1999-12-24 01:14:01 +00:00
augustss
0e7b1b9ec1
Use the flags `locator' to govern if devices are detected early or
...
late during cold boot.
1999-12-22 23:54:09 +00:00
augustss
a1352b2625
Make sure tsleep() is not called during cold boot.
1999-12-20 02:12:23 +00:00
augustss
33f8460f90
Change the way the initial configuration value is picked.
...
Idea from Matthias Drochner <M.Drochner@fz-juelich.de>
1999-12-18 23:22:54 +00:00
augustss
33cf622176
Add another debug printf.
1999-12-18 22:51:58 +00:00
augustss
e284dc9cfd
Make these files compile on 64 bit archs.
1999-12-18 22:47:11 +00:00
augustss
b58b4d7541
Regen.
1999-12-17 14:07:45 +00:00
augustss
593f478d64
Add a 3Com camera.
1999-12-17 14:07:21 +00:00
augustss
fc03707eef
Add even more debug output.
1999-12-15 23:00:05 +00:00
augustss
0164856f79
More debug printfs.
1999-12-15 20:05:08 +00:00
augustss
8111aaeef9
Cosmetics and a couple of diagnostic messages.
1999-12-06 21:06:59 +00:00
augustss
02faf8d588
Done something half sensible if a USB console keyboard is unplugged instead
...
of panic()ing.
XXX Untested. I will test it the next time I can borrow an iMac.
1999-12-01 23:22:57 +00:00
augustss
b687c3c859
Some more DIAGNOSTIC.
1999-12-01 23:19:11 +00:00
augustss
b15fcce56c
Use vertical nscheduling for bulk traffic. It improves bulk thruput a lot.
...
From FreeBSD and Nick Hibma.
1999-12-01 00:42:05 +00:00
augustss
18f862c072
More USB_DEBUG and DIAGNOSTIC output.
1999-11-28 22:49:53 +00:00
augustss
97fc004770
Don't complain when umodemstartread() returns USBD_IN_PROGRESS. It's normal.
1999-11-26 09:12:50 +00:00
augustss
d94a5b55fb
Make timeout device exploration optional in debug mode.
1999-11-26 01:41:03 +00:00
augustss
77bb4d8ce2
Cosmetic change.
1999-11-26 01:40:01 +00:00
augustss
aa32088c20
Cosmetic changes.
1999-11-26 01:39:27 +00:00
augustss
240991073c
Generate an error message when attachment fails.
1999-11-26 01:38:40 +00:00
augustss
df60fd6eac
Regen.
1999-11-24 23:18:07 +00:00
augustss
ae1dcc2dc0
Comment out some entries for Entrega serial adapters. These entries
...
are only relevant before firmware download.
1999-11-24 23:17:27 +00:00
augustss
c156651eb9
Avoid the special when disconnecting devices with no config descriptor.
...
It was wrong.
1999-11-24 23:14:39 +00:00
augustss
bb2a9b3008
Add some more debug printing.
1999-11-24 23:13:19 +00:00
augustss
881d3f4735
A little cosmetic.
1999-11-23 20:36:10 +00:00
augustss
17971be39a
Don't used extern on uhcidebug and ohidebug variables.
1999-11-22 21:57:09 +00:00
augustss
14896709bf
Join two lines in the attach message.
1999-11-20 01:15:25 +00:00
augustss
7b92ed07bd
Propagate the USB revision number to the usb driver.
1999-11-20 00:57:08 +00:00
augustss
3386c68b46
Cosmetic changes and some small improvements. From FreeBSD and Nick Hibma.
1999-11-18 23:32:25 +00:00
augustss
cdaec29859
A few more purely stylistic changes that I missed in the last round.
1999-11-17 23:00:49 +00:00
augustss
08aacd4e6f
Regen.
1999-11-17 22:59:30 +00:00
augustss
206c85df58
Add CATC analyzer.
1999-11-17 22:59:04 +00:00
augustss
ffb29861c2
Add a few more diagnostics.
1999-11-16 22:19:03 +00:00
augustss
70ad5362d4
Fix a pointer test that I got wrong in the big code cleanup.
1999-11-16 22:15:50 +00:00
augustss
c5019ec09a
Add a quirk for a buggy Qtronix keyboard.
1999-11-16 12:08:38 +00:00
augustss
b019d68caa
Some minor changes from OpenBSD.
1999-11-16 12:04:28 +00:00
augustss
1d1d6b868d
Mark an early Altec Lansing speaker as broken.
1999-11-16 11:39:48 +00:00
augustss
982eb1b4e6
Preallocate DMA buffers. Fixes problem reported by Hubert Feyrer.
1999-11-16 10:21:11 +00:00
augustss
aef39844d9
Add quirk for speakers that pretend to support the audio class, but don't.
...
Add quirk for mice that geberate spurious button up events (XXX fix not fully
implemented).
1999-11-15 22:04:14 +00:00
augustss
5f8274b5a6
Get transfer status right on short transfers. From FreeBSD, Nick Hibma.
1999-11-13 23:58:01 +00:00
mjacob
5f4088eb26
Hide function definition within ifdef's is becomes active in.
1999-11-12 19:11:25 +00:00
augustss
0d2fabdf26
A number of stylistic changes to increase readability (many suggested
...
by Nick Hibma):
use NULL not 0
declare all local definitions static
rename s/usbd_request/usbd_xfer/ s/reqh/xfer/
rename s/r/err/
use implicit test for no err
KNF
1999-11-12 00:34:57 +00:00
augustss
c8ad47986a
Regen.
1999-11-12 00:26:39 +00:00
augustss
505ab77387
Add a modem from ELSA.
1999-11-12 00:26:13 +00:00
augustss
445d6f8e64
Regen.
1999-11-10 19:47:39 +00:00
augustss
f2725f06b8
Add another Quickcam.
1999-11-10 19:46:40 +00:00
matt
391c8e434d
regen
1999-11-10 15:56:39 +00:00
matt
805b56adb4
Add Entrega USB Serial->DB9 widget
1999-11-10 15:55:51 +00:00
augustss
8276207b08
Regen.
1999-11-10 12:31:31 +00:00
augustss
8436192416
Add two more devices.
1999-11-10 12:31:01 +00:00
mycroft
105a2438f9
Fix an obvious bug is some diagnostic code; we must lower our spl again...
1999-11-10 04:19:59 +00:00
augustss
e9fc8103ca
Make detach wait for interrupts to finish.
...
Bail out in interrupt routine when device is dying.
1999-11-09 16:52:14 +00:00
augustss
3b576cc6b2
Update.
1999-11-03 12:11:26 +00:00
augustss
b952f8727b
Print a little more information when attaching.
1999-11-02 16:54:27 +00:00
augustss
860ebb7a92
Make little endian and big endian version of all functions
...
that deal with 16 bit samples. Let the drivers decide which ones
to use.
1999-11-01 18:12:19 +00:00
augustss
9388a61d05
Add a few more tests for safety.
1999-10-28 12:08:38 +00:00
augustss
357dc256c9
Make sure read() and write() fails on the control pipe.
1999-10-28 07:28:51 +00:00
augustss
e33e7aa647
Regen.
1999-10-28 06:41:40 +00:00
augustss
786bc11173
Another device...
1999-10-28 06:41:13 +00:00
augustss
1eb80cc225
Make the SPLUSBCHECK diagnostic test silent durning cold boot.
1999-10-25 10:51:46 +00:00
augustss
0ce4b38e23
Add some code for recording, still untested.
1999-10-25 10:16:49 +00:00
augustss
a28e3fec43
Fix PR8666, to verbose diagnostics.
1999-10-23 00:21:01 +00:00
augustss
a5b6bed471
Add a macro to extract the isoc type.
1999-10-20 21:02:39 +00:00
augustss
afc4d36639
Regen.
1999-10-19 21:16:04 +00:00
augustss
172180cf42
Add an AltecLansing speaker.
1999-10-19 21:15:35 +00:00
augustss
db3b140df8
Handle the (weird) case when the power hook is called with a resume
...
without a prior suspend.
1999-10-17 15:31:00 +00:00
augustss
d8e5f3ab24
Add a DIAGNOSTIC to check that the polling flag is set when resuming.
1999-10-16 15:35:18 +00:00
augustss
8b18a2785a
Regen.
1999-10-15 14:42:17 +00:00
augustss
f8ac09c2e7
Add some Philips speakers (even if mine say Roland on the front :).
1999-10-15 14:41:43 +00:00
augustss
708b8c75d1
Give uaudio its own debug flag.
1999-10-14 01:18:39 +00:00
augustss
f25d1b0a07
Fix a glitch in dequeueing and aborting requests on interrupt pipes.
1999-10-13 23:46:10 +00:00
augustss
3d6e4de045
Format tag and format type tests were interchanged.
1999-10-13 20:13:29 +00:00
augustss
0a020334b9
Regen.
1999-10-13 19:11:07 +00:00
augustss
940b21d891
Add a Telex microphone and a Midiman MIDI port.
1999-10-13 18:55:32 +00:00
augustss
cefd751ca7
Remove FreeBSD tags that got in there by accident.
...
Add #include <sys/time.h> to usb.h.
1999-10-13 18:52:54 +00:00
augustss
1e35ed7989
Temporarily disable a DIAGNOSTIC.
1999-10-13 14:28:07 +00:00
augustss
8b40b63505
Regen.
1999-10-13 09:00:49 +00:00
augustss
a7fe98f881
Add Sandisk ImageMate.
1999-10-13 09:00:21 +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
42d6f8a8b9
Regen.
1999-10-13 03:01:52 +00:00
augustss
736c5dc95e
Add Kodak DC240.
1999-10-13 03:01:37 +00:00
augustss
ea503f0b6c
Regen.
1999-10-13 02:25:26 +00:00
augustss
86911423eb
Add SIIG DigiFilm-Combo Reader
1999-10-13 02:24:59 +00:00
augustss
11403b6ec1
Fix some bugs in USB controller detach code.
1999-10-12 20:02:47 +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
3887698369
Regen.
1999-10-12 11:27:52 +00:00
augustss
e202d5a5c2
Add another device.
1999-10-12 11:25:13 +00:00
augustss
6628b9be8a
Stylistic changes.
1999-10-12 11:24:22 +00:00
augustss
b14b78dfc9
Deallocate resources (bus space and interrupts) when detaching from
...
the bus.
1999-10-12 11:21:24 +00:00
augustss
2f9a41c5e7
Regen.
1999-10-11 09:17:22 +00:00
augustss
bd08192b30
Add more devices.
1999-10-11 09:16:59 +00:00
augustss
740ae27d5a
Add a quirk for devices that lie about how they are powered.
1999-10-11 09:16:39 +00:00
augustss
d0bbed5169
Remove an obsolete comment.
1999-10-11 09:15:34 +00:00
nathanw
88a4e0db3c
Regen.
1999-10-05 20:09:44 +00:00
nathanw
d05fd19adc
Add In-Systems ISD-110 IDE adapter.
1999-10-05 20:03:49 +00:00
augustss
ef0ba32b7d
Regen.
1999-10-04 19:05:42 +00:00
augustss
7a8b326ba9
Add Activewire IO boards.
1999-10-04 19:05:13 +00:00
thorpej
6d0137c519
Update for SCSIPI changes.
1999-09-30 23:13:41 +00:00
augustss
fb7795c908
Make sure the HC deactivation is propagated.
1999-09-18 11:25:50 +00:00
augustss
97a24aa488
Make defines follow the standard.
1999-09-16 21:53:58 +00:00
augustss
a4457e18b3
More DIAGNOSTIC paranoia.
1999-09-16 19:20:34 +00:00
augustss
09774ca21c
Remove one, add none!
1999-09-15 21:14:44 +00:00
augustss
2557320246
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.
1999-09-15 21:14:03 +00:00