Commit Graph

2390 Commits

Author SHA1 Message Date
dsainty 232d108953 Kill the flow control interface. Bluetooth devices are not equipped to deal
with flow control being applied.  It is simpler and no more problematic to
accept the data and drop it if we hit a resource limit than to expect the
Bluetooth device to do anything about it (which it won't).
2004-01-04 05:47:43 +00:00
dsainty 68c4826bcf Correct buffer selection in uhidev_set_report for non-zero report IDs (rare!)
Spotted by Dave Huang, noted in tech-kern.
2004-01-04 02:13:11 +00:00
augustss 956a88bd1e Support Graphire 4x5. From Dave Huang in kern/23965. 2004-01-04 01:29:11 +00:00
augustss 0daa8ba196 Regen. 2004-01-04 01:27:38 +00:00
augustss 2da03fdec4 Add Wacom Graphire3 4x5. From Dave Huang. 2004-01-04 01:26:23 +00:00
soren 51e7baecd8 Regen. 2004-01-03 14:16:45 +00:00
soren fd87fe0125 Add Motorola A920. 2004-01-03 14:12:57 +00:00
dsainty d3a5c746ab Correct a conditional masking error conditions 2004-01-02 02:36:25 +00:00
dsainty 275cfd33b4 Correctly initialise ALL of the attach argument block. Fixes panic on
device open (previously avoided by compiler-dependent luck :)
2004-01-01 16:10:13 +00:00
hamajima fc324f7812 add Logitech "QuickCam for Notebook Pro" and "QuickCam Pro 4000".
these are match for ugen, not uaudio.
requested from Takafumi Mizuno.
2003-12-31 14:33:20 +00:00
thorpej 683cebe2c8 No longer need to include <dev/ic/wdcreg.h> 2003-12-30 19:30:39 +00:00
toshii 05069ebd4d Use the correct wValue to get hub desriptors.
Also, make wValue checks of root hub codes less strict.
2003-12-29 08:17:10 +00:00
augustss f3abb712c4 Regen. 2003-12-28 17:12:00 +00:00
augustss 7ddfb31781 Add a couple of devices. 2003-12-28 17:11:14 +00:00
sekiya 5c3f47767d Regen. 2003-12-22 10:29:41 +00:00
sekiya 4e9f2db432 Add MELCO LUA-U2-KTX 10/100 USB network interface IDs. Uses uax driver. 2003-12-22 10:27:51 +00:00
jmc 43bf89bfc6 Fixes from PR#23177. Various lint/logic fixes:
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing

Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00
thorpej d8f4e7306d No need to include wdvar.h anymore. 2003-12-14 05:34:29 +00:00
thorpej a58ada4aad Instead of calling wddone() directly, set a (*drv_done)() callback in
the ata_drive_datas structure and invoke that.
2003-12-14 05:33:29 +00:00
gson 9798a7bc46 Make the chars in the umidi_endpoint buffer unsigned; this fixes at
least one sign extension bug which caused umidi input to not work.
2003-12-05 06:05:53 +00:00
gson 07bb045f57 Opening umidi read-only failed to increment ep->num_open because
open_in_jack() treated USBD_IN_PROGRESS as a failure return.
2003-12-05 06:01:59 +00:00
keihan b8702f530b netbsd.org -> NetBSD.org
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean".  Thanks for the patiance, and sorry for all the commits.
2003-12-04 13:57:30 +00:00
atatat 5f01dc8ab2 Revert revision 1.3 "add sysctl support to firmware loader" by
"removing sysctl support from firmware loader".  It was never
referenced or called from anywhere...

Suggested by augustss@netbsd.org in private email.
2003-12-01 01:09:24 +00:00
nathanw 68f7fcf078 Make the DPRINTF text for bulk in/out opening errors match which one
is in and which one is out.
2003-11-24 19:47:07 +00:00
augustss 852684606a Add a device. From OpenBSD. 2003-11-24 00:00:07 +00:00
augustss 0e57233a47 Try harder to avoid 0 ports woth AMD756. From OpenBSD. 2003-11-23 19:20:25 +00:00
augustss 50ce2db105 Fix swapped lines in cleanup in ohci_init(). From OpenBSD. 2003-11-23 19:18:06 +00:00
augustss 7686442d28 Add more scanners. From FreeBSD. 2003-11-23 19:07:10 +00:00
augustss 25fc3e9769 Regen. 2003-11-23 19:06:39 +00:00
augustss 14f83fce74 Add another device. From FreeBSD. 2003-11-23 19:06:19 +00:00
augustss 743adeaf63 Add two more adapters. From FreeBSD. 2003-11-23 18:51:49 +00:00
augustss 57264be4a3 Regen. 2003-11-23 18:50:51 +00:00
augustss 0aac4b8f68 Update copyright years. 2003-11-23 18:50:27 +00:00
augustss a8842a070e Regen. 2003-11-23 18:37:50 +00:00
augustss f01a819ee7 Add a number of devices. From FreeBSD. 2003-11-23 18:37:30 +00:00
augustss d0bdc327b0 Add another product. From OpenBSD. 2003-11-23 18:17:58 +00:00
augustss 9184608aa6 Regen. 2003-11-23 18:16:25 +00:00
augustss cd8b22197b Add a number of devices. From OpenBSD. 2003-11-23 18:16:03 +00:00
augustss 422ce84f58 Add some more devices. From FreeBSD. 2003-11-23 12:22:51 +00:00
augustss 02bc5c0199 Regen. 2003-11-23 12:22:19 +00:00
augustss de08e28c43 Add uplcom devices. From FreeBSD. 2003-11-23 12:21:54 +00:00
augustss 2fecfb383c Don't free non-malloced memory. From mlang@delysid.org 2003-11-12 11:29:12 +00:00
augustss b87f6623d3 Regen. 2003-11-11 10:55:32 +00:00
augustss 7e013f13c6 Add a Cypress USB2 hub. 2003-11-11 10:54:56 +00:00
wiz c2f9db9c64 Update URLs; from Jared Yanovich via jmc@openbsd. 2003-11-10 09:02:08 +00:00
wiz 864bb22441 Update URL; from Jared Yanovich via jmc@openbsd. 2003-11-10 08:58:39 +00:00
carrel f830588016 enable support for the TREO 600
tested and works...
2003-11-07 21:27:56 +00:00
wiz 6a2ed83373 URL updates, from Jared Yanovich and jmc@openbsd, forwarded by the latter. 2003-11-07 17:03:25 +00:00
kivinen cd9bd33872 eUSB ORCA Quad Reader (SHUTTLE) returns invalid CSWTAGs
(always 0). Added quirk to fix it.
2003-11-07 01:04:27 +00:00
kivinen 57d07fa4e6 Regenerated. 2003-11-07 01:02:18 +00:00
kivinen ff83a852f5 Added eUSB ORCA Quad Reader (Shuttle). 2003-11-07 00:59:38 +00:00
mycroft c6589d2082 Ignore a CRCTO error on a SETUP transaction in combination with STALLED or NAK.
This fixes problems with the GL641.
2003-11-04 19:11:21 +00:00
mycroft 8ece2f61c0 Oops, fix a commito. 2003-10-29 03:54:17 +00:00
mycroft cb4f7a1d86 Bogus initializers suck. 2003-10-29 03:46:10 +00:00
mycroft 909205520a KNF. 2003-10-28 23:40:27 +00:00
mycroft 16413c6f77 The "bad status" case is impossible -- the switch value is constrained to 2
bits -- so just add the default case to the one that returns
STATUS_WIRE_FAILED.
2003-10-28 23:37:59 +00:00
mycroft 898602e6b1 Or the config_deactivate() return values. 2003-10-28 23:33:46 +00:00
augustss 6f77e29fd2 Appease new awk by changing \$ to $. 2003-10-28 10:35:12 +00:00
augustss 5a1764fb26 Regen. 2003-10-28 10:33:18 +00:00
augustss fe59444985 Add Treo 600. From kern/23290. 2003-10-28 10:32:54 +00:00
christos 1cb1045a68 Fix uninitialized variable warnings. 2003-10-25 18:28:31 +00:00
augustss f42962a2c2 Add Dvorak keyboard map. From PR kern/23230, jacereda@tractor.act.uji.es. 2003-10-22 17:24:43 +00:00
augustss 6d60d8ab89 Re-add the quirks that force certain In-System Design adapters to appear
as (non-standard) ATA over BBB adapters.  Without these quirks they are
not regocnized by the umass driver.
2003-10-22 05:38:16 +00:00
wiz 810d184699 Fix typo in comment. 2003-10-18 07:41:26 +00:00
simonb 78c2103e34 Remove assigned-to but otherwise unused variables.
Remove unreachable break after return statements.
2003-10-18 04:50:35 +00:00
mycroft e879d3a728 PQUIRK_NOSENSE is dead here. Remove the code supporting it. 2003-10-17 00:20:28 +00:00
mycroft 3fd37812f4 The Yano quirk was intended to do FORCE_SHORT_INQUIRY. Not that that's gone,
we shouldn't need this any more, so nuke it.
2003-10-17 00:12:58 +00:00
mycroft ecb8d5d482 Set the REQUEST SENSE command length to 12 for ATAPI, too. (UFI and ATAPI are
really the same...)

Fixes problems with Sony Vaio memory stick slots, which advertise themselves as
"ATAPI over CBI".

Remove the quirk for Fuji cameras, since this is almost certainly the same bug.
2003-10-16 23:39:40 +00:00
mycroft 19ef8301a7 Switch back to UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO in a few cases. Not that
it really matters, but UMATCH_VENDOR_PRODUCT effectively overrides the class
code, and that is not supposed to be part of the "quirk".
2003-10-16 20:01:06 +00:00
mycroft f8c8ef3b63 Document the Olympus, ScanLogic and Sony "quirks" better. Also, the ScanLogic
correctly reports itself as SCSI -- it is *not* UFI.
2003-10-16 19:54:01 +00:00
wiz 68f5a56945 regen 2003-10-16 08:05:54 +00:00
wiz 7127923ca9 According to Linux USB Ids list, 0b7a belongs to zeevo, inc. 2003-10-16 08:05:42 +00:00
mycroft d7b6d72e8c Deal with the damn DiskOnKey devices. See the comment for an explanation. 2003-10-16 00:36:46 +00:00
rjs 9f105a9400 Regen. 2003-10-15 11:11:55 +00:00
rjs 41929af1e0 Add more IDs. 2003-10-15 11:10:45 +00:00
tron d8c9e38848 Fix build error caused by last change. 2003-10-15 08:28:29 +00:00
simonb 9606d846fa Don't check an uninitialsed error variable before printing an error
message.
2003-10-15 06:43:36 +00:00
wiz 09d05922dc Fix mixer wraparound. Closes PR 16652.
Patch from Sergey Svishchev. mycroft says "looks ok".
2003-10-14 13:12:19 +00:00
augustss 359109cff2 Regen. 2003-10-13 22:34:32 +00:00
augustss 6c07c4466a Another Logitech camera. 2003-10-13 22:34:10 +00:00
augustss 32ee02b1f9 Regen. 2003-10-13 17:16:55 +00:00
augustss c88ef72c1d Add some IOMEGA products. 2003-10-13 17:15:03 +00:00
dyoung f9d6bac599 dev/scsipi/atapi_disk.h is no more, and umass_scsipi.c compiles
fine w/o it.
2003-10-13 01:47:55 +00:00
enami 3dbf40b29d KNF the previous commit. 2003-10-13 00:05:36 +00:00
enami b3931d341e Rest of PR23128, so that ehci.c compiles again. 2003-10-13 00:05:10 +00:00
mycroft ba41e2e19b Fix problems with ehci on controllers that support 64-bit addressing. From
Cliff Wright, PR 23128.  Thanks!
2003-10-12 18:04:28 +00:00
wiz d231b1cffc regen (Acer BT-500 Bluetooth USB Adapter). 2003-10-11 12:13:00 +00:00
wiz 5da5ca0dde Add IDs for Acer BT-500 Bluetooth USB Adapter. 2003-10-11 12:11:13 +00:00
toshii 6bd45c6229 Fix a done list handling bug which exhibits under high shared interrupt
rate and bus traffic.  As the interrupt register is read after checking
hcca_done_head, there was a small chance of dropping a done list.
Ignore OHCI_WDH interrupt bit if hcca_done_head is zero so that OHCI_WDH
is processed later.
2003-10-11 03:04:26 +00:00
bouyer 7719e83c8b Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.
2003-10-08 20:57:59 +00:00
bouyer 99d6009c2a Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.
2003-10-08 10:58:12 +00:00
augustss 1c24ba42ab Several changes:
* Implement read for ulpt.
 * If the device is not opened for reading, occasionally drain any
   data the printer might have (but don't hammer the printer with reads).
 * Lower the buffer size to one page.
The driver seems to work with more printers now.
2003-10-04 21:19:50 +00:00
augustss 99ebb5ba5a Add more printers that report bidir mode, but can't handle it. From Linux. 2003-10-02 19:10:37 +00:00
augustss 301ab7ace1 Regen. 2003-10-02 19:09:53 +00:00
augustss e45171e5c1 Add more printers (from Linux). 2003-10-02 19:09:28 +00:00
augustss 7838ca0944 Regen. 2003-10-02 18:34:35 +00:00
augustss 3d6bbf42ca Add HP Deskjet 6127. 2003-10-02 18:34:12 +00:00
augustss 1aa1d2f8e2 The umass attach can fail in many ways. Print a message about why it
failed instead of just being silent about it.
2003-09-29 20:04:25 +00:00
augustss 95b435b7b3 Update URLs. From PR 23004. 2003-09-29 11:54:26 +00:00
jdolecek 330360f6a6 regen: ROLAND MIDI devices and Piengineering Xkeys entry 2003-09-28 07:15:47 +00:00
jdolecek eb3ff4c555 add usbdevs entries and umidi quirks for Roland USB MIDI devices
contributed in PR kern/18096 by Clemens Ladisch
2003-09-28 07:14:56 +00:00
jdolecek b2122d6d98 add Piengineering Xkeys 58 entry, from kern/20838 2003-09-28 06:55:57 +00:00
mycroft ab223e99bc Allow a device to reject CLEAR_FEATURE ENDPOINT_STALL (with a STALL) -- the
assumption being that the device will never use a STALL of a non-control pipe,
I guess.
2003-09-23 21:44:42 +00:00
jdolecek 7cea8a1389 cleanup & uniform descriptor owner handling:
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
  the owner of descriptor, according to appropriate sematics
  of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
  these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
  properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
  in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
  pass the ioctls down to soo_ioctl() as any other ioctl

change discussed on tech-kern@
2003-09-21 19:16:48 +00:00
jdolecek ea7271519d regen - addition of KYE G-07 joystick entry
contributed in kern/22837 by Sergey Svishchev
2003-09-20 09:17:36 +00:00
jdolecek 63eb0e1ad8 add entry for KYE G-07 joystick
contributed in PR kern/22837 by Sergey Svishchev
2003-09-20 09:16:44 +00:00
mycroft 4b716264f7 Shuttle products do not need PQUIRK_NOTUR any more. Also removing them for the
other two items, since they are presumed unnecessary.
2003-09-17 07:49:11 +00:00
mycroft 09e452d82a Do the quirk initialization earlier. 2003-09-13 03:18:13 +00:00
mycroft 96b1a8d146 Arrange for the SCSI device to be target 0, and us to be the highest target
number.  This will make my life easier later...
2003-09-13 03:16:49 +00:00
mycroft 509e3d9fce Set SCSIPI_CHAN_NOSETTLE. 2003-09-12 19:02:30 +00:00
mycroft 8b05b0c1d3 In usbd_setup_pipe(), check the return value from usbd_clear_endpoint_stall(). 2003-09-12 16:22:57 +00:00
mycroft af7e1b8144 Tweak a debugging printf(). 2003-09-12 16:18:08 +00:00
mycroft 6c1f753c7c ZIP drives don't need PQUIRK_NOTUR -- tested on both a 100 (by me) and a 250
(by gendalia).  The 100 seems to have another problem that I'm looking into.
2003-09-12 14:52:38 +00:00
mycroft dad4d4580d Update actlen even in the case where a TD returns an error -- this is critical
for the umass bulk-only STALL case.
2003-09-10 20:08:29 +00:00
augustss efbfbb9402 Regen. 2003-09-10 06:54:40 +00:00
augustss 83c306df7e Add a couple of devices. 2003-09-10 06:52:27 +00:00
mycroft 2b919cb36a Mostly stylistic change, making comments and printf()s similar between BBB
and CBI.
2003-09-10 06:38:28 +00:00
mycroft 78435d869d Copyright maintenance. 2003-09-10 05:42:18 +00:00
mycroft ff7d94f5ec Er, missed one thing. 2003-09-10 05:30:15 +00:00
mycroft 9c39f1d6a5 Exorcise UMASS_QUIRK_FORCE_SHORT_INQUIRY. 2003-09-10 05:25:44 +00:00
mycroft 2fe6c4d834 On a Bulk-In data stall, make sure we copy back the data received, per the
spec.  This is the real problem behind FORCE_SHORT_INQUIRY.
2003-09-10 05:20:21 +00:00
mycroft 7bb5db4e3e The Sony camera reports itself as a "disk", not a "simplified direct access"
device -- ergo, it is "SCSI", not "RBC".
2003-09-10 03:13:53 +00:00
mycroft b8fd3dab7d cc -pipe -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Fix several problems with CCI handling, and enable it:
* We were never calling the callback function when we got a UFI CCI(!).
* We were passing a bogus residual count on non-UFI CCIs.
* After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense
  information -- don't consider this a failure.
In addition, remove a horrible hack that was causing us to drop sense
information on the floor and return empty INQUIRY responses, often in the case
where there is a UNIT ATTENTION pending during the INQUIRY.  (Some drives send
the data and then fail, some don't.)

This eliminates the need for quirks for the Y-E DATA FlashBuster.

These changes work on:

umass0: SAMSUNG SFD-321U [FW 0C], rev 1.10/2.10, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus1 drive 0: <SMSC, USB FDC, 2.10> disk removable

umass0: TEAC TEAC FD-05PUB, rev 1.10/0.00, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus0 drive 0: <TEAC, FD-05PUB, 1026> disk removable

umass0: Y-E DATA FlashBuster-U, rev 1.00/3.04, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus0 drive 0: <Y-E DATA, USB-FDU, 3.04> disk removable
2003-09-10 02:49:18 +00:00
mycroft 73b4a9d1ee PQUIRK_NODOORLOCK seems to be strictly unnecessary. If the drive doesn't
support it, we'll just get an ILLEGAL REQUEST and ignore it.  Furthermore,
on the PQI Travel Flash at least, it works just fine without.  These seem to
have been added in omnibus changes for particular devices, along with other
"quirks" that are now gone.  Adios, we won't cry for you.
2003-09-09 01:35:47 +00:00
mycroft a599f64320 If maxlun>0, automatically set PQUIRK_FORCELUNS, rather than using quirk
table entries.
2003-09-08 19:57:29 +00:00
mycroft de88b69b7b Remove UMASS_QUIRK_NO_START_STOP and UMASS_QUIRK_NO_MAX_LUN. 2003-09-08 19:30:59 +00:00
tron bab150d798 Regen. 2003-09-08 16:07:15 +00:00
tron 7a0eb6d14e Add quirk for Sandisk SDDR-86. The patch was supplied by Peter Seebach
in PR kern/22720.
2003-09-08 16:06:57 +00:00
mycroft 4d89e946a7 Some of the table entries are now noops. Remove them. 2003-09-05 11:24:56 +00:00
mycroft 61c35f890c Take vigilante action and remove all the NO_MAX_LUN, NOMODESENSE and
NOBIGMODESENSE "quirks".  These problems should be fixed without klugery
now.
2003-09-05 11:18:25 +00:00
tsutsui 4189ddf652 Remove advertising clauses from code written by Shingo WATANABE.
He has kindly consented it.
2003-09-04 15:17:38 +00:00
mycroft aea8e885f0 Cast a printf() arg so that USB_DEBUG compiles on multiple platforms. 2003-09-04 03:47:03 +00:00
mycroft 9bba9f60b6 Well, this is bloody obscure...
My Imation USB FlashGO! adapter responds to a Get Max Lun request with a
stall.  With uhci, this does the expected thing.  With ohci, it was returning
a "data underrun" error because we weren't setting "buffer rounding" (i.e.
USBD_SHORT_XFER_OK), and the underrun was taking priority.  This happened with
both the ohci in a Mac cube and the builtin ohci on the S3C2410.

So, set USBD_SHORT_XFER_OK on the Get Max Lun.  Now I get a stall reported and
umass attaches correctly.
2003-09-04 00:02:59 +00:00
itojun 413787298f udav*, for ether w/ Davicom DM9601 chipset. Shingo WATANABE 2003-08-22 05:13:29 +00:00
itojun 8fb8c94387 regen 2003-08-16 06:39:12 +00:00
itojun 9a9c255e39 Corega USB-TXC (uses Davicom DM9601E, does not work with existing driver) 2003-08-16 06:36:29 +00:00
augustss 6100a552cc Add Sony Ericsson DCU10 USB Cable. PR kern/22432. 2003-08-11 08:16:34 +00:00
augustss 3a0b9f8c20 Regen. 2003-08-11 08:15:00 +00:00
augustss d35ae49748 Add Sony Ericsson DCU10 USB Cable. PR kern/22432 2003-08-11 08:13:42 +00:00
wulf b6db36227b Add SIIG UISDMC2S Multicard Reader/Writer 2003-08-08 08:24:23 +00:00
wulf 03b1800985 Regen after adding SIIG UISDMC2S (0x0200) Multicard Reader/Writer 2003-08-08 08:00:57 +00:00
wulf 1a6211e5ae Add new product code for SIIG UISDMC2S (0x0200) Multicard Reader/Writer 2003-08-08 07:52:41 +00:00
nathanw 9cf81bef79 Bunch of changes to make the Palm Tungsten T work:
* Mark the actual Handspring Visor as type "VISOR" and all others
  "PALM4" (notably, the Sony Clie 41 changes from Visor-type to
  Palm4-type).

* For Palm4-type devices, use the GET_PALM_CONNECTION_INFORMATION
  query instead of the GET_CONNECTION_INFORMATION query, and interpret
  the returned data structure appropriately. This permits attaching a
  ucom device to newer devices such as the Tungsten T that do not
  support the Visor-style query (data structure definition gleaned
  from the Linux 2.4.21 visor.c).

* Crank down UVISORBUFSIZE from 1024 to 64 to avoid a problem where
  the Palm device and the USB host controller deadlock. The USB host
  controller is expecting an early-end-of-transmission packet with 0
  data, and the Palm doesn't send one because it's already
  communicated the amount of data it's going to send in a header
  (which ucom/uvisor are oblivious to). This is the problem that has
  been known on the pilot-link lists as the "[Free]BSD USB problem",
  but not understood.

  XXX It would be better for the Palm protocol to be handled entirely
  in userland via ugen, since the serial protocol abstraction isn't
  really adequate for the amount of structure that's here, and the
  64-byte limit is just a workaround. The pilot-link tools aren't up
  to the task yet, though.
2003-08-03 21:59:26 +00:00
gehenna 63452158ba Regen (EDIROL UA-3FX) 2003-07-30 04:50:25 +00:00
gehenna 63741a9060 Add suffix 'A' for UA-3FX advanced mode. 2003-07-30 04:49:12 +00:00
gehenna 0bdf85cae2 Add EDIROL UA-3FX audio I/F 2003-07-30 04:47:55 +00:00
lukem 365cbd9428 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
drochner 8c4f2074f2 avoid a gcc3 warning about a never-true comparision in the
mstohz() macro
2003-07-03 11:24:13 +00:00
martin 273141ddfc Regen (Sony USB Memory Stick Slot (MSC-U03) added) 2003-06-30 12:42:27 +00:00
martin 950ba36af5 Add Sony USB Memory Stick Slot (MSC-U03),
from Katsuhisa ABE in PR 22017.
2003-06-30 12:41:37 +00:00
fvdl d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr 960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
jschauma 0f675a710b Regen after adding LaCie Pocket Drive and ACDC Pen Drive. 2003-06-26 00:20:18 +00:00
jschauma 1777ce56e3 Add support for two new devices:
-  LaCie Pocket Drive (http://www.lacie.com/products/product.htm?id=10023)
-  a Pen Drive (http://www.flash-memory-store.com/51usbflasdri.html)

The latter shows as a uhub with a umass and a ugen.  The ugen is the
"Secure Write" device, which presumably allows password protection with the
appropriate (windows only) driver.  Works fine without.

Ok by augustss.
2003-06-26 00:18:08 +00:00
augustss d495634233 Regen. 2003-06-23 23:01:09 +00:00
augustss 30b0700839 Add my new Laks watch with a flash disk.
Yes, I'm a geek.
2003-06-23 23:00:46 +00:00
augustss a28c261a76 Regen. 2003-06-23 21:56:59 +00:00
augustss 49ccba6c53 Add new device. From Urban Boquist. 2003-06-23 21:56:36 +00:00
augustss 7cdd37a934 Another quirk from Urban Boquist. 2003-06-23 21:11:29 +00:00
martin d505b18964 Make sure to include opt_foo.h if a defflag option FOO is used. 2003-06-23 11:00:59 +00:00
rjs 67e2545285 Regen. 2003-06-16 12:46:39 +00:00
rjs 946b6bccf2 Add vendor IDs for Ericsson, Hirose and AEI. 2003-06-16 12:45:20 +00:00
grant 42ddc68577 regen 2003-06-08 13:34:23 +00:00
grant c1b1b84e38 add another vendor ID for OnSpec Electronic Inc. 2003-06-08 13:33:16 +00:00
augustss be0211e579 Regn. 2003-06-07 17:01:24 +00:00
augustss 6c3bbf2a48 Eicon diva 852 isdn ta support. From Pavel Arnost, PR kern/21818. 2003-06-07 17:00:41 +00:00
augustss 18bd4aa617 Regen. 2003-06-03 23:22:16 +00:00
augustss bd311307e3 Add Motorola T720c and a quirk for it. 2003-06-03 23:22:00 +00:00
gehenna 637efc0116 Add AboCom UFE2000. 2003-05-25 14:36:56 +00:00
gehenna 9e736dcfd9 Regen. 2003-05-25 14:32:43 +00:00
gehenna d76735d9cf Add AboCom UFE2000 USB2.0 Fast Ethernet Adapter 2003-05-25 14:31:41 +00:00
augustss d9c803e9da Regen. 2003-05-24 23:30:47 +00:00
augustss a6c76ab0d9 Add some more entries. From FreeBSD and OpenBSD. 2003-05-24 23:29:11 +00:00
gson 34388cbdcc Function names printed in debug messages did not always match the
actual name of the function.
2003-05-13 04:41:59 +00:00
augustss 581056322e Support for Belkin F5U109. From PR kern/21534. 2003-05-11 16:26:49 +00:00
hamajima 8d97ea2fa6 Regen. 2003-05-10 17:52:02 +00:00
hamajima 54950a70eb Add Platronics DSP-400 Headset. 2003-05-10 17:47:14 +00:00
augustss 96221eb168 Try to make message about missing companion controllers clearer. 2003-05-10 12:04:22 +00:00
augustss 7209b4436c Regen. 2003-05-08 15:20:18 +00:00
augustss b76302ea23 Add another Diskonkey product id. 2003-05-08 15:19:46 +00:00
enami 507b844289 Regen. 2003-05-08 04:39:33 +00:00
enami c39e03508c Spell AirH"PHONE correctly. 2003-05-08 04:38:23 +00:00
augustss 5a80843f7d Regen. 2003-05-07 16:56:57 +00:00
augustss 392d5e112d Add some new devices. From FreeBSD. 2003-05-07 16:56:34 +00:00
dsainty 3437bf0668 Add quirk for the 3in1 MobileDrive USB SD card reader, also sold as the
"DSE USB ProDrive".
2003-05-06 09:58:44 +00:00
rafal 5741e0f6ce Regen for MELCO Inc. MCR-SM2 SmartMedia Card Reader 2003-05-06 02:07:16 +00:00
rafal d856fe57b6 Add MELCO Inc. MCR-SM2 SmartMedia Card Reader, from FUKAUMI Naoki in PR 18990. 2003-05-06 02:05:43 +00:00
dsainty ee6dbf8959 Regen. 2003-05-05 11:59:13 +00:00
dsainty da6d9d4cb0 Add 3in1 MobileDrive product (inside the Dick Smith ProDrive) 2003-05-05 11:56:27 +00:00
wiz 1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
dsainty 325b10be64 Use the correct bus name in "bus not configured" errors for SCSI and ATAPI 2003-04-26 12:46:59 +00:00
augustss 4d876de100 Regen. 2003-04-22 22:08:00 +00:00
augustss a237a7a011 Fix some naming bugs. 2003-04-22 22:07:40 +00:00
augustss b12c8ecd7f Add another device. 2003-04-22 22:07:05 +00:00
augustss 7d5779ad01 Recognize more devices. From FreeBSD. 2003-04-21 16:38:34 +00:00
augustss 6be8a91f88 Add quirk. From FreeBSD. 2003-04-21 16:37:42 +00:00
augustss 33011a8fcf Regen. 2003-04-21 16:37:14 +00:00
augustss ac600b6a72 Add more devices. From FreeBSD and OpenBSD. 2003-04-21 16:36:52 +00:00
uwe 7b16962da2 Quirk Pilotech CRW-600. 2003-04-18 23:38:18 +00:00
uwe fa83041685 Regen for Pilotech CRW-600. 2003-04-18 23:31:43 +00:00
uwe f700119cc7 Add Pilotech and its CRW-600 6-in-1 USB flash reader. 2003-04-18 23:28:09 +00:00
jdolecek 9d23bccfba add quirk for Avance Logic USB Audio
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:43:44 +00:00
jdolecek 8d4a0cf374 regen:
fix handle for Avance Logic (AVANCELOGIC, not ADVANCELOGIC), and add
id for their USB Audio Speaker
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:41:48 +00:00
jdolecek e566bf6b6e fix handle for Avance Logic (AVANCELOGIC, not ADVANCELOGIC), and add
id for their USB Audio Speaker
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:41:00 +00:00
jdolecek 5e0c8413f3 uaudio_match_alt_sub(): fix the rate check in UA_SAMP_CONTNUOUS case
to match if UA_SAMP_LO() == UA_SAMP_HI() == rate
problem reported and fix provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:38:02 +00:00
augustss 44617bfaa7 Add quirk for Genesys Logic GL641USB. From PR kern/21131. 2003-04-13 20:54:31 +00:00
simonb e200992e30 Use Tungsten T instead of m550. 2003-04-11 01:30:10 +00:00
simonb fe2cc35875 Regen; rename Palm M550 to Tungsten T. 2003-04-11 01:28:18 +00:00
simonb bbd68bc758 Rename Palm M550 to Tungsten T. 2003-04-11 01:25:25 +00:00
nakayama a58fc7e1b2 Regen. 2003-04-05 19:11:44 +00:00
nakayama c559c6cf5d Rename "USB Reader" to "USB 6 in 1 Card Reader/Writer" more clearly
(pointed out by perry in private mail).
2003-04-05 19:10:12 +00:00
nakayama f126378bbb Add quirk for Pen USB Reader. 2003-04-05 17:25:33 +00:00
nakayama 5890db6c2a Regen. 2003-04-05 17:23:49 +00:00
nakayama 59a67e04d6 Add USB Reader. 2003-04-05 17:22:50 +00:00
toshii ba612a905f Use MaxPacketSize for setting up isochronous pipe for recording.
This fixes dropping samples.
2003-03-30 04:47:13 +00:00
simonb ea65230233 Regen: Add device id for Trumpion T33521. 2003-03-23 00:58:16 +00:00
simonb 3dd66de041 Add device id for Trumpion T33521 (used in (at least one) Creative MP3
player, almost attaches as a sd@umass).
2003-03-23 00:57:15 +00:00
augustss ca5deec209 Regen. 2003-03-19 16:22:46 +00:00
augustss 9f3758dce4 Add an NHJ camera. 2003-03-19 16:22:24 +00:00
augustss 287c3adc4d Update URLs for the HID spec.
(Committed at 36000 feet above the Atlantic on board LH418 using
a broadband satellite connection.)
2003-03-11 16:44:00 +00:00
augustss bf2de652b1 Change debug message. 2003-03-09 19:51:13 +00:00
shiba 012395b8fb Used correct aue_flags in ELECOM LD-USB/T and ELECOM LD-USB/TX.
Submitted by: Yasushi Oshima <oshimaya@sc.starcat.ne.jp>
              Takeshi Shibagaki <shiba@netbsd.org>
                 (refer to [bsd-usb:685],[bsd-usb:686])
Approved by: gehenna, kanaoka
2003-03-05 17:37:36 +00:00
nakayama 3fd1afa7af Add quirk to probe I-O DATA USB-SC2 as umass.
(tested on sparc64 and i386)
2003-02-24 13:11:55 +00:00
nakayama b818704815 Regen. 2003-02-24 13:07:52 +00:00
nakayama 89f39fecfa Add I-O DATA USB2-SC (USB2.0-SCSI Bridge) 2003-02-24 13:06:45 +00:00
simonb ac161ae918 Remove assigned-to but not used variable. 2003-02-23 04:20:06 +00:00
simonb 9bfb5c46f4 Remove unreachable break after return. 2003-02-23 04:19:26 +00:00
tsutsui 881b65ce01 Use mstohz() in <sys/param.h> rather than homegrown MS_TO_TICKS(). 2003-02-22 05:24:16 +00:00
tsutsui fa7988ee3e Remove unused MS_TO_TICKS(). 2003-02-22 05:18:50 +00:00
augustss fe29dd94be Bail out early in isoc_done if the ii is not on the interrupt list. 2003-02-19 01:35:04 +00:00
augustss 47f7f552a2 Don't take xfers off the interrupt list if they are not on it yet. 2003-02-16 23:15:27 +00:00
augustss 50e312d584 Add a reference count to avoid detaching while the attach is still
waiting.
2003-02-16 23:14:06 +00:00
augustss 44563df953 Rework the mixer controls somewhat and give the controls in a FEATURE
unit alias names so normal mixer programs can access them.
2003-02-16 18:16:07 +00:00
augustss 6a5e88a858 Add a comment. 2003-02-16 17:40:05 +00:00
augustss 2eaee0aca2 Split out register definitions.
Clean up PHY init a little.

Use two outstanding read xfers to avoid dropping packets.
2003-02-16 17:18:47 +00:00
augustss 78521590f2 Make it work (albeit slow). 2003-02-16 13:52:37 +00:00
augustss 2fe25d04b8 Check in some work-in-progress (not yet operational). 2003-02-15 18:33:29 +00:00
augustss b3861dad89 Regen. 2003-02-15 18:30:55 +00:00
augustss 2f45046cd8 Add two new devices. 2003-02-15 18:30:28 +00:00
ichiro b43d919954 add SUNTAC Ir-Trinity IS96U
from FreeBSD
2003-02-12 15:36:20 +00:00
ichiro f6b8f0fcf8 regen 2003-02-12 15:34:53 +00:00
ichiro 33925bb372 add SUNTAC Ir-Trinity IS96U 2003-02-12 15:34:18 +00:00
ichiro 7f36ac7104 add SUNTAC U-Cable type D2
from FreeBSD
2003-02-11 00:02:45 +00:00
ichiro 6e231f6386 regen 2003-02-11 00:01:24 +00:00
ichiro d2e9b4b23d add product SUNTAC U-Cable type D2 2003-02-11 00:00:43 +00:00
ichiro 443e6bd05b regen 2003-02-08 04:21:51 +00:00
ichiro b58be339b3 add product
National Instruments GPIB-USB-A
2003-02-08 04:21:22 +00:00
ichiro 79f2f91bad regen 2003-02-08 04:08:23 +00:00
ichiro d334318f81 add product
Sun Communications Inc. Mobile-adaptor
2003-02-08 04:07:36 +00:00
ichiro 6236662a85 change URL pointers of USB[1,2] specification 2003-02-08 03:32:50 +00:00
augustss 529cc7ff54 Add more PDAs (untested). 2003-02-07 18:12:37 +00:00
augustss 4dee2e92d2 Regen. 2003-02-07 18:08:25 +00:00
augustss a9a792e32c Add HAndspring Treo. 2003-02-07 18:08:06 +00:00
augustss aed26c3d33 Regen. 2003-02-07 18:06:49 +00:00
augustss 05a8763715 Add some Palm and Sony PDAs. 2003-02-07 18:06:23 +00:00
augustss 16bb013530 Add Palm Zire. From kern/20206, Michael van Elst. 2003-02-05 00:50:14 +00:00
augustss 24f2257398 Regen. 2003-02-05 00:49:05 +00:00
augustss a7d8c3912e Add Palm Zire. 2003-02-05 00:48:47 +00:00
augustss 3cb14e4ac0 Regen. 2003-02-04 18:52:16 +00:00
augustss 9d1301b388 Add another ThumbDrive (from FreeBSD). 2003-02-04 18:51:49 +00:00
augustss 267379440e Fix a botched loop copied from the ohci driver (already fixed in ohci.c).
Pointed out by Daniel Ellis <dan@pod51.demon.co.uk>.
2003-02-04 18:41:20 +00:00
thorpej b193480908 Add extensible malloc types, adapted from FreeBSD. This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
2003-02-01 06:23:35 +00:00
thorpej 12eeed2f38 Use aprint_*(). 2003-01-31 05:25:57 +00:00
gehenna fbf74eae32 regen 2003-01-29 03:55:34 +00:00
gehenna dc1b785a6e NETGEAR FA120 (USB 2.0 Fast Ethernet Adapter) 2003-01-29 03:54:05 +00:00
toshii 1e6d7bcb87 Use PRId64 for daddr_t in a DPRINTF. 2003-01-27 13:06:38 +00:00
wiz 902dd8b54d Undo last (not supposed to be committed). 2003-01-27 00:32:44 +00:00
wiz b091df0ed2 regen (CANOSCAN N670U). 2003-01-27 00:31:01 +00:00
wiz 4307232850 Add CANON N670U scanner id. 2003-01-27 00:29:31 +00:00
tsarna 68d5821c1b regen 2003-01-24 01:51:09 +00:00
tsarna 1b01d76d23 Add Griffin PowerMate 2003-01-24 01:49:22 +00:00
markd 31b8810652 Regen. 2003-01-24 00:19:40 +00:00
markd 4606c7c4e4 Add Nikon E885. 2003-01-24 00:18:26 +00:00
augustss 0dd40ac3d5 Fix typo in last commit. 2003-01-21 21:00:56 +00:00
augustss 98a0fdb690 Make sure to set xs->datalen when we force a short inquiry. From kern/19971,
Shingo WATANABE.
2003-01-21 20:56:57 +00:00
augustss fa5b0c9ca0 Add quirk for Melco adapter. From kern/19971, Shingo WATANABE. 2003-01-21 20:56:13 +00:00
augustss 9c6ee93f4b Regen. 2003-01-21 20:53:51 +00:00
augustss 234e556fd2 Add Melco USB-IDE adapter. 2003-01-21 20:53:29 +00:00
augustss 5ad4518358 Lower debug level so the match routine isn't so verbose. 2003-01-20 21:14:57 +00:00
simonb d7b879c6ec Grrr. So much for my ability to use grep(1) effectively. Pointed out
by Stephen Degler in private mail.
2003-01-20 07:12:12 +00:00
simonb 276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
bouyer 2d7b577657 When padding to URL_MIN_FRAME_LEN, memset the extra buffer space used. 2003-01-15 22:40:34 +00:00
augustss 16d56c01d2 Regen. 2003-01-15 13:36:23 +00:00
augustss 61f5ebcc50 Add Epson Perfection 2400. From kern/19856, Rob Quinn. 2003-01-15 13:35:55 +00:00
tron a7bc8e6057 Add support for Epson Perfection 1260. 2003-01-13 21:51:30 +00:00
tron ced7282b45 Regen from "usbdevs". 2003-01-13 17:26:33 +00:00
tron 341e2f7441 Add Epson Perfection 1260 scanner. 2003-01-13 17:25:20 +00:00
dsainty e648b82855 Changed the interface for passing output data between the bthci driver
and the back end Bluetooth device driver.  The device driver now
allocates a suitable buffer on behalf of the bthci driver, and bthci
fills the buffer before despatch.

This saves an ugly temporary allocation (in bthci) and memory copy (in
the USB driver) per write, and also works better with the
sockets-based interface I'm experimenting with.
2003-01-11 06:12:09 +00:00
augustss a9dbc85017 Try to get full device descriptor a few times. This makes some slow
devices work.  From FreeBSD.
2003-01-10 11:19:13 +00:00
augustss 89b8fd8b00 Regen. 2003-01-10 11:13:51 +00:00
augustss 7d481b8bc1 Add Epson 1660. From kerm/19767, Neil Short. 2003-01-10 11:06:58 +00:00
augustss cd3665ed2a Add Epson 1660. From kern/19767. 2003-01-10 11:06:13 +00:00
gehenna aab035b2c2 Add quirk for NeoDio ND3050. 2003-01-10 00:52:13 +00:00
gehenna cea6e962cb Regen. 2003-01-10 00:50:55 +00:00
gehenna c77255a12b Add NeoDio A 6-in-1 Flash Device Controller with USB Interface. 2003-01-10 00:50:00 +00:00
grant 3258109e78 regen 2003-01-07 12:20:10 +00:00
grant 0a49647d6b add Cambridge Silicon Radio and their Bluetooth USB Adapter. 2003-01-07 12:19:16 +00:00
wiz 45ad5c9584 successful with only one l. 2003-01-06 12:46:05 +00:00
scw 584c708e83 When detaching a ulpt device, call vdevgone() for the corresponding
NOPRIME minor device too.
2003-01-05 10:19:42 +00:00
dsainty 97f7cada0b Make the ubt driver functional. This is an experimental, incomplete, but
actually functional driver.  It provides a local HCI interface to the
HCI-over-USB interface on standards-compliant Bluetooth USB devices.

Currently this device can be attached to the bthci driver for direct user-land
access to the device.
2003-01-05 05:20:20 +00:00
dsainty 6957647e8b Move #define UBT_DEBUG from ubt.c to usb_port.h 2003-01-05 03:48:18 +00:00
dsainty 388a82e194 Knock off some XXX'd code: Use malloc() instead of a fixed length buffer
on the stack.
2003-01-02 11:00:21 +00:00
tron 3e383d4995 Regen from "usbdevs". 2003-01-02 09:20:39 +00:00
tron e2ecbdf4c0 Copy USB product id for HP DeskJet 1220C from FreeBSD-current to fix
build problems in "usb_quirks.c".
2003-01-02 09:20:21 +00:00
imp 906987bba8 Merge changes from FreeBSD:
o HP 1220C
o Sanyo SCP-4900 (needs UQ_ASSUME_CM_OVER_DATA to work with umodem)
2003-01-02 04:19:00 +00:00
imp ca15bf77d6 Sync to usbdevs 1.286 2003-01-02 04:04:23 +00:00
imp abf9e63902 Add Sanyo SCP-4900 3G phone. 2003-01-02 04:01:46 +00:00
dsainty 439063014c Initialise uhubdebug so that it's patchable in a kernel image 2003-01-02 03:20:09 +00:00
augustss 25ffe0e71a Regen. 2003-01-01 16:36:51 +00:00
augustss 16de3525ca Add Vivitar camera. From OpenBSD. 2003-01-01 16:36:20 +00:00
augustss 0ac88e0baf Don't try to use 1284 mode. 2003-01-01 16:32:58 +00:00
augustss f2590fdb81 Reissue the MAXP command on resume. From FreeBSD. 2003-01-01 16:25:59 +00:00
augustss 8789d465b2 Try getting string descriptors in a slightly different way to works around
some problematic devices.  From Alexander Kabaev <kan@FreeBSD.ORG>.
2003-01-01 16:21:50 +00:00
toshii 086cbf5710 Assign NULL to sc_pipe after closing, so that usbd_close_pipe isn't
called twice.  At least in NetBSD, the detach function is called when the
device is removed, even if the attach function has failed.
This is probably the cause of panics reported in kern/19326.
2003-01-01 15:55:48 +00:00
thorpej 72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
dsainty 3204b83aa5 Be somewhat more persuasive about enabling the port on a port reset.
USB protocol dictates that the port enable must be implied by the port
reset. To implement this on (at least) the VIA VT83C572 this means we
need to wait around tweaking the chip state until the port actually
transitions to enabled (or the device goes away).  Likely fixes
kern/11018.
2002-12-31 02:21:31 +00:00
dsainty 0bdb52527a CONSTCOND away some lint warnings 2002-12-31 02:04:49 +00:00
augustss 914250b8f3 Another quirk. 2002-12-31 00:50:07 +00:00
augustss 13d6b87d32 Use a somewhat bigger buffer for the vendor string. 2002-12-31 00:39:11 +00:00
dsainty 3d3cc353c3 extern references to debugging globals that really exist elsewhere 2002-12-30 02:44:32 +00:00
dsainty 47fa5a292f An earlier revision of the data sheet documented MIR data rate support,
576000bps and 1152000bps.  In the current published version of the data
sheet the MIR support documentation is gone, and the MIR mode bit is
documented as reserved.  Possibly the device has a design flaw affecting
the MIR data rates?  Document here that this information came from an
earlier data sheet, but leave MIR support in for the moment.
2002-12-28 06:04:18 +00:00
dsainty 912898cad7 Update reference to online data sheets 2002-12-28 05:35:34 +00:00
dsainty 4bfd7daa84 This device has a single FIFO shared by both incoming and outgoing data.
If a series of outputs are delivered to the device before the kernel thread
has polled for input data, any input data will be lost.  As a
counter measure, always force an input check between outputs.
2002-12-28 04:55:30 +00:00
dsainty 562d1e4603 Delinting - as the data passed to ustir_dumpdata() is always u_int8_t,
use that type in the prototype too.
2002-12-28 04:28:39 +00:00
dsainty df379868e8 Delinting - don't treat ennumerated types as booleans 2002-12-28 04:23:40 +00:00
dsainty 6e4d13a881 Delinting - sprinkle some ARGSUSED 2002-12-28 04:16:33 +00:00
augustss 095017c9ef Add quirk. From kern/19499, Werner Backes. 2002-12-23 12:42:53 +00:00
augustss 09b10d25e0 Regen. 2002-12-23 12:40:03 +00:00
augustss cb1f48b543 Add SIIG MULTOCARDREADER. From kern/19499 2002-12-23 12:39:36 +00:00
tron c4b584f5c4 Use "NULL" instead of "0" in pointer checks. 2002-12-18 14:12:33 +00:00
toshii cf41cc5294 Add a couple of le32toh which were missing in the previous.
Pointed out by SOMEYA Yoshihiko.
2002-12-10 14:07:37 +00:00
toshii 21318640e1 Update xfer->frlengths for input isoc transfer. Based on patches from
SOMEYA Yoshihiko.
Also fix error handling for isoc transfer somewhat; usb_transfer_complete
shouldn't be called for more than once.
2002-12-07 07:33:20 +00:00
toshii 44f269f8ff Fix several nits. Mostly from SOMEYA Yoshihiko.
- Call usbd_transfer_complete at splusb.
- Fix a botched for loop in ohci_rem_ed.
- In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race
 condition.
2002-12-07 07:14:28 +00:00
toshii 384b45d203 Remove junk at the end of a DPRINTF. From SOMEYA Yoshihiko. 2002-12-07 06:52:11 +00:00
erh 6278998229 kern/12837: Provide a way to get working devices that violate the usb spec by
returning a non-matching CSW tag.
Defined a quirk for this and set it for Scanlogic SL11R, which gets my
NEO Jukebox working.
2002-12-06 03:57:51 +00:00
itojun 909d6f1e41 regen 2002-12-03 09:27:20 +00:00
itojun b1780a969c fujitsu AH-F401U AirH" USB
(128K PPP device/should be attached as ucom, but not yet)
2002-12-03 09:27:00 +00:00
toshii 350768d9f8 Don't stuff extra data when we receive data less than expected.
This situation is normal for asynchronous sources, and the byte stuffing
algorithm used generates unpleasant noise.
Also take care of scattered data buffer and do memcpy correctly.

This should fix PR kern/16385.
2002-12-02 02:36:14 +00:00
gehenna 1b8f0943e1 EasyDisk and Solid state disk like PQUIRK_NOMODESENSE. 2002-11-28 10:08:28 +00:00
gehenna b69718e434 Regen. 2002-11-28 10:05:58 +00:00
gehenna e2b8ef4c4e add OTI Solid state disk 2002-11-28 10:04:39 +00:00
christos 514f7047e4 si_ -> sel_ 2002-11-26 18:49:40 +00:00
thorpej de5b141b6a Avoid strict-alias warnings. 2002-11-25 02:28:56 +00:00
fvdl 77decc8b5a Avoid uninitialized var usage in detach. 2002-11-25 00:51:33 +00:00
fvdl 90dbf6a726 Need <sys/device.h>; on a lot of platforms it's probably included
indirectly, but not on some others.
2002-11-25 00:49:52 +00:00
martin 9b7331f3f2 Add a comment describing why ehci_dump() has been added back despite
not being referenced.
Suggested by Perry E. Metzger.
2002-11-19 19:18:09 +00:00
dsainty ad9ef28cf5 Regen. 2002-11-14 11:33:48 +00:00
dsainty c4701e3705 Add Palm m550 (Tungsten) 2002-11-14 11:30:26 +00:00
martin 8a5edd4981 Ooops, put back ehci_dump() which I accidently removed in the last commit.
Thanks to enami tsugutomo for noticing this.
2002-11-11 20:55:28 +00:00
martin 2116496797 Move ehci_dump_exfer into #ifdef DIAGNOSTIC, it's not called w/o.
From FUKAUMI Naoki in PR 18988.
2002-11-09 08:59:46 +00:00