Commit Graph

99 Commits

Author SHA1 Message Date
augustss
1256add6be Update for new name in usb.h 1998-12-28 16:13:44 +00:00
augustss
020a909cba Add a lot of byte swapping to get the code to work on big endian machines.
Patch from Tsubai Masanari <tsubai@iri.co.jp>.
Add an extra controller reset.  According to the OHCI spec it shouldn't
be necessary, but without some machines don't work.
1998-12-28 12:56:19 +00:00
augustss
3c6b7ccc2a Cosmetics. 1998-12-28 12:52:38 +00:00
augustss
f4133e9fae Update timing again (for bad devices). 1998-12-28 12:35:27 +00:00
augustss
be8213d207 Add some isoc defines. 1998-12-28 03:27:00 +00:00
augustss
2e0dbd3cc0 Add another power up wait so that some devices (that do not follow
the spec) start up more reliably.
1998-12-28 02:23:25 +00:00
augustss
cd36ca65dd Fix typos. 1998-12-28 02:20:28 +00:00
augustss
8fe37fa62c Cosmetics. 1998-12-28 02:06:25 +00:00
augustss
6afab47ac5 Be more careful when forming the TD endpoint field. 1998-12-27 23:40:52 +00:00
augustss
5c3f51a42a Add quirk for bad version no. in audio control descriptor. 1998-12-27 23:38:13 +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
augustss
ebbe6623e2 Regen 1998-12-21 17:22:33 +00:00
augustss
2da45b8352 Fix typo. 1998-12-21 17:18:29 +00:00
augustss
84f4ab4fd0 Regen. 1998-12-21 15:45:20 +00:00
augustss
3c75aecaf5 Add ADS ethernet adapter. 1998-12-21 15:42:59 +00:00
augustss
cb022e620d Initialize field to indicate fragment block. 1998-12-14 23:44:04 +00:00
augustss
eeb8a988a9 Oops, I commited the wrong version before. 1998-12-12 12:18:26 +00:00
augustss
f8c84e3e97 Initialize variable to make gcc happy. 1998-12-12 12:06:53 +00:00
augustss
ef6d3553ea Move initialization of sce around. 1998-12-12 11:59:28 +00:00
augustss
09dd50c412 Regen. 1998-12-11 17:44:41 +00:00
augustss
d39ff672ac Add Imation disk. 1998-12-11 17:43:31 +00:00
augustss
3e85b3dd48 Move spls around. 1998-12-11 00:05:07 +00:00
augustss
46e04a18a1 Take care of some lines > 80 chars. 1998-12-10 23:16:47 +00:00
augustss
95f1a325a2 Change a printf a little. 1998-12-10 16:13:48 +00:00
drochner
35345a1311 make compile without USB_DEBUG, wrap lines to 80 cols 1998-12-09 19:24:28 +00:00
augustss
1fdafa2f13 Insert some splusb() since memory allocation and deallocation can
occur from an interrupt.
1998-12-09 01:02:29 +00:00
augustss
c8736358e3 Clear stall condition on interrupt pipe. 1998-12-09 01:01:24 +00:00
augustss
f8b9a417f0 Improvement to the ugen driver.
Better error checking.
Some code rearrengment.
1998-12-09 00:18:10 +00:00
augustss
28d60e8711 Use plaintest error messages for debugging. 1998-12-08 15:48:18 +00:00
augustss
d26c277522 Add a generic USB driver. It allows easy access to descriptors, the
control pipe via ioctl() and read() and write() access to bulk and
interrupt pipes.
1998-12-08 15:39:00 +00:00
augustss
4d19a06c27 Some minor API changes and additions. 1998-12-08 15:18:45 +00:00
augustss
dfff19e3d3 Take care of return code from uiomove(). 1998-12-08 15:12:24 +00:00
augustss
43c3030bd5 Print plain text error codes. 1998-12-08 14:34:08 +00:00
augustss
0280322dcb Change debug level of a printf. 1998-12-08 14:31:58 +00:00
augustss
a68f1ef94c Handle the case where the device does not support GET_PEPORT better. 1998-12-03 20:43:19 +00:00
augustss
bedb40a78c Use umodem as the modem driver stub. 1998-12-03 19:58:09 +00:00
augustss
2228eaca8a Add configuration and interface locators. 1998-12-02 22:57:08 +00:00
augustss
cf75925c7f Even shorter printfs at attach. 1998-12-02 22:54:52 +00:00
augustss
4b4afb8252 Regen. 1998-12-02 22:51:50 +00:00
augustss
7270b91afe Shorten some vendor names. 1998-12-02 22:49:51 +00:00
augustss
e424a174ba Add stub for a modem driver. 1998-12-02 22:47:19 +00:00
augustss
fd3af06364 Avoid wrapping lines in attach printfs. 1998-12-02 17:20:20 +00:00
augustss
7d417ca964 Handle compound devices in usbd_get_report_descriptor(). 1998-12-02 17:17:40 +00:00
augustss
c4dc0e3950 Regen. 1998-12-02 17:14:53 +00:00
augustss
65145fce2c Fix typo. 1998-12-02 17:11:51 +00:00
augustss
41095ae62a Add some new devices. 1998-12-02 17:02:59 +00:00
augustss
8ae89c20dc Do untimeout() for the timeouts we set up.
(How can this ever have worked?)
1998-11-30 21:39:20 +00:00
augustss
ca707fcdf2 Make the copyright header conform to the NetBSD template. 1998-11-25 22:32:04 +00:00
augustss
32dd1a1d5a Make sure the Endpoint Descriptor gets the correct maximum packet size. 1998-11-22 20:21:22 +00:00
augustss
c73add02ca Fix some typos. 1998-11-21 18:57:09 +00:00