augustss
2478d1b320
Cast some args to bitmask_snprintf().
2001-11-21 02:38:35 +00:00
augustss
9716a5f26d
Don't bother with interrupts when being disconnected.
2001-11-20 21:12:46 +00:00
augustss
e5353fd3b5
Use longer reset for root hubs (as told in the spec).
2001-11-20 16:08:10 +00:00
augustss
7e4459fe10
Keep track of device speed for USB 2.0.
2001-11-20 13:48:03 +00:00
lukem
667807e40c
add RCSIDs
2001-11-13 06:24:53 +00:00
augustss
ff875692db
Improve dump routines.
2001-11-10 17:09:28 +00:00
augustss
495b9bd7d5
Fix a bug in xfer abort processing when the HC executes ahead of what
...
the driver aborts.
Don't block RHSC interrupts.
2001-11-09 15:01:57 +00:00
augustss
14e5f669c2
Improve some debug messages.
2001-11-07 02:55:04 +00:00
augustss
37583aadfc
Reenable RHSC interrupt after one second so hot plugging works.
...
(From OpenBSD.)
2001-09-28 23:57:21 +00:00
augustss
8a0aea16c1
Don't go top mode OPERATIONAL (before reset) on startup even if BIOS claims to
...
have initialized the controller.
2001-09-11 07:00:19 +00:00
augustss
cb47887dc2
Add two missing splx() (inside DIAGNOSTIC). From OpenBSD.
2001-04-01 15:00:29 +00:00
minoura
fa6cae09e2
Re-initialize some registers after resuming from suspend.
...
Some APM BIOSes do not restore them.
Reviewd by augustss.
2001-02-20 15:20:32 +00:00
augustss
a96a3fa4ca
Put a rate limiter on the scheduling overrun message.
2001-01-28 16:18:09 +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
f7dc96fe4c
Change some splusb() to splhardusb().
2001-01-20 23:36:02 +00:00
augustss
9a52f80f0f
Make the controller survive suspend/resume. Thanks to Steve Woodford
...
<steve@mctavish.co.uk> for testing.
2000-12-31 14:29:54 +00:00
augustss
79f0bd6e1f
Update many URLs.
2000-12-29 01:24:55 +00:00
augustss
eb210eda08
Make the ohci driver not hang suspend/resume. It still doesn't resume
...
correctly. From itohy@netbsd.org (ITOH Yasufumi) PR kern/11714.
2000-12-13 03:09:06 +00:00
augustss
6836c0bd28
Update frlengths after a isoc transfer.
...
Suggested by Yuri <yuri@tsoft.com>
2000-11-10 14:11:49 +00:00
augustss
7e5bb38ef2
Add an XXX comment.
2000-08-17 23:18:56 +00:00
tv
2b3a50d3de
%b -> bitmask_snprintf()
...
Because this code is shared, add a macro for bitmask_snprintf() that
should expand to the equivalent snprintf() on non-NetBSD systems. This is
only used in ?HCI_DEBUG cases anyway.
2000-08-08 19:51:46 +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
thorpej
622e87734a
Quiet some uninitialized variable warnings that do in fact look legitimate.
2000-05-08 18:28:46 +00:00
augustss
30c20f930f
Change my email address.
2000-04-27 15:26:44 +00:00
augustss
df70862e8c
Insert (very conservative!) bus_space_barrier() calls at all register accesses.
...
The bus_space(9) man page says you've gotta have them...
2000-04-25 14:28:13 +00:00
augustss
3a27942ba8
Add a clarifying comment.
2000-04-22 22:50:44 +00:00
augustss
fdeba432d2
Add a comment about a non-obvious use of a #define.
2000-04-21 15:38:55 +00:00
augustss
7311856f29
Add a delay before reading the number of ports from the controller to
...
avoid getting 0 from it.
2000-04-01 09:27:35 +00:00
augustss
a25e27e1eb
Some OpenBSD portability fixes.
2000-03-29 18:24:52 +00:00
augustss
7e7ceecd2b
A first stab at support for isochronous transfers.
2000-03-29 01:46:26 +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
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
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
eb6e78ce98
Make sure all packets (except the last) have the maximum packet size even
...
when using multiple TDs.
2000-03-20 00:37:00 +00:00
augustss
9762d78a52
Make control transfer of over 8K possible by using a chain of TDs.
2000-03-19 22:24:57 +00:00
tsutsui
6e0e3d609f
Replace LE() macro with le32toh()/le32toh().
2000-03-16 12:40:51 +00:00
augustss
1a9f0619fd
Fix thinko in the handling of FORCE_SHORT_XFER so that it actually
...
transfers a 0 length package instead on munging the whole transfer.
The aue driver works now.
2000-03-16 00:41:50 +00:00
augustss
7d05674ba7
Distinguish between device and interface classes.
...
(I finally found a document that said that they were different.)
2000-02-29 21:37:00 +00:00
augustss
9651e60835
Fix typos in my last commit that caused the driver to panic.
...
Change some (unrelated) debug messages.
2000-02-22 22:59:49 +00:00
augustss
9056664327
Prepare a little for having USB interrupt processing done outside the hard
...
interrupt level (in a thread or a softintr).
No real soft processing done yet.
2000-02-22 11:30:54 +00:00
augustss
6393288539
Put some #ifdefs around power and shutdown hooks.
2000-02-01 05:42:52 +00:00
augustss
daa36b1b58
Rename TAILMASK to HEADMASK, since it really masks the head pointer.
...
From FreeBSD.
2000-01-31 22:35:13 +00:00
augustss
cc46ffeb91
Change where the has table for physical-to-virtual address translation
...
is handled. Partly from FreeBSD.
2000-01-31 22:09:13 +00:00
augustss
ae4bbc4485
Fiddle with over-current protect when turning on port power to make
...
things work for some OHCI controllers.
2000-01-31 20:17:25 +00:00
augustss
ef79cf035a
Correct error message list. From Nick Hibma.
2000-01-28 13:32:55 +00:00
augustss
119272426a
Fix typo. From Nick Hibma.
2000-01-28 10:19:48 +00:00
augustss
f0ebd281e5
Add done method for root control transfers.
2000-01-25 12:06:21 +00:00
augustss
c3716a6bb9
Add an argument to usbd_open_pipe_intr() to specify the polling interval
...
for an interrupt pipe in case we don't what what the descriptor suggests.
2000-01-19 00:23:58 +00:00
augustss
21863071b1
Move the zeroing of the xfer to the individual methods.
2000-01-18 20:23:42 +00:00