Commit Graph

1558 Commits

Author SHA1 Message Date
tron f1a2d1c420 Remove obsolete prototype for "udsbr_search". 2002-02-12 10:51:49 +00:00
mjl 253423f1c7 Add OnSpec PC-Card reader 2002-02-11 21:13:35 +00:00
mjl 59ff2c4198 Regen 2002-02-11 21:07:50 +00:00
mjl c381ca9def Add Datafab MD1-II 2002-02-11 21:05:34 +00:00
augustss 490beda381 Remove an accidental change from last commit. 2002-02-11 15:20:23 +00:00
augustss 319f13f6ef Give usbd_do_request_flags() an extra argument for the timeout. 2002-02-11 15:11:49 +00:00
augustss 5f87e5a984 Regen. 2002-02-11 15:00:35 +00:00
augustss cf31e1b945 Add a bunch of mass storage devices. 2002-02-11 15:00:17 +00:00
augustss e644076000 A little const poisoning. (From FreeBSD.) 2002-02-11 12:42:48 +00:00
augustss 6f566032d7 Whitespace changes. 2002-02-11 11:42:16 +00:00
augustss 0e66a32e2c Switch to new abort mechanism. 2002-02-11 11:41:30 +00:00
augustss f8204d29e1 Switch to the same abort mechanism as in [eo]hci; it should be more
robust.
2002-02-11 11:40:33 +00:00
augustss f1274a71dc Some minor fixes from FreeBSD. 2002-02-11 10:09:14 +00:00
augustss 1b221b1c9b Some updates for FreeBSD. 2002-02-11 10:04:28 +00:00
kent c1b55b61ac uaudio_chan_set_param:
Take care of param->factor.

uaudio_set_params:
  Fix a problem of precision matching for mulaw/alaw with 16bit.
2002-02-11 07:10:36 +00:00
kent 4653bffb03 uaudio_set_params:
Use slinear16_to_mulaw_le() if ULAW recording is requested and the device
supports neither signed 8bit nor unsigned 8bit and supports 16bit.
2002-02-10 06:37:45 +00:00
rh c57778753f regen 2002-02-09 09:21:24 +00:00
rh 7236711b7c Add HP Scanjet 5400C 2002-02-09 09:20:44 +00:00
augustss 660b4087dc Add quirks for Minolta S304. 2002-02-07 13:53:14 +00:00
augustss 53a6c27b2e Add quirk for devices without Get Max Lun. 2002-02-07 13:52:54 +00:00
augustss 86c1274c84 Regen. 2002-02-07 13:52:27 +00:00
augustss c801ef4f0d Add Minolta Dimage S304 2002-02-07 13:52:08 +00:00
augustss d76f24be37 OnSpec doesn't like Mode Sense. 2002-02-07 13:02:26 +00:00
augustss 09f2c3182a Regen. 2002-02-07 13:00:37 +00:00
augustss 29f28f51f0 Add OnSpec disk controller. 2002-02-07 13:00:13 +00:00
augustss 7f01f1dd6b Some white space fixes from FreeBSD. 2002-02-03 18:15:20 +00:00
gehenna 5306945459 Add entry for ELECOM LD-USBL/TX 2002-02-02 06:04:46 +00:00
gehenna 604899daad regen 2002-02-02 06:02:26 +00:00
gehenna aa93973989 Add ELECOM LD-USBL/TX (ethernet adapter) 2002-02-02 06:00:56 +00:00
augustss c0530aa288 Regen. 2002-02-02 02:29:49 +00:00
augustss 9df6e6d623 Add PhotoClip USB Camera (from FreeBSD). 2002-02-02 02:29:28 +00:00
augustss 044c8f0a7a Use M_WAITOK instead of M_NOWAIT when allocating extra descriptors.
Spotted by OpenBSD.
2002-01-27 23:00:34 +00:00
augustss 9cdd3fd977 Don't dereference NULL pointer when no device attaches. 2002-01-27 18:10:34 +00:00
augustss a7dea23b26 Regen. 2002-01-25 22:54:53 +00:00
augustss 6fd474bf85 Fix typo pointed out by Manuel Bouyer. 2002-01-25 22:54:34 +00:00
ichiro e00f8610ea regen 2002-01-22 03:17:28 +00:00
ichiro c1227aa54e supported RATOC Systems REX-USB60 2002-01-22 03:13:28 +00:00
ichiro 9684a618c1 add product
RATOC Systems USB serial adapter REX-USB60
2002-01-22 03:12:18 +00:00
augustss 12f71ce4b8 Regen. 2002-01-21 11:20:42 +00:00
augustss 8f9166873c Add some new devices. 2002-01-21 11:20:25 +00:00
tsutsui 448d063b57 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-14 13:23:36 +00:00
tsutsui e6f8529d26 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:58:16 +00:00
drochner db154a4d20 "attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.
2002-01-07 17:44:42 +00:00
augustss f854b2521f Add a DIAGNOSTIC check. From FreeBSD. 2002-01-03 22:20:45 +00:00
augustss 501071c88f Correct the frequency calculation. 2002-01-03 21:52:26 +00:00
augustss f1ee77f0c3 Add USTIR_DEBUG. 2002-01-03 18:57:36 +00:00
augustss eb62bf638c Add the ustir driver, for SigmaTel STIr4200 USB/IrDA Bridge.
Written by David Sainty <David.Sainty@dtsp.co.nz>.
2002-01-03 18:54:31 +00:00
augustss e4552bb657 Add a comment. 2002-01-02 22:44:44 +00:00
augustss 68d53cd694 Fix typo in last commit. 2002-01-02 20:58:12 +00:00
augustss f7839315fb Some more usb_proc_ptr changes.
Also some minor stylistic changes.
2002-01-02 20:55:58 +00:00
augustss cee8ba6db9 Get rid of a few stray __P(). 2002-01-02 17:20:09 +00:00
augustss b99cd0e9f5 More whitespace fixes from FreeBSD. 2002-01-02 16:20:14 +00:00
augustss c572876ecb Fix another descriptor parsing bug. Thanks to Tero Kivinen for
patiently supplying me with debug output.
2002-01-02 11:10:50 +00:00
augustss 71dd2d73a6 Fix typos. 2002-01-02 03:47:35 +00:00
augustss 1d26d9e5fd Move debug define.
Remove some cruft.
Update with some stuff from Warner Losh's driver.
2002-01-02 03:44:56 +00:00
augustss f63f2e4dfe Add udsbr(4), a D-Link DSB-R100 FM radio (untested). 2002-01-02 03:21:36 +00:00
augustss 371722006a Add a missing subclass definition. 2002-01-01 14:23:37 +00:00
augustss cec9735688 Delay bus enumeration a little in case the controller is a companion
controller.  This way the main controller can gain ownership of the port
before enumeration starts.
2001-12-31 15:55:51 +00:00
augustss d8e5a1dc07 Dump enpoint number instead of endpoint index. 2001-12-31 15:54:27 +00:00
augustss 88da42185c Don't try to deactivate child if we have no bus yet. 2001-12-31 12:52:50 +00:00
augustss 0498c38d3d Whitespace fixes (from FreeBSD). 2001-12-31 12:37:13 +00:00
augustss 637dc4b2fe Change xfer abort to wait for the softintr to run. 2001-12-31 12:20:35 +00:00
augustss 096f451f64 Change abort slightly.
Change debug output.
2001-12-31 12:16:57 +00:00
augustss f1397b7e37 Dump more of the command. 2001-12-31 12:15:46 +00:00
augustss 152efb1a0e Make a typedef for struct proc to make portingeasier. 2001-12-31 12:15:21 +00:00
augustss d14e739b92 Don't allow setting the configuration when an endpoint is open. From
FreeBSD.
2001-12-31 11:56:37 +00:00
augustss 0a3269865e Only clear stall if endpoint is stalled. From FreeBSD. 2001-12-31 11:54:06 +00:00
augustss ff21b251a0 Make sure we don't have any pending softintrs when entering polling mode.
Thanks to Darrin for finding and fixing this problem when using USB
keyboards in DDB.
2001-12-30 20:26:59 +00:00
augustss 776b0e7851 A little more debug. 2001-12-30 19:37:43 +00:00
augustss 70dea46276 Fix typo. 2001-12-30 19:22:28 +00:00
augustss dd4b4280f7 Add new scanners to the table.
(The scanners don't actually have to work to be in the uscanner table,
this is how Linux does it and uscanner is just there because Linux has it.)
2001-12-30 11:13:22 +00:00
augustss fb4d205cd6 Regen. 2001-12-30 11:08:19 +00:00
augustss 095e2b87e3 Fix typo in last commit. 2001-12-30 11:01:44 +00:00
augustss bdbdfed4ec Add some missing files. 2001-12-30 11:01:24 +00:00
gehenna 7a22165e1c fix product ID 2001-12-30 05:12:36 +00:00
gehenna b48ed7ad6d regen 2001-12-30 05:11:29 +00:00
gehenna e9ab191fc3 Add some vendor/product IDs (from FreeBSD) 2001-12-30 05:09:50 +00:00
augustss 5a31e4e8f8 Make the driver a little less talkative on errors. 2001-12-29 20:50:16 +00:00
augustss 3850573d96 Remove garbage. 2001-12-29 18:57:16 +00:00
augustss c19b7e5c1b Be more paranoid about input sizes. 2001-12-29 18:56:52 +00:00
augustss 5db54303c8 Reset global count value properly. 2001-12-29 18:56:20 +00:00
augustss 198e193c28 Don't clear global report values when reporting an item. 2001-12-29 17:48:29 +00:00
augustss 93f9b36aad Add a debug message. 2001-12-29 16:15:42 +00:00
augustss 496dc72437 Add some definitions from the USB OTG (On The Go) spec. 2001-12-29 15:44:11 +00:00
augustss 9dd24c8a92 Regen. 2001-12-29 14:08:02 +00:00
augustss 5f958aabb7 Fix a typo. 2001-12-29 14:07:45 +00:00
augustss 8164bd8bae Move some USB device quirks to the umass_quirk table. 2001-12-29 14:06:18 +00:00
augustss 414b3c7766 Always set the PQUIRK_ONLYBIG quirk for SCSI devices. 2001-12-29 13:52:21 +00:00
augustss 276b009425 Introduce a field, busquirks, in the umass quirk table that is passed
directly to the quirk field for the bus.
2001-12-29 13:46:23 +00:00
augustss 59473972d2 Only pull in HID processing if a driver needs it. 2001-12-29 10:50:55 +00:00
augustss 750a5959b8 Add some missing scan code translations. Docs from Microsoft via Perry Metzger. 2001-12-29 02:53:41 +00:00
augustss 935b0481a9 Introduce an extra driver level for HID devices, uhidev. This uhidev driver
attaches to the hub, and HID drivers (ums, ukbd, and uhid) attach to
uhidev.  The reason for this change is that some HID devices report multiple
components (like a keyboard and a mouse) using the same interface, but with
different report identifiers.  The report identifier can be specified with
a locator for the HID drivers.
Furthermore, change the ukbd driver to handle other formats than the boot
protocol.
2001-12-28 17:32:36 +00:00
augustss f690fc0845 More DIAGNOSTIC. 2001-12-28 00:21:26 +00:00
augustss 3bf49b584d Add some more #defines. 2001-12-28 00:20:24 +00:00
augustss 04ec4ba316 Add some DIAGNOSTIC stuf that I forgot. From Nate Williams. 2001-12-27 18:48:28 +00:00
augustss f8e03bd53c Change some DIAGNOSTIC #defines. 2001-12-27 18:43:46 +00:00
augustss 0df9b7654d ANSIfy. 2001-12-27 11:28:01 +00:00
augustss d0f9a76506 Update a comment. 2001-12-27 11:27:11 +00:00
augustss 1f003f1c43 Name collection types. 2001-12-27 11:25:47 +00:00
augustss 81b818b421 Add usbd_get_protocol(). 2001-12-27 11:24:42 +00:00