Josef Karthauser
b6955189b1
Reduce the difference between our version and NetBSD's. (No
...
functional changes.)
2002-04-07 11:29:31 +00:00
Josef Karthauser
896b2b5334
MFNetBSD:
...
revision 1.57
date: 2001/11/20 16:08:37; author: augustss; state: Exp; lines: +3 -2
Add a comment.
2002-04-07 11:20:41 +00:00
Josef Karthauser
05f37aafc4
MFNetBSD: ohci.c (1.109), uhci.c (1.144), uhub.c (1.56), usb.c (1.57),
...
usbdi.c (1.86), usbdivar.h (1.66)
[Some partial, because most of this was merged in a while ago]
date: 2001/11/20 13:48:03; author: augustss;
Keep track of device speed for USB 2.0.
2002-04-07 11:19:05 +00:00
Josef Karthauser
3b0f6960df
MFNetBSD:
...
revision 1.55
date: 2001/11/16 02:21:54; author: augustss; state: Exp; lines: +4 -4
Better error message.
2002-04-07 10:59:02 +00:00
Josef Karthauser
bcfc7cc136
MFNetBSD: uhub.c (1.54), usb_subr.c (1.92)
...
date: 2001/11/16 01:57:47; author: augustss;
Handle devices that disappear during reset gracefully.
2002-04-07 10:57:42 +00:00
Josef Karthauser
05172ec004
MFNetBSD: usbdi.c (1.85), usbdi.h (1.54), usbdi_util.c (1.37)
...
date: 2001/11/15 15:15:59; author: augustss;
usbd_interface2device_handle() cannot fail.
2002-04-07 10:50:41 +00:00
Josef Karthauser
2bffc02359
MFNetBSD: usbdi.c (1.82), usbdivar.h (1.64)
...
date: 2001/11/10 16:54:56; author: augustss;
Add some dump routines for debugging.
2002-04-07 10:41:51 +00:00
Josef Karthauser
264bb28fd4
MFNetBSD:
...
revision 1.81
date: 2001/04/17 00:05:33; author: augustss; state: Exp; lines: +7 -1
Add a DIAGNOSTIC.
2002-04-07 10:38:07 +00:00
Josef Karthauser
eaf587ef2b
MFNetBSD: usb_subr.c (1.90), usbdi.c (1.83), usbdivar.h (1.65)
...
date: 2001/11/10 17:11:38; author: augustss; state: Exp; lines: +1 -2
Get rid of unused abort_handle.
2002-04-07 10:36:15 +00:00
Josef Karthauser
93eb6f1095
MFNetBSD:
...
revision 1.52
date: 2001/10/26 17:53:59; author: augustss; state: Exp; lines: +8 -2
Compare pointer with NULL instead of using them as a condition.
2002-04-07 10:31:39 +00:00
Josef Karthauser
60fb1d5b78
MFNetBSD:
...
revision 1.51
date: 2001/10/24 15:30:17; author: augustss; state: Exp; lines: +3 -3
Better debug message.
2002-04-07 10:29:48 +00:00
Josef Karthauser
88f36e5813
MFNetBSD:
...
revision 1.107
date: 2001/11/10 17:09:28; author: augustss; state: Exp; lines: +31 -26
Improve dump routines.
2002-04-07 10:24:52 +00:00
Josef Karthauser
138483b713
MFNetBSD:
...
revision 1.106
date: 2001/11/09 15:01:57; author: augustss; state: Exp; lines: +73 -57
Fix a bug in xfer abort processing when the HC executes ahead of what
the driver aborts.
Don't block RHSC interrupts.
2002-04-07 10:21:16 +00:00
Josef Karthauser
f1310c18b4
MFNetBSD:
...
revision 1.105
date: 2001/11/07 02:55:04; author: augustss; state: Exp; lines: +17 -3
Improve some debug messages.
2002-04-07 10:12:40 +00:00
Josef Karthauser
649e8d680c
MFNetBSD: ohci.c (1.104), ohcireg.h (1.28)
...
date: 2001/09/28 23:57:21; author: augustss;
Reenable RHSC interrupt after one second so hot plugging works.
(From OpenBSD.)
2002-04-07 10:09:23 +00:00
Josef Karthauser
44f1123ff9
MFNetBSD:
...
revision 1.103
date: 2001/09/11 07:00:19; author: augustss; state: Exp; lines: +4 -1
Don't go top mode OPERATIONAL (before reset) on startup even
if BIOS claims to have initialized the controller.
2002-04-07 10:04:16 +00:00
Josef Karthauser
fbc2dfc441
MFNetBSD:
...
revision 1.102
date: 2001/04/01 15:00:29; author: augustss; state: Exp; lines: +3 -1
Add two missing splx() (inside DIAGNOSTIC). From OpenBSD.
2002-04-07 10:02:45 +00:00
Josef Karthauser
16b08d2552
MFNetBSD:
...
revision 1.142
date: 2001/10/25 02:08:13; author: augustss; lines: +14 -16
Change reset sequence to get status change bits set right on startup.
2002-04-07 09:57:23 +00:00
Josef Karthauser
4792bfc8f6
MFNetBSD:
...
revision 1.141
date: 2001/10/24 21:04:04; author: augustss; Exp; lines: +20 -4
Some more paranoia tests when entering the interrupt routine.
2002-04-07 09:52:49 +00:00
Josef Karthauser
db3c6cb423
Iron out some obvious differences between NetBSD's and own version of
...
this file.
2002-04-06 22:06:16 +00:00
Josef Karthauser
8d3dd017ad
Define away 'Static' when compiling with USB_DEBUG defined, to make it
...
easier to debug.
2002-04-06 21:46:47 +00:00
Josef Karthauser
6a69a08a22
Use the UE_GET_XFERTYPE macro.
2002-04-06 21:28:57 +00:00
Josef Karthauser
dc2aa84c92
Remove some old unused cruft.
2002-04-06 21:03:49 +00:00
Josef Karthauser
2ce84795da
Another step in merging our if_aue driver with NetBSD's.
2002-04-06 20:50:21 +00:00
Josef Karthauser
396a51fb2f
Rename csr_{read,write}_* to cue_csr_{read,write}_*.
2002-04-06 20:24:25 +00:00
Josef Karthauser
47c61eef1b
Rename foo_gone to foo_dying, in keeping with the rest of the usb code.
2002-04-06 20:17:13 +00:00
Josef Karthauser
3d9e00aa02
Replace device_t with device_ptr_t.
2002-04-06 19:55:52 +00:00
Josef Karthauser
fc5290cfa4
Regenerate.
2002-04-06 19:35:00 +00:00
Josef Karthauser
4ad5d253df
Remove a erroneous entry for HP 5400C.
...
Spotted by: phk
2002-04-06 15:00:41 +00:00
Poul-Henning Kamp
86383b37c0
Fix a typo in the definition of HP1220C and add a quick entry for
...
broken bidir mode for at as well.
2002-04-06 13:28:02 +00:00
Josef Karthauser
28543fc9c6
Regenerate.
2002-04-06 13:07:05 +00:00
Josef Karthauser
46d8539f1c
Add some more printer devices:
...
DeskJet 1220C from phk
Scanjet 5400C from NetBSD
Inkjet P-2000U from NetBSD
2002-04-06 13:06:07 +00:00
Josef Karthauser
1ea26b29b6
Synchronise with NetBSD for order and formatting; no functional changes.
2002-04-06 13:01:39 +00:00
Josef Karthauser
9ad42ab594
Add a new vendor: MINOLTA, and some products by them.
...
Partially submitted by: asmodai
2002-04-06 12:27:23 +00:00
Poul-Henning Kamp
e9ad04e4e6
Make LINT compile again.
2002-04-05 17:45:47 +00:00
John Baldwin
6008862bc2
Change callers of mtx_init() to pass in an appropriate lock type name. In
...
most cases NULL is passed, but in some cases such as network driver locks
(which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used.
Tested on: i386, alpha, sparc64
2002-04-04 21:03:38 +00:00
Josef Karthauser
86cf1335d5
Back the last commit out. The network drivers need reworking first. :(
2002-04-02 14:54:52 +00:00
Josef Karthauser
920153807b
MFNetBSD: usbdi.c (1.80), usbdi.h (1.51)
...
date: 2001/04/13 11:19:58; author: augustss;
Finally get rid of the UGLY and EVIL hack for avoiding tsleep().
2002-04-02 14:28:18 +00:00
Josef Karthauser
5b33e5c6be
MFNetBSD:
...
revision 1.89
date: 2001/11/10 17:10:42; author: augustss; state: Exp; lines: +2 -1
Abort any xfers on the control pipe before closing it on detach.
2002-04-02 14:16:06 +00:00
Josef Karthauser
54d369e6e5
MFNetBSD: usb_port.h (1.45 partial), usb_subr.c (1.88)
...
date: 2001/11/10 16:53:32; author: augustss;
Small portability improvement.
2002-04-02 14:14:14 +00:00
Josef Karthauser
e92dc1d513
MFNetBSD: usb_subr.c (1.87), usbdi.h (1.53)
...
date: 2001/08/15 00:04:59; author: augustss;
Add a little infrastructure so that individual drivers can easily check
if thee was a vendor+product locator match.
2002-04-02 14:08:43 +00:00
Josef Karthauser
246a3f534a
Reduce differences between NetBSD's version and ours.
...
(Should be all white space related, but there's the removal of the
odd 'register' directive also).
2002-04-02 13:26:40 +00:00
Josef Karthauser
c8d05bc5f5
Use ANSI prototypes and declarations.
2002-04-02 11:54:28 +00:00
Josef Karthauser
4e6e5105b0
Use ANSI prototypes and declarations.
...
Rename csr_{write|read}_* to aue_csr_* in keeping with NetBSD.
2002-04-02 11:42:57 +00:00
Josef Karthauser
548db09f32
MFNetBSD:
...
revision 1.50
date: 2001/04/12 01:18:24; author: thorpej; state: Exp; lines: +6 -2
Only if __HAVE_GENERIC_SOFT_INTERRUPTS is then splusb == splsoftnet
(because we register the interrupt with IPL_SOFTNET). However, if
we're using a callout, then splusb == splsoftclock (because the
callouts happen from the softclock interrupt).
Note that splsoftnet blocks softclock interrupts, but this is
meant to better describe what's going on.
2002-04-02 10:53:42 +00:00
Josef Karthauser
e373532341
MFNetBSD: (partial merge, as part was already there).
...
revision 1.56
date: 2001/11/13 07:55:30; author: augustss; state: Exp; lines: +4 -4
Add some #endif comments.
2002-04-02 10:48:58 +00:00
Josef Karthauser
44e0c682e0
MFNetBSD:
...
revision 1.54
date: 2001/11/09 14:59:11; author: augustss; state: Exp; lines: +2 -1
Add a debug message.
2002-04-02 10:47:01 +00:00
Josef Karthauser
09f681d7b7
MFNetBSD: usb.c (1.53), usbdi.h (1.49)
...
date: 2001/01/23 17:04:30; author: augustss;
Ad function to remove a usb task.
2002-04-02 09:58:16 +00:00
Josef Karthauser
7e9590a260
MFNetBSD:
...
revision 1.52
date: 2001/01/21 19:00:29; author: augustss; state: Exp; lines: +5 -0
Ad a comment.
2002-04-02 09:51:10 +00:00
Josef Karthauser
e469fe6e0a
MFNetBSD: uhub.c (1.49), usb.c (1.51), usbdi.h (1.48), usbdivar.h (1.63)
...
date: 2001/01/21 19:00:06; author: augustss;
Change the operation of the USB event thread. Before it only
performed USB device discovery, now it can also perform (short)
tasks for device drivers that need a process context, but don't
have one. This is not pretty, but better than using busy-wait
in an interrupt context.
2002-04-02 09:49:36 +00:00