augustss
e8f6613abe
Add driver for the Handspring Visor.
...
This code probably doesn't work, because it has not been tested.
Despite several pleas for testing there doesn't seem to be any Visor owners
out there. Perhaps it will get tested if it's in -current?
Anyway, the code can at least serve as a template for how to make a USB driver
that shows up as a tty.
2000-03-30 16:56:19 +00:00
augustss
2c3137dc38
Add forgotten OpenBSD fix.
2000-03-30 16:38:55 +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
1b57fb1495
Remove some unused prototypes.
2000-03-29 18:55:36 +00:00
augustss
96806cb7ea
Fix a buglet.
2000-03-29 18:30:46 +00:00
augustss
a25e27e1eb
Some OpenBSD portability fixes.
2000-03-29 18:24:52 +00:00
simonb
365daa37be
Remove redundant decl of cold - it's in <sys/kernel.h>.
2000-03-29 03:59:43 +00:00
augustss
023c506a5e
Take off an item.
2000-03-29 02:17:42 +00:00
augustss
61db1b8e46
*SIGH* Revert back to the old method of aborting xfers.
...
I had tested the new stuff for two months now, but as soon as I commited
it the problems started to appear. Murphy, no doubt...
2000-03-29 01:49:13 +00:00
augustss
9a386a047a
Do not use all xfers at the same time, this can cause problems in the HC
...
drivers.
2000-03-29 01:47:25 +00:00
augustss
7e7ceecd2b
A first stab at support for isochronous transfers.
2000-03-29 01:46:26 +00:00
augustss
5e754a177b
Do not accept new xfers for queuing while a pipe is aborting.
2000-03-29 01:45:20 +00:00
augustss
f606c26834
Be more defensive in a DIAGNOSTIC test.
2000-03-28 17:07:04 +00:00
augustss
37e4821c88
The list is growing...
2000-03-28 10:54:35 +00:00
augustss
c2f90d0d43
Correct a debug message.
2000-03-28 10:53:59 +00:00
augustss
9609f4caa2
Add a comment.
2000-03-28 09:48:25 +00:00
augustss
3316da3988
Another patch for xfer abort...
...
XXX The current xfer queueing and aborting semantics should really
XXX be changed. It cannot be implemented in a sane way on UHCI.
XXX One day when I have lots of time I'll redesign it...
2000-03-28 09:47:10 +00:00
augustss
28a87e2fdb
Use default timeout for transfers.
2000-03-27 22:44:01 +00:00
augustss
568b4d8190
Be a little more careful when aborting.
...
Preallocate some TDs for large buffers.
2000-03-27 22:42:57 +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
2341e5679e
Don't mess with QH in bulk abort for the moment.
2000-03-27 09:41:36 +00:00
augustss
8e7f7d2d69
Keep free block statistics.
2000-03-27 08:27:03 +00:00
augustss
9e5b3b729c
Remove some debug nonsense.
2000-03-27 08:01:09 +00:00
augustss
9ffe849791
Make it compile without DIAGNOSTIC.
2000-03-27 07:39:48 +00:00
augustss
a52e96b1eb
Fix typo. Found by Aaron Campbell <aaron@cs.dal.ca>.
2000-03-26 21:42:54 +00:00
augustss
a9643a2075
Regen & adjust name.
2000-03-26 15:08:43 +00:00
augustss
59310c8294
Adjust the name of the Kawasaki Ethernet adapter.
2000-03-26 15:08:02 +00:00
augustss
5018b862c1
Remove one, add one.
2000-03-25 18:12:20 +00:00
augustss
3fded57690
Rename and move around callout handles to make it more sane.
...
Add some DIAGNOSTIC.
Fix buglet in isoc abort on UHCI.
2000-03-25 18:02:32 +00:00
augustss
b7eeb17414
Change the test for cold boot slightly to avoid a long busy wait with UHCI.
2000-03-25 17:59:34 +00:00
augustss
34bd644399
The Wacom CT0405U delivers strings, but they are wrong. Don't use them.
2000-03-25 17:30:00 +00:00
augustss
9893633d57
Improve uhci_dump_ii().
2000-03-25 07:23:12 +00:00
augustss
df370f0e48
More DIAGNOSTIC.
...
Initialize a callout handle I forgot.
2000-03-25 07:13:05 +00:00
augustss
cefdf1aee3
Add more DIAGNOSTIC when aborting isoc.
2000-03-25 00:11:21 +00:00
augustss
6aeaa39b1b
GC an unsued field and add some DIAGNOSTIC in xfer.
2000-03-25 00:10:19 +00:00
augustss
df8025fec8
Two major changes:
...
Make each xfer have its own intr_info. This is necessary if we want
to queue multiple xfers on an endpoint. This should get rid of the
(mostly harmless) DIAGNOSTICs about intr_infos (not) being done.
Change (again!) how xfers are aborted. Aborting a TD is a nightmare
on the braindead UHCI controller. (Unless you stop the HC, thereby
losing isoc traffic.) Hopefully I got it right this time.
2000-03-24 22:57:58 +00:00
augustss
67113875f3
Rearrange to indicate what should be done before 1.5
2000-03-24 22:17:56 +00:00
augustss
81c03592ef
Rename bulk only protocol (following FreeBSD).
2000-03-24 22:16:42 +00:00
augustss
c06b1c683d
Remove unused macros.
2000-03-24 22:13:23 +00:00
augustss
0069eba19b
Some cleanup and renaming of the callouts used in USB drivers.
2000-03-24 22:03:28 +00:00
augustss
a01d316027
General code cleanup.
2000-03-24 13:08:28 +00:00
augustss
1c6f9cbdf4
Fix a comment.
2000-03-24 13:03:21 +00:00
augustss
2e85384321
Some more debug when selecting sample rate.
2000-03-24 13:02:00 +00:00
thorpej
6a6358ed5c
Shake out some bugs from the callout changes.
2000-03-23 18:59:10 +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
0ef19aad57
Regen.
2000-03-20 01:31:29 +00:00
augustss
06bb856348
Some new devices. From FreeBSD.
2000-03-20 01:31:10 +00:00
augustss
ebd6f5f498
Add another item.
2000-03-20 00:42:21 +00:00