Commit Graph

1812 Commits

Author SHA1 Message Date
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