Commit Graph

1206 Commits

Author SHA1 Message Date
augustss
996efaa78c Ad a comment. 2001-01-21 19:00:29 +00:00
augustss
df20cb2972 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.
2001-01-21 19:00:06 +00:00
augustss
d8f68f3949 Add a quirk for devices that cannot handle full length INQUIRY.
From FreeBSD.
2001-01-21 18:56:38 +00:00
augustss
8502ed9498 Remove `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 16:55:11 +00:00
augustss
e391b64407 Change watchdog code (from FreeBSD). 2001-01-21 16:06:48 +00:00
augustss
1d6d81b317 Get rid of `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 16:03:11 +00:00
augustss
25c15e3189 Regen. 2001-01-21 15:58:01 +00:00
augustss
f4f53b10ea Another hub. 2001-01-21 15:57:41 +00:00
augustss
b2245c50fc Several changes:
* Get rid of `#ifdef FreeBSD'; they seem to maintain their own version.
 * Change watchdog code (from FreeBSD).
 * Get rid of the horrible USBD_NO_TSLEEP hack.
 * Repair some const damage.
2001-01-21 15:55:05 +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
0c40fe5115 Ad define for warm boot rev. 2001-01-21 02:35:31 +00:00
augustss
29984607e8 Trim space off both ends of device product and vendor strings. 2001-01-21 02:34:34 +00:00
augustss
8894e84df0 Use a better way to test if we are cold starting the device. (From FreeBSD) 2001-01-21 02:33:52 +00:00
augustss
60708ce539 Regen. 2001-01-21 02:28:55 +00:00
augustss
27293db05d A couple of new devices (from FreeBSD). 2001-01-21 02:28:30 +00:00
augustss
227c27096f Add some initialization to struct ifnet that seems to have become
necessary.
2001-01-21 02:22:27 +00:00
augustss
1aca8405a5 Cosmetic changes. 2001-01-21 00:07:13 +00:00
augustss
f7dc96fe4c Change some splusb() to splhardusb(). 2001-01-20 23:36:02 +00:00
ichiro
541fa6ecfa regen 2001-01-20 20:53:34 +00:00
ichiro
2d5b0a4ff5 typo fix
reported by kei_sun@ba2.so-net.ne.jp
2001-01-20 20:53:07 +00:00
ichiro
88e7f62500 regen 2001-01-19 17:28:58 +00:00
ichiro
ee8a058b1d add USB serial adapter
I/O DATA USB-RSAQ2 (use PROLIFIC PL2303 chip)
2001-01-19 17:28:15 +00:00
jdolecek
e07a5ff574 constify 2001-01-19 08:54:21 +00:00
augustss
79c6c8ec3f Make this compile again after const-ification. 2001-01-19 04:01:10 +00:00
jdolecek
34c8ae80da constify 2001-01-18 20:28:15 +00:00
tv
e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
augustss
1d25789f34 Update with recent files. 2001-01-16 11:54:13 +00:00
augustss
6fe782cff1 Use the real Y@P firmware. Permission granted by Kamal Parmar,
<kamal@siliconportals.com>, at Silicon Portals.
A big thanks to Silicon Portals for being cooperative (unlike many USB
device vendors).
2001-01-16 03:10:09 +00:00
tshiozak
2ed1e48455 List two USB MIDI I/Fs; YAMAHA UX256 and Roland UM-1.
These devices, however, aren't conforming to USB-MIDI class spec.

BTW, here is very experimental version of the driver for these devices:
http://www.imou.to/~AoiMoe/UNIX-at-Random/garbage/umidi-2001-01-15.diff.gz
2001-01-15 20:26:46 +00:00
augustss
845a2d5b53 Fix comment typo. 2001-01-15 03:52:03 +00:00
explorer
8fcc8721da Put the UQ_ASSUME_CM_OVER_DATA quirk back in. Without it, the Ricochet GS modem fails to work even with the other changes. 2001-01-11 20:35:02 +00:00
augustss
35e36fee18 Add USSCANNER_DEBUG 2001-01-11 06:33:51 +00:00
augustss
d03f7a8f4b Mention that I found protocol info in the Linux driver. 2001-01-11 06:33:22 +00:00
augustss
7d90b0cb9c Note that I got information about the protocol from the Linux driver. 2001-01-11 06:20:04 +00:00
augustss
8765aa2c42 Add a driver for HP5300 which uses a homebrew SCSI-over-USB protocol.
Furthermore, it uses Avisions scanner-over-SCSI protocol (but that's
not visible in the driver).
Thanks to Lloyd Parkes for testing and debugging and to Jukka Marin for
testing.
XXX This driver should be extended to handle Microtek scanners as well.
2001-01-11 06:00:31 +00:00
augustss
e6616f532a Cosmetic changes. 2001-01-08 20:21:16 +00:00
augustss
e90b26477e Regen. 2001-01-07 14:47:00 +00:00
augustss
6d5a1918f8 Add Epson 1640 scanner. (From FreeBSD) 2001-01-07 14:46:31 +00:00
augustss
5b6d98341e Try both the old (wrong) and new SOFT_RESET request type. 2001-01-07 14:26:19 +00:00
augustss
94094c44ab Change debugging output a little.
Don't the for the wrong id when UMASS_DEBUG is set.
2001-01-06 12:14:39 +00:00
augustss
f6f8ab2d11 Don't #define UAUDIO_DEBUG here. 2001-01-06 12:12:24 +00:00
mycroft
f73703a4a6 Set the play and record parameters separately.
If the device is unidirectional, just ignore parameters in the other direction.
(XXX We need a better way of dealing with this.)
Only set curaltidx if we're setting usemode.
This makes both the Altec Lansing speaker set and the Telex bidirectional frob
work again.
2001-01-04 07:05:00 +00:00
mycroft
c142ce184b Several things:
* Only match an alternate which is in the same direction.
* Use 16-bit ulaw and alaw conversions for output, if possible.
* Store the interface handle in the `alternate' table, so we use the right
  interface when creating pipes for devices with both play and record.
Record doesn't seem to actually return any data from the Telex frob, but at
least it doesn't crash or return EIO now.

XXXXXXXX
This is a big f*cking hack.  Play and record need to be separated completely
if this code is ever going to even pretend to support full duplex.
2001-01-04 06:20:49 +00:00
mycroft
6ff81e44ec No really, this is half-duplex for now. Lame. 2001-01-04 05:25:24 +00:00
mycroft
ab1d9b87b0 Make some vague attempt to handle devices that do both input and output. This
probably needs more work, but at least my Telex frob can play music now.
Also, AUDIO_DEBUG -> UAUDIO_DEBUG.
2001-01-04 03:53:09 +00:00
augustss
c2b9d052ba Cosmetics. 2001-01-02 23:08:54 +00:00
augustss
3ea054452a Add placeholder for firmware. 2001-01-02 22:38:51 +00:00
augustss
0e9ef4adc0 Forgotten commit for EZ-USB loader. 2001-01-02 22:24:00 +00:00
augustss
32e4d7004e Add a transient driver for the YAP phone that downloads firmware into
the EZ-USB chip.  After downloading the firmware the device detaches
and then reattaches as a composite device (audio + HID).

XXX For now there is no firmware committed since the vendor (Silicon
XXX Portals) has not yet agreed that we can redistribute their firmware.
2001-01-02 18:52:44 +00:00
augustss
5b86e8bfa8 Add subroutines to download firmware into Cypress (formerly Anchor)
EZ-USB chips.
2001-01-02 18:49:56 +00:00
augustss
f586756bcf Regen. 2001-01-02 09:53:16 +00:00
augustss
d3fd188459 Add a new TI hub chip. 2001-01-02 09:52:55 +00:00
augustss
8afb11bb20 Don't match on a bunch of scanners that should be handled by a
different driver.
2001-01-01 18:52:05 +00:00
augustss
47c95db1c3 Regen. 2001-01-01 18:51:08 +00:00
augustss
f33102e85d Add another scanner. 2001-01-01 18:50:42 +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
271adbd54e Try to get rounding right when setting mixer values. 2000-12-29 14:49:28 +00:00
augustss
560f4a2254 Set the mixer delta field. 2000-12-29 13:28:41 +00:00
augustss
34ee8a0f06 Supply our own report descriptor (from Nick Hibma) for the Wacom Graphire.
The descriptor it reports is broken.
XXX Not tested, because I don't have the device.
2000-12-29 01:47:49 +00:00
augustss
79f0bd6e1f Update many URLs. 2000-12-29 01:24:55 +00:00
augustss
e9853f047a Update location of specs. 2000-12-29 01:14:15 +00:00
augustss
20d1ae1adb Add two more quirks:
UQ_AU_NO_FRAC for audio devices that cannot handle adjustment for fractional
    sample size.
  UQ_AU_INP_ASYNC for input devices that claim to be adaptive, but are in fact
    asynchronous (an easy mistake to make unless you read the specs carefully :)
2000-12-28 11:56:22 +00:00
augustss
1e0da50daa Regen. 2000-12-28 11:53:25 +00:00
augustss
bdcc0b7ad1 Add device no for YAP phone with firmware loaded. 2000-12-28 11:53:01 +00:00
augustss
4dbac77503 #define for USB_2_0 2000-12-28 10:40:36 +00:00
augustss
5236b76556 Make message about ignored endpoint a little clearer. 2000-12-28 01:01:42 +00:00
augustss
d2098567fe Add audio terminal types. 2000-12-28 00:29:58 +00:00
augustss
19c0d40186 Even stubs need improvements. 2000-12-24 06:42:34 +00:00
augustss
63fbac9a7d Add some placeholders for the EHCI (USB 2) driver.
Don't get your hopes up.  I've not even finished reading the
(100+) page spec, and I have no hardware.
2000-12-24 06:39:01 +00:00
matt
9efc721402 Don't use atapi_print since if there are no wdc's, it won't be present. 2000-12-18 19:57:47 +00:00
tsutsui
3bd1aace1b Add missed le32toh() in uhci_device_isoc_abort(). 2000-12-18 15:55:30 +00:00
augustss
d1c538bc2f Don't repeat 'host controller halted' message. From OpenBSD. 2000-12-16 16:09:24 +00:00
thorpej
71cbcad899 ALTQ'ify. 2000-12-14 07:51:36 +00:00
augustss
34bb7b9a35 Don't try to access a device that is being disconnected when generating
the detach event.  Fixes (I hope) PR 11713 from itohy@netbsd.org (ITOH Yasufumi).
2000-12-13 04:05:14 +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
4df48420a1 Another Ethernet device. From nagae@tk.airnet.ne.jp in PR kern/11711. 2000-12-13 02:49:22 +00:00
augustss
9214be27c3 Regen. 2000-12-13 02:48:25 +00:00
augustss
9e199a03e6 Add another Melco LUA-TX device. 2000-12-13 02:47:26 +00:00
thorpej
c5293456da Adapt to bpfattach() changes, and further centralize the bpfattach()
and bpfdetach() calls into link-type subroutines where possible.
2000-12-12 18:00:22 +00:00
augustss
6e11678a15 Get rid of UQ_ASSUME_CM_OVER_DATA quirk; it's handled differently now. 2000-12-11 05:41:00 +00:00
itojun
0db3a835e2 regen 2000-12-08 08:13:45 +00:00
itojun
313bdadaa7 add STSN internet access device (no driver yet) 2000-12-08 08:13:34 +00:00
augustss
e5de940d42 Add a DIAGNOSTIC message. 2000-12-08 02:33:44 +00:00
augustss
330a5e12fa Don't call ether_ifdetach since we're not an ether driver. 2000-12-08 02:24:07 +00:00
augustss
dfd78cfc78 Set the debug level to 0. 2000-12-08 01:53:44 +00:00
augustss
28ca8986f0 Regen. 2000-12-07 01:02:42 +00:00
augustss
2532d95d53 Add an Atmel hub and a Logitech mouse. 2000-12-07 01:02:12 +00:00
jdolecek
80a6068f99 add I/O Data USB-ET/T (which uses KL5KUSB101B) to the list
Patch sent in kern/11635 by ORI Manabu
2000-12-06 21:44:08 +00:00
jdolecek
08ab4a9ad7 regen 2000-12-06 21:39:28 +00:00
jdolecek
c3dbd34e68 add I/O Data USB-ET/T id, sent in kern/11635 by ORI Manabu 2000-12-06 21:38:03 +00:00
augustss
f680fa762c Make sure to increment reference count while the (lengthy) opening
operation is happening so we don't lose on disconnect.
2000-12-05 14:01:33 +00:00
augustss
d801d9ec2b Regen. 2000-12-05 03:12:47 +00:00
augustss
d604cf563b Add another Epson printer. 2000-12-05 03:12:11 +00:00
augustss
0a739c7166 A portability define. 2000-12-04 03:38:56 +00:00
augustss
f4d0a8c54a Regen. 2000-12-04 03:37:07 +00:00
augustss
e2925e0555 Add YAP Phone. 2000-12-04 03:36:42 +00:00
augustss
7ec52ba411 Improve a debug message. 2000-11-26 21:05:02 +00:00
augustss
88bf6139e5 Regen. 2000-11-26 21:04:43 +00:00
augustss
63dfc5b570 Add an Intel camera (rfom OpenBSD). 2000-11-26 21:04:20 +00:00
takemura
3c9d9276dc Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
soren
efadefb53f In uhci_intr(), only warn about power state confusion if the
interrupt was actually for us.
2000-11-22 05:50:59 +00:00
soren
6f8985cf15 Regen. 2000-11-21 00:25:04 +00:00
soren
7736bcc821 Add Prolific printer adapter. 2000-11-21 00:24:12 +00:00
augustss
ef36370776 Regen. 2000-11-15 14:36:50 +00:00
augustss
d57ee8b358 Add Sony memory stick. 2000-11-15 14:36:09 +00:00
thorpej
b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
augustss
1ae6bcbbf0 Acerscan 320U doesn't do strings right. From FreeBSD. 2000-11-14 15:33:04 +00:00
augustss
ab324086df Set the open flag when opening the scanner. 2000-11-14 13:57:16 +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
1bfab105b0 Don't try to set CM_OVER_DATA feature if features cannot be set.
From Ryutaroh MATSUMOTO <ryutaroh@ss.titech.ac.jp> in PR # 11428.
2000-11-10 14:08:32 +00:00
augustss
0510b1739c Update documentation link. From OpenBSD. 2000-11-10 13:53:23 +00:00
augustss
9a10107274 Some OpenBSD defines. From aaron@monkey.org 2000-11-10 13:52:28 +00:00
augustss
f3030960da Add quirks for a Fuji camera. 2000-11-04 15:54:36 +00:00
augustss
9702e75aa1 Sync with FreeBSD: Add a scanner. Fix a pasto. 2000-11-03 04:00:15 +00:00
eeh
507aaec04c Adapt to the new line discipline scheme. 2000-11-02 00:01:44 +00:00
augustss
a675063a0d Add a hack to try and figure out if the TI UTUSB41 hub is bus powered
despite claiming to be self powered (it's important to know so that the
power budget can be met).
2000-10-24 15:01:26 +00:00
augustss
372ae0a636 The all time favourite hub, TI UTUSB41, doesn't report power right. :( 2000-10-24 14:57:35 +00:00
augustss
5cc8d65338 Adda quirk for hubs that do not report bus powered status in a normal way. 2000-10-24 14:56:09 +00:00
augustss
94e36acb29 Tell usbd_set_config_no() to be verbose. It's nice to know whyit fails. 2000-10-24 14:53:59 +00:00
augustss
71fc3f6ee2 Regen. 2000-10-24 14:51:51 +00:00
augustss
963138bceb Add Apple's cool new mouse. 2000-10-24 14:51:24 +00:00
explorer
7817cc2ba7 another Ricochet quirk, this time a well-known one. No device strings are provided from it. 2000-10-24 03:59:16 +00:00
explorer
365f7337ea make ucom into a random source, type TTY 2000-10-22 19:01:44 +00:00
explorer
eb27dda01d Add a new quirk: ASSUME_CM_OVER_DATA.
Set this on the Metricom Ricochet GS USB modem.

This particular modem breaks if the USB command to enable the feature
CM_OVER_DATA.  Since it appears to wake up in that mode already,
just pretend it is already on, and don't try to set it.

Since this commit is happening over my Ricochet modem, I assume it works
now.
2000-10-22 08:20:09 +00:00
explorer
b4bbac9584 add Ricochet GS USB modem 2000-10-15 17:53:17 +00:00
augustss
86974d7235 Regen. 2000-10-13 18:16:53 +00:00
augustss
67c8e3701d A bunch of scanners. 2000-10-13 18:16:36 +00:00
augustss
764c5e3eea Recognize HP 5300C. 2000-10-13 16:18:48 +00:00
augustss
8abfde6138 Regen. 2000-10-13 16:18:22 +00:00
augustss
54480a36e4 Add HP 5300C. 2000-10-13 16:18:02 +00:00
augustss
3a05d9ba7b Avoid empty strings for vendor&product. 2000-10-12 23:11:04 +00:00
augustss
4ed4915295 Regen. 2000-10-12 22:51:42 +00:00
augustss
0b0fb8e466 Add Kingston KNU101TX Ethernet adapter. 2000-10-12 22:51:20 +00:00
augustss
41bb27ce0d Regen. 2000-10-10 12:38:24 +00:00
augustss
1f06d9f822 Another vendor&product code. 2000-10-10 12:38:00 +00:00
augustss
8adc2fb7f3 Don't free unallocated pointer in detach (can happen if detach happens
before attach has finished).
2000-10-10 12:37:01 +00:00
augustss
cc577ca5c6 Regen. 2000-10-08 23:57:10 +00:00
augustss
b132b36f4d Add a few more devices (from FreeBSD). 2000-10-08 23:56:53 +00:00
augustss
62fb025c5c Regen. 2000-10-08 21:26:47 +00:00
augustss
447c19ac22 Add another DLINK adapter. 2000-10-08 21:26:26 +00:00
augustss
966f1692e1 Don't use a plural `s' if there is only one button. 2000-10-08 20:52:18 +00:00
augustss
b6db5a8622 Regen. 2000-10-08 20:51:30 +00:00
augustss
3598b417a3 Add a Fuji camera. 2000-10-08 20:51:00 +00:00
augustss
7ce859b8d0 Allow 16-bit only speakers to work. 2000-10-05 01:35:07 +00:00
augustss
5d4d9ec965 Update with uscanner.c 2000-10-04 02:45:07 +00:00
augustss
c068cf3953 Regen. 2000-10-04 02:09:37 +00:00
augustss
9d09a17e7c Add more vendors. 2000-10-04 02:09:07 +00:00
augustss
623aae812b Only probe for drive 0. Fix es problem reported by Nathan Williams
<nathanw@MIT.EDU>.
2000-10-03 04:33:03 +00:00
thorpej
7ca3fb9ef0 Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
itojun
3e401aa14d upl(4) is a IPv4 only device. 2000-10-01 11:35:28 +00:00
augustss
64d672931e Regen. 2000-09-28 01:27:16 +00:00
augustss
6f2ac8aed1 Add a couple of Apple products. 2000-09-28 01:26:49 +00:00
augustss
9623e356f0 Recognize Acer 320U. 2000-09-24 03:22:47 +00:00
augustss
fc015f6833 Regen. 2000-09-24 03:22:26 +00:00
augustss
641ee8fd93 Add another scanner. 2000-09-24 03:21:55 +00:00
augustss
d71044b313 Don't give up so easily if the device does not respond properly.
Mostly from Nick Hibma (FreeBSD).
2000-09-24 02:08:38 +00:00
augustss
f2a2c14d9a Recognize Sony memory sticks (from FreeBSD).
Add timing info in the debug output.
2000-09-23 21:03:00 +00:00
augustss
d9c7baa183 Add a way to do control transfers on other pipes than the default pipe. 2000-09-23 21:02:04 +00:00
augustss
6417d32d9d Avoid "bandwidth reclamation" for control transfers. The kue device chokes
on it.
2000-09-23 21:00:10 +00:00
augustss
c412966bb3 Fix puctuation. 2000-09-23 20:24:47 +00:00
augustss
0fab9d10ca Regen. 2000-09-23 18:42:05 +00:00
augustss
a5570006bc Add some more vendors. 2000-09-23 18:39:41 +00:00
augustss
770f6e2ae3 Add RCS Id.
The driver initially came from Nick Hibma (FreeBSD), which I forgpt to
mention in my initial commit.
2000-09-23 05:05:31 +00:00
augustss
23116295f4 Remove some // type comments. 2000-09-23 04:33:04 +00:00
augustss
e832785e4b Add USB scanner driver.
XXX Not tested yet.
2000-09-23 04:32:23 +00:00
augustss
4b45dfbb69 Fix a device diconnect bug found by Christian Groessler <cpg@aladdin.de>. 2000-09-22 02:34:58 +00:00
itojun
3486500f77 repair multicast filter setup. PR 11037 from Ryoji Kato. 2000-09-20 01:26:14 +00:00
ichiro
60095a9e92 regen. 2000-09-16 11:46:17 +00:00
ichiro
de4b3b44f1 delete "128MB"
same products number; 32MB,64MB,128MB
2000-09-16 11:45:38 +00:00
toshii
8debbc34ab Change the second argument of tiocm_to_ucom to u_long,
since the second argument of ioctl is a u_long value.
2000-09-15 17:03:24 +00:00
augustss
c1682ac85d Recognize Rio 600. 2000-09-14 03:13:21 +00:00
augustss
95cbe2c829 Regen. 2000-09-14 03:11:52 +00:00
augustss
d28bd1b67f Ad some new devices and change vendor name from SUPRA to DIAMOND2. 2000-09-14 03:11:23 +00:00
hubertf
9b8c74f603 regen for trek thumbdrive 2000-09-14 00:04:15 +00:00
hubertf
494592f30d Add Trek Technology ThumbDrive (128MB) 2000-09-14 00:02:56 +00:00
toshii
8b74873d54 Cleanup the error handling code introduced in rev. 1.26. Commented by jhawk.
No functional change.
2000-09-13 05:17:14 +00:00
toshii
f7d700a127 Make the control line handling a little better. Avoid a DTR/RTS issue
from uninitialized sc_mcr by not calling ucom_{dtr,rts} if possible.

XXX Flow control is still incomplete and needs more work.
2000-09-10 03:10:20 +00:00
toshii
6bc11dce71 In ucomopen(), make sure to call splx() before returning
when initialization fails.
2000-09-08 07:20:52 +00:00
augustss
19f36696bc ANSIfy last patch. 2000-09-08 01:27:12 +00:00
augustss
96d1acf3d6 Add isoc support. From FreeBSD via Berndt Josef Wulf <wulf@ping.net.au> 2000-09-08 00:55:26 +00:00
augustss
9a43fc6477 Regen. 2000-09-07 04:00:21 +00:00
augustss
006df0f4cb Add scores of scanners (from FreeBSD). 2000-09-07 03:59:55 +00:00
augustss
6c0346a534 Regen. 2000-09-05 22:39:59 +00:00
augustss
0b631b84eb Add a Logitech trackball. 2000-09-05 22:39:16 +00:00
augustss
5cf4edb506 Handle output packet headers in a cleaner way. From IWAMOTO Toshihiro
<iwamoto@sat.t.u-tokyo.ac.jp>, fixes kern/10573.
2000-09-03 19:15:45 +00:00
augustss
b2af314f55 Add a few more defines. From Nick Hibma and FreeBSD. 2000-09-03 19:09:14 +00:00
augustss
cf4250b7f3 Add UKBD_DEBUG. 2000-08-24 14:13:38 +00:00
augustss
fa9cfe5e39 Removed unnecessary variable declaration. 2000-08-24 14:12:34 +00:00
augustss
d08216d4e2 Add a quirk for audio devices that claim to have an extension unit, but it
can't be manipulated.
2000-08-24 14:11:09 +00:00
augustss
b3b158b922 Implement handling of the UQ_SPUR_BUT_UP quirk. Some keyboards sometimes
generate a key up quickly followed by a key down for the same key, so we
take care of that.
(Finally I can type again without going nuts. :)
2000-08-20 22:30:17 +00:00
augustss
d9426e06b6 Install usbdevs.h as well. 2000-08-20 22:25:20 +00:00
augustss
2af3c25d9d Regen. 2000-08-17 23:28:00 +00:00
augustss
7e5bb38ef2 Add an XXX comment. 2000-08-17 23:18:56 +00:00
augustss
2d8b50667e From FreeBSD: add code for Insystem USB cable. 2000-08-17 23:16:16 +00:00
augustss
44c15e95b5 Add two keys to the raw mapping for German keyboards.
From Matthias Kretschmer <McCratch@gmx.net>, fixes PR 10850.
2000-08-17 23:08:07 +00:00
darrenr
e1d18090ac add vendor/product information for Rainbow i-Key 2000 2000-08-17 15:17:00 +00:00
augustss
ed274219d5 Fix race condition when unlinking xfers. Thanks to IWAMOTO Toshihiro
<iwamoto@sat.t.u-tokyo.ac.jp> for analyzing the problem and suggesting a fix.
Fixes PR 10662.
2000-08-13 18:20:14 +00:00
augustss
4f325f2674 Implement what in Intel-speech is known as "bandwidth reclamation".
It means that we continously poll USB devices that have a pending transfer
instead of polling just once every ms.  This speeds up some transfers
at the expense of using more PCI bandwidth.
2000-08-13 16:18:09 +00:00
augustss
8cfcd021bd Take away some, add some. 2000-08-12 23:26:10 +00:00
augustss
be1aad52d8 Regen. 2000-08-12 14:58:20 +00:00
augustss
807228a4d8 Make attach message correct for non-umass devices.
Handle RBC (a SCSI subset).
2000-08-12 14:52:44 +00:00
augustss
3fff1255ea Add some more vendors and devices. 2000-08-12 14:51:01 +00:00
augustss
124bec855a Minor whitespace change. 2000-08-12 14:35:20 +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
drochner
78fa2d7e41 fix interrupt priority botch 2000-08-07 17:34:41 +00:00
augustss
daff45a51a Regen. 2000-08-04 11:57:59 +00:00
augustss
c54b0fde7a Add ATEN serial adapter. 2000-08-04 11:57:34 +00:00
augustss
a119131555 Be a little more explicit and careful about setting links in TDs and QHs. 2000-07-23 19:43:37 +00:00
augustss
3aacf9101a Regen. 2000-07-17 13:07:21 +00:00
augustss
82b491eecc Some more products (from FreeBSD). 2000-07-17 13:06:54 +00:00
augustss
555fde1163 Fix reversed test in umass_activate(). Probably fixes PR 10520. 2000-07-06 07:11:18 +00:00
augustss
feb8219648 Regen. 2000-07-03 01:07:25 +00:00
augustss
3c9acfbb29 Add some Alcor products. 2000-07-03 01:07:04 +00:00
mrg
261538ecac remove include of <vm/vm.h> 2000-06-28 16:39:25 +00:00
thorpej
6a6fdc8681 Kill SPLUSBCHECK -- it's not portable, and quite annoying on some
platforms which otherwise function just fine.
2000-06-24 04:12:53 +00:00
augustss
4f82723a61 Regen. 2000-06-19 14:58:37 +00:00
augustss
e38812aaad Add XTNDAccess IrDA. 2000-06-19 14:58:02 +00:00
augustss
88e928528c Unswap functiona arguments that got swapped during ANSIfication. Now
mixer controls work again.
2000-06-19 11:43:48 +00:00
augustss
fca2f40972 Regen. 2000-06-15 17:58:45 +00:00
augustss
032bdde358 Add Compaq's Personal Jukebox (I got one as a birtday present!) 2000-06-15 17:58:14 +00:00
thorpej
23ef490928 Deal with the fact that tsleep() may be a macro. 2000-06-07 00:33:51 +00:00
augustss
1c94b92bc4 Initialize pointer before doing free of it. 2000-06-06 11:36:21 +00:00
augustss
c6ddc6009b Make it compile with USB_DEBUG. 2000-06-01 15:51:26 +00:00
augustss
fff66007d9 Reorder a little. 2000-06-01 15:43:32 +00:00
augustss
5218e2a490 Improve some portability items. 2000-06-01 14:37:51 +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
augustss
7173e7efaf Add a comment. 2000-05-31 16:16:49 +00:00
augustss
ca8d562f6e Be more careful when setting the alternate interface. 2000-05-31 16:15:49 +00:00
augustss
18cd73168e Be more careful when setting the alternate interface so we don't end up with
nothing set at all if it fails.
2000-05-31 16:14:42 +00:00
augustss
6731216c72 Rename a define. 2000-05-31 16:13:31 +00:00
augustss
cedf73b36a Regen. 2000-05-31 16:12:29 +00:00
augustss
b9406eb3e2 Add a Chuntex hub. 2000-05-31 16:12:08 +00:00
augustss
d86618eb5a Implement the scsipi_getgeom method and guess the geometry of floppies
based on the number of sectors.
2000-05-31 09:17:13 +00:00
augustss
382a7af237 Don't print anything when detecting resume. 2000-05-30 16:56:54 +00:00
augustss
4f72f2f97d Regen. 2000-05-30 15:18:30 +00:00
augustss
6b0aea9254 Add TEAC floppy. 2000-05-30 15:17:18 +00:00
augustss
53f83c5533 Use attribute packed for on-the-wire data structures. 2000-05-30 10:10:17 +00:00
augustss
e4217da6d0 As a safety, check that the controller is not suspended when we get
an interrupt.
2000-05-30 09:26:06 +00:00
augustss
ea5a174495 Massage the SCSI commands when using the UFI protocol in a better way.
Now the Y-E Data Flashbuster floppy seems to work.

Thanks to Y-E Data for giving one to the project when I couldn't find
one easily.
2000-05-30 01:12:51 +00:00
jhawk
6513ba6e74 Make this compile with UHCI_DEBUG in the presence of
-Werror: uhci_dump is no longer static.
2000-05-28 22:02:05 +00:00
castor
9816b43753 regen 2000-05-20 06:30:13 +00:00
castor
773f9bb009 Add Geocast's vendor ID 2000-05-20 06:29:50 +00:00
thorpej
f636538446 NULL != 0 2000-05-19 04:34:39 +00:00
soren
22ead9a824 Regen. 2000-05-14 15:18:33 +00:00
soren
a2c48b9c79 Add a few devices. 2000-05-14 15:18:16 +00:00
thorpej
622e87734a Quiet some uninitialized variable warnings that do in fact look legitimate. 2000-05-08 18:28:46 +00:00
augustss
26f708a5a3 Handle the Linksys USB100H1 like the other Linksys adapters.
Restructure the code a little.
2000-05-06 20:38:59 +00:00
augustss
fd58a6ae12 Regen. 2000-05-06 18:28:36 +00:00
augustss
13d8353ffc Add Linksys USB100H1, an Ethernet and HomePNA adapter. 2000-05-06 18:28:01 +00:00
mycroft
d0d92c23d0 Use USBD_NORMAL_COMPLETION in the previous. 2000-05-03 18:21:36 +00:00