Commit Graph

2197 Commits

Author SHA1 Message Date
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
kristerw 63683d5acc Removed unused global variable "int repproto". 2002-11-08 22:03:50 +00:00
dsainty d85f3281dd ARGSUSED/FALLTHROUGH delinting (first pass) 2002-11-06 10:56:22 +00:00
cjs faade5e87c Fix typo. 2002-11-05 12:13:40 +00:00
cjs c866abcfc9 Restore umass_fixup_sony so that Sony cameras work once again. 2002-11-05 12:06:58 +00:00
pooka 00f370741b we don't own Jason, even if we'd like to
(fix typo in comment, in case you're wondering ;)
2002-11-04 19:17:33 +00:00
augustss a098e7a97d Avoid lint complaints. 2002-11-03 09:57:40 +00:00
ichiro c0c620567a regen 2002-10-31 10:40:19 +00:00
ichiro 5cbc05430b add WLI-USB-KS11G USB wlan adapter 2002-10-31 10:36:42 +00:00
augustss 94a55d86a0 Cosmetic changes. 2002-10-27 20:16:41 +00:00
jdolecek e0cc03a09b merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
christos f64a8c827d remove duplicate cpp defs. 2002-10-23 02:32:36 +00:00
itojun 6fdbe5f4cb regen 2002-10-20 13:50:36 +00:00
itojun 3a816c9777 PENTAX Optio230 (http://www.digital.pentax.co.jp/ja/optio230/)
From: Yasushi Oshima <oshimaya@sc.starcat.ne.jp>
2002-10-20 13:49:46 +00:00
jdolecek 0f4abac044 use nopoll() instead of empty uriopoll() for NetBSD
rename former uriopoll() to urioselect() and provide it only for OpenBSD -
  FreeBSD uses nopoll() for urio too
g/c no longer needed uriopoll define for OpenBSD
2002-10-11 20:29:30 +00:00
fair 336a7fda4a correct LP64 bug in RND code and close PR 18592 2002-10-09 06:27:09 +00:00
augustss 9487fc5b8b Make sure we are at splusb() while polling. 2002-10-09 01:02:26 +00:00
pooka 164c4e3bec ubsa_activate() is prototyped unconditionally as non-static,
reflect that here.

Fixes compilation on non-DEBUG kernels.
2002-10-08 16:13:36 +00:00
augustss e785db54af Add driver for Belkin (and other) serial adapter.
From FreeBSD.
2002-10-08 13:08:02 +00:00
augustss 581b31c79c Regen. 2002-10-08 12:40:52 +00:00
augustss f4cd09f3f3 Add some serial adapters. From FreeBSD. 2002-10-08 12:40:24 +00:00
dan 234b471752 Add support for uhidev children (eg, ums, ukbd) as rnd entropy
sources.

Multifunction devices, such as keyboards with built-in mice or
scrollwheels on different interfaces and/or repid's are each handled
as a separate entropy source.
2002-10-08 09:56:17 +00:00
kristerw bc68323a39 Correct test for busy-ness when setting parameters. 2002-10-06 10:01:08 +00:00
gehenna 3d14337121 g/c unused function. 2002-10-05 01:11:47 +00:00
gehenna bbe393f930 Alphabetical sort. 2002-10-04 08:31:57 +00:00
gehenna 78112440cc Remove 'any match' entry from quirks table.
This entry detects all unknown SONY USB devices as USB storage device.
2002-10-04 08:16:00 +00:00
soren 97a91a0443 PQI Travel Flash likes PQUIRK_NODOORLOCK too. 2002-10-04 03:40:57 +00:00
thorpej b75a007d9f Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
soren 45dfd29508 Regen. 2002-10-01 17:13:45 +00:00
soren be583d6f33 PQI Travel Flash Drive. 2002-10-01 17:13:17 +00:00
thorpej 90c48d2563 Use CFATTACH_DECL(). 2002-10-01 01:25:25 +00:00
augustss fc12d83285 Put some ifdefs around USB_USE_SOFTINTR stuff. From FreeBSD. 2002-09-30 16:36:19 +00:00
augustss 9c8c3183df Regen. 2002-09-29 21:20:39 +00:00
augustss 434abd832d Add #ifdef USB_USE_SOFTINTR for some softintr code. From FreeBSD. 2002-09-29 21:13:01 +00:00
augustss 9dd94a1878 Remove extra call to ohci_rem_ed(). From kern/18448, Takeshi Nakayama. 2002-09-29 20:59:30 +00:00
augustss 25ff7d8c33 Add some spl calls to protect critical regions. From kern/18440,
Takeshi Nakayama.
2002-09-29 20:58:25 +00:00
augustss 2505336106 Add a Netgear adapter. From OpenBSD. 2002-09-29 19:55:52 +00:00
martin a531f18275 Plug memory leak. From OpenBSD via PR kern/18457. 2002-09-29 10:19:21 +00:00
thorpej bf97c13c6c Declare all cfattach structures const. 2002-09-27 20:41:46 +00:00
provos 0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
thorpej 6c88de3b53 Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
simonb 8292cf7b00 Don't return a value in a void function. 2002-09-23 05:59:01 +00:00
simonb 4e3613273b Remove breaks after returns, unreachable returns and returns after
returns(!).
2002-09-23 05:51:10 +00:00
augustss 83ef67ef1d Add a struct shared by all unit and terminal descriptors. 2002-09-22 23:21:30 +00:00
augustss 9859bd8412 Increasre the reset recovery time. 2002-09-22 23:20:50 +00:00
augustss 614176bdc6 No trailing , in enum (from OpenBSD). 2002-09-12 21:00:42 +00:00
nathanw cdee09ffbb At least some versions of the M-Systems DiskOnKey also need
UMASS_QUIRK_NO_MAX_LUN.
2002-09-10 16:52:48 +00:00
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
uwe e724974d54 Add quirks for Neodio ND5010. 2002-08-31 22:51:16 +00:00
ross 839099aa7b regen 2002-08-30 00:34:09 +00:00
ross b2703dc568 fix typo 2002-08-30 00:33:15 +00:00
augustss 186b9996e7 Regen. 2002-08-29 16:46:36 +00:00
augustss d498b930ff Add two devices. 2002-08-29 16:46:15 +00:00
uwe ee45afec36 Add no strings quirk for Neodio ND5010. 2002-08-26 21:34:28 +00:00
uwe 6504ec382d Regen for Neodio/ND5010. 2002-08-26 20:25:06 +00:00
uwe fd02e2f63b Add Neodio and their nd5010 multi-format flash controller. 2002-08-26 20:18:56 +00:00
augustss bd028c470a Fix a name I forgot. 2002-08-24 17:58:15 +00:00
augustss ffc3083503 Attach Bluetooth host controller driver (which has not been written) to
ubt device.
2002-08-24 17:31:19 +00:00
augustss 4e63b2ebe1 Add needs-flag for ubtbcmfw. 2002-08-24 17:27:53 +00:00
augustss 36e33c869d Add sysctl support to firmware loader. 2002-08-24 17:24:04 +00:00
augustss 6add8c3d67 Remove some debugging crap. 2002-08-23 00:58:58 +00:00
augustss fb1033e35b Add firmware downloader for BCM2033 (no firmware yet; waiting for OK
from Broadcom).
2002-08-23 00:55:20 +00:00
augustss 19801c46c9 Regen. 2002-08-23 00:53:58 +00:00
augustss 70dfad754f Use separate ids for BCM2033 before and after firmware download. 2002-08-23 00:52:45 +00:00
augustss 974cba9514 Print a message saying that this is not real driver. 2002-08-22 10:17:46 +00:00
augustss 4b34ae978d A placeholder until we have a real Bluetooth driver. 2002-08-22 10:15:57 +00:00
augustss f7f7bb1ee4 Update class codes. 2002-08-22 10:15:12 +00:00
augustss b8a7c4ede8 Add Bluetooth related classes etc. 2002-08-22 10:08:34 +00:00
augustss cbd5a8c29d Fix typo. 2002-08-22 09:57:13 +00:00
augustss 8a40ad021e Regen. 2002-08-22 02:12:16 +00:00
augustss bd7284c0c1 Add Apple's Bluetooth adapter (Broadcom BCM2033). 2002-08-22 02:11:53 +00:00
augustss bbe21e45f5 Move a quirk tests so the message printed about directionality is right. 2002-08-15 09:32:50 +00:00
augustss b8866543d8 Set segment register if the device is 64 bit capable. 2002-08-14 11:20:28 +00:00
augustss 8e1e1415f8 Add Palm m515. From FreeBSD. 2002-08-13 11:38:15 +00:00
augustss 65d64346a9 Regen. 2002-08-13 11:37:22 +00:00
augustss 40c21e37cd Add Palm m515. From FreeBSD. 2002-08-13 11:37:09 +00:00
enami 18f74c0e31 The revision of new document is 1.0. 2002-08-13 09:58:05 +00:00
augustss 489236c043 Increase the timeout waiting for reset to finish.
Update documentation URL.
2002-08-13 09:51:27 +00:00
drochner 724142aab4 regen 2002-08-08 15:17:02 +00:00
drochner 2b013b41b9 add another quickcam 2002-08-08 15:16:22 +00:00
augustss ac60be1a15 Regen. 2002-08-07 23:26:34 +00:00
augustss e815298273 Correct product name for the Genesys hub. 2002-08-07 23:26:18 +00:00
augustss 8abb6b6ba2 Fix some braindead calls to free memory (only encountered under low memory
conditions).  From OpenBSD.
2002-08-07 20:03:19 +00:00
augustss d027824a17 Regen. 2002-08-07 15:39:43 +00:00
augustss f19e258062 Add a Genesys hub. 2002-08-07 15:39:23 +00:00
soren 0320ffcb2e Regen. 2002-08-03 14:41:01 +00:00
soren 906d3a8670 Add some Canon cameras. 2002-08-03 14:40:44 +00:00
augustss eb7d3799cf Add a quirk for an In-System Design adapter. 2002-07-29 03:30:46 +00:00
augustss a82acc0c6d Regen. 2002-07-29 03:30:00 +00:00
augustss 9e287c33a3 Add an In-System storage adapter. 2002-07-29 03:29:34 +00:00
joda a48e860d85 regen; System controller in SGI O300 2002-07-26 13:32:49 +00:00
joda 78869892e3 System controller in SGI O300 2002-07-26 13:31:33 +00:00
wiz 52078f1201 Correct function name in some debug printfs. (More could be done.) 2002-07-26 00:01:30 +00:00
matt 0594308e42 Add support for Belkin USB to LAN Converter. 2002-07-25 06:45:38 +00:00
matt 3e7edf7543 Regen. 2002-07-25 05:23:09 +00:00
matt 8dd631f144 Add Belkin USB2LAN converter 2002-07-25 05:22:38 +00:00
scw 0096beb078 Add code to setup hardware or software flow control (or none at
all, if necessary) depending on the user-specified termios flags.

This allows the device to talk to DCEs which don't assert RTS
(i.e. dumb, 3-wire serial ports).
2002-07-18 14:44:10 +00:00
augustss 21be11a8f8 Refetch interface handle on reset. Avoids potential access to freed memory.
Fix from FreeBSD.
2002-07-16 22:00:31 +00:00
abs fbb7ab458d Add Jenoptik camera/mp3 player 2002-07-16 09:19:29 +00:00
augustss 92826242e2 Add a scanner (from OpenBSD). 2002-07-14 20:53:21 +00:00
augustss 42a78db8f1 Regen. 2002-07-14 20:52:30 +00:00
augustss 1f7f7ee488 Add a scanner (from OpenBSD). 2002-07-14 20:52:11 +00:00
augustss ca8d36994e Add a quirk for Trumpion device (extracted from OpenBSD). 2002-07-11 21:42:23 +00:00
augustss 8db4c51ebe Regen. 2002-07-11 21:41:32 +00:00
augustss 5128e283d3 Add Trumpion device (from OpenBSD). 2002-07-11 21:41:12 +00:00
augustss 86650920c9 Get rid of trailing white space. 2002-07-11 21:14:24 +00:00
augustss 5059a3264c s/__FUNCTION__/__func__/ 2002-07-08 17:46:23 +00:00
rh 8f8b29ff6b Add support for the SMC 2206USB/ETH EZ Connect adapter (Pegasus II) 2002-07-08 09:00:56 +00:00
rh 1825e92eb4 regen for SMC 2206USB/ETH 2002-07-08 08:58:33 +00:00
rh ad61ce9c89 Add product code for SMC 2206USB/ETH EZ Connect Ethernet adapter 2002-07-08 08:57:33 +00:00
augustss 9ee8616e07 Add quirk for ADS HD controller. From Scott Ellis in kern/17495. 2002-07-07 19:52:48 +00:00
nathanw 2a6f9ddc2a Add the now-tested 3Com 3C460B Pegasus-II adapter (Currently US$5 from
cheap web vendors).
2002-06-25 01:07:38 +00:00
augustss e260c9c053 Regen. 2002-06-20 09:20:53 +00:00
augustss 3f0be9ae1b Add Nike psa[play 120. 2002-06-20 09:20:36 +00:00
tshiozak db90de7aba add ROLAND/EDIROL SC-8850/SD-90. 2002-06-19 13:55:30 +00:00
tshiozak 9fd9d36a30 add ROLAND/EDIROL SC-8850 and SD-90. 2002-06-19 13:54:06 +00:00
tshiozak 4a57ce1e18 fix some bugs (by kay@kaynet.or.jp):
- compile error with debug option,
  - miss of cut and paste, and
  - logical error on resource freeing.
2002-06-19 13:51:34 +00:00
augustss b281015496 Regen. 2002-06-18 01:02:39 +00:00
augustss c76a2b70d7 Another Atmel chip. 2002-06-18 01:02:15 +00:00
augustss cdfeb5f2ff Regen. 2002-06-18 00:32:55 +00:00
augustss 81779a3b41 Add another scanner. 2002-06-18 00:32:30 +00:00
augustss 0c3e1ecc44 Match Sony Clie 4.1. 2002-06-16 15:01:31 +00:00
augustss a66fe6523b Regen. 2002-06-16 15:00:41 +00:00
augustss 72ec9576e9 Add Sony Clie 4.1 devices. 2002-06-16 15:00:18 +00:00
augustss 9b2766b49b Use different quirks for Sony Memory Stick. From John Heasley in kern/16946.
Also don't munge all sony devices when patching subclass.
2002-06-16 14:59:58 +00:00
dsainty 4cfd804df5 Regen. 2002-06-13 11:16:11 +00:00
dsainty 5c6618951c Add 3com Bluetooth adapter 2002-06-13 11:11:08 +00:00
lukem 06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
nathanw 7dc5cba95f Regen. 2002-05-31 21:13:12 +00:00
nathanw 49331870a4 Add many Keyspan products, and distinguish the device IDs before and
after loading firmware.
2002-05-31 21:11:56 +00:00
augustss 9660362aab Another fix in the FreeBSD part. 2002-05-28 17:45:17 +00:00
augustss 0a15c2acd4 Change DMAADDR macro slightly. 2002-05-28 12:42:38 +00:00
minoura 78d97e78f0 Clear done_head in the HCCA *before* acknoledging the interrupt.
Driver lost some completed transfers under heavy loads.
2002-05-26 03:10:02 +00:00
augustss 4bc0b333ea Update dma memory access API a little. 2002-05-19 06:24:30 +00:00
augustss 894da75819 Regen. 2002-05-19 06:20:01 +00:00
augustss 4b2bf1316d Another mouse. 2002-05-19 06:13:29 +00:00
kent 820aca767e USB_ATTACH: Initialize sc_plachan.altidx and sc_recchan.altidx with -1. 2002-05-18 15:14:39 +00:00
groo a54b0bba2e Regen. 2002-05-17 01:07:53 +00:00
groo ec845de24e Add a bunch of Inside Out Networks devices. 2002-05-17 01:07:17 +00:00
augustss 4c3acbe183 Two minor fixes from OpenBSD. 2002-05-13 12:10:04 +00:00
simonb 819efe9017 Recognise the HP ScanJet 2200c as a scanner, tested with xsane. 2002-05-12 08:04:41 +00:00
simonb 45e03c4ed5 Regen; add the HP ScanJet 2200C. 2002-05-12 07:56:59 +00:00
simonb 04d64c386d Add the HP ScanJet 2200C. 2002-05-12 07:55:57 +00:00
augustss 2acf4c8462 Use callout init macro. 2002-05-09 21:54:32 +00:00
scw b6ce571885 Add support for FTDI USB->Serial adapters based on the FT8U232AM chip.
Changes inspired by the latest linux version of the driver.

This gets the dongle supplied with my HP Omnibook working (it has no
legacy com(4) ports).
2002-05-08 18:10:19 +00:00
scw 5550c45ad4 Regen. 2002-05-08 18:06:47 +00:00
scw 5cbc5940fc Add product ID for FTDI USB<->Serial adapter based on FT8U232AM chip. 2002-05-08 18:06:09 +00:00
drochner 162314b746 regen 2002-05-07 18:23:23 +00:00
drochner 6c432706fa add EasyDisk Flash Disk 2002-05-07 18:22:56 +00:00
kent 551d40fc9e Regen 2002-05-03 15:20:29 +00:00
kent f1810f8df7 Add the following:
Vendor
  Sanwa Supply
  Audio-Technica

 Product
  Audio-Technica ATC-HA4USB USB headphone
  I/O DATA USB-SSMRW and USB-SDRW
  Logitech WingMan Formula Force GP (GT-Force) and TrackMan Wheel
  Microsoft TrackBall Explorer
  Roland UA-3
  Sanwa Supply JY-DV9USB gamepad
  Sony PS2 keyboard, PS2 keyboardhub and PS2 mouse
  Yamaha RP-U200
2002-05-03 15:19:15 +00:00
augustss 0405958cec Check for write permission for some ioctls. 2002-04-23 06:34:11 +00:00
augustss 93e745b84c Another disk quirk. 2002-04-22 12:48:40 +00:00
augustss 7f7ab48604 Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
2002-04-22 09:41:19 +00:00
kent 4cbdc3964d uaudio_set_params():
Correct a parameter of uaudio_chan_init() for recording.
  This change fixes kern/16385.
2002-04-20 17:36:16 +00:00
kent e034d9364c Clear the busy flag of an alt when a channel is closed. 2002-04-20 17:04:32 +00:00
gehenna 7fdc59f9fc Regen 2002-04-19 00:55:31 +00:00
tshiozak eb4e540b0e add PCI/USB vendor ID for Kurusugawa Electronics, Inc.
PCI-ID: 0x6809, USB-ID: 0x0b7e.
2002-04-18 17:40:56 +00:00
augustss 2f34976283 Regen. 2002-04-18 03:49:17 +00:00
augustss 544654cbc3 nother device. 2002-04-18 03:48:53 +00:00
heinz ebc862f9b0 Added some clarifying comments after my mistake. 2002-04-12 17:56:14 +00:00
heinz ce4cc4a651 Regenerate to compensate my mistake of committing this _together_ with
usbdevs. Should now have the correct reference to usbdevs.
2002-04-12 17:40:38 +00:00
heinz 16e1edf6ab Add a bunch of webcams from Philips (infos found on a Linux web site) 2002-04-12 13:12:28 +00:00
augustss fbe535ae41 Regen. 2002-04-08 20:04:18 +00:00
augustss 9e68b40780 Add LaserJet 1200 2002-04-08 20:03:54 +00:00
toshii df12f106c5 Make recording functional again. 2002-04-05 16:16:43 +00:00
ichiro 54a67f9e68 regen 2002-03-31 00:42:03 +00:00
ichiro c0bd1d04bc add product
WirelessLAN USB-11
2002-03-31 00:41:37 +00:00
ichiro b66fc78bc0 URL_DEBUG was related to usb_port.h 2002-03-28 21:49:19 +00:00
ichiro b3064f4907 add driver for Realtek RL8150L USB ethernet adapter
distribute from Shingo WATANABE <nabe@nabechan.org>
2002-03-28 21:09:10 +00:00
ichiro b4e9977d83 regen 2002-03-28 20:42:38 +00:00
ichiro 89cf71872c add devices
GREENHOUSE : USB Ethernet Adapter GH-USB100B
MELCO : LUA-KTX Ethernet
2002-03-28 20:42:08 +00:00
augustss 0cc4bc8ffa Small rearrangment of the FreeBSD part of the code. 2002-03-27 19:51:39 +00:00
augustss 269b3925f6 Regen. 2002-03-24 17:16:04 +00:00
augustss 4cadac3fb4 Add some devices. From seebs <seebs@ged.plethora.net> 2002-03-24 17:15:42 +00:00
kent a37082a494 whitespace and folding fix. 2002-03-23 17:17:10 +00:00
kent 541b66ade5 Decrease UAUDIO_NFRAMES: 20 -> 10
This change eliminates noise of 6ch audio.
2002-03-23 16:23:20 +00:00
taca e6937b841b Change devinfo definition and make devname initialization correctly.
Those changes are referring with uplcom.c.

I've checked with SUNTAC U-Cable type P1 that it responed to AT commands.
2002-03-23 15:38:22 +00:00
augustss 85fc920f4f Define uvscom_acvtivate() according to prototype. 2002-03-20 16:39:39 +00:00
lukem 7fedb7d335 add missing prototype for uvscom_activate() 2002-03-20 03:20:10 +00:00
augustss ea41085783 Add driver for SUNTAC Slipper U VS-10U serial devices.
Written by Shunsuke Akiyama <akiyama@jp.FreeBSD.org>.  From FreeBSD.
2002-03-19 15:08:42 +00:00
augustss b9300aa49f Regen. 2002-03-19 15:07:23 +00:00
augustss d79c559262 Add some devices. From FreeBSD. 2002-03-19 15:07:05 +00:00
kent a340d0e8ea Create new uaudio_chan_init() and move sample_size/bytes_per_frame
initialization to it from uaudio_chan_set_param().  uaudio_set_params()
calls uaudio_chan_init().
These are required because bytes_per_frame is used in
uaudio_round_blocksize(), which is called before uaudio_set_params().

Noise of 4ch playing disappears by this change.  6ch playing still has
cyclic noise.
2002-03-18 14:06:08 +00:00
christos 8b264dc99c regen 2002-03-18 14:01:31 +00:00
christos 57a22d5790 Add Siemens speedstream, from Alicia da Conceicao. 2002-03-18 14:01:02 +00:00
atatat 31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
augustss b32942bb23 Whitespace fixes. 2002-03-17 18:02:52 +00:00
augustss 3fba39846b Add Swiss keyboard mappings. From OpenBSD. 2002-03-17 18:01:07 +00:00
kent fe274639f9 aurateconv.c:
- Simplify the source
  - Accept any convresions such that sample_rate < hw_sample_rate

uaudio.c:
  - Request the above conversion.  This is needed for 4ch-only devices to
    play monaural/stereo data.
2002-03-17 16:14:21 +00:00
tsutsui ce457aa10e Fix a couple of typo:
- s/ehci/uhci/ (in unused arg of macro)
- s/ohci/uhci/ (in panic message)
2002-03-16 16:13:41 +00:00
tsutsui e01954f52a Fix a couple of typo:
- s/ehci/ohci/ (in unused arg of macro)
- s/uhci/ohci/ (in debug message)
2002-03-16 16:11:18 +00:00
ichiro 66ae17a426 add device TDK USB-PDC Adapter UPA9664 2002-03-16 16:10:19 +00:00
kent 3ca7d89bcf uaudio_set_params(): Set conversions:
- 8bit slinear/ulinear to 16bit slinear for playing
  - 16bit slinear to 8bit slinear/ulinear for recording
2002-03-15 17:20:14 +00:00