Commit Graph

1932 Commits

Author SHA1 Message Date
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
kent
33525eb269 Accept 24bit precision. 2002-03-12 15:12:03 +00:00
augustss
42314426c9 Regen. 2002-03-10 19:55:55 +00:00
augustss
861a9e05a1 Add some WLAN devices. 2002-03-10 19:55:23 +00:00
augustss
5cd0234a24 Regen. 2002-03-10 02:58:35 +00:00
augustss
bb70169d38 Add vendor Intersil. 2002-03-10 02:58:14 +00:00
augustss
00c6ccf059 Regen. 2002-03-10 02:55:26 +00:00
augustss
61b69e8d60 Add Pen Driver USB Disk. 2002-03-10 02:54:57 +00:00
kent
a1f23f2a90 Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)
2002-03-09 20:30:42 +00:00
ichiro
f0c89eaf40 add device
TDK USB-PHS Adapter UHA6400
2002-03-09 06:06:11 +00:00
kent
ad276dda9e free_all_endpoints(): Fix a problem with disabled device. 2002-03-08 17:24:06 +00:00
kent
c329c38eef Sampling rate and mono-stereo conversion described in
http://mail-index.netbsd.org/tech-kern/2002/03/04/0005.html

auconv.c: Add conversion functions

audio.c: Sample alignment, calling conversion functions, etc.

audio_if.h: Add four hw_* members to "struct audio_params"

audiovar.h: Add conversion buffers, etc.

auich and uaudio: Add conversion request code to *_set_params().
2002-03-07 14:37:02 +00:00
itojun
ac36f7cb2c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
augustss
e4ca1c8a44 Use the correct pointer for the timeout abort. 2002-03-04 00:53:33 +00:00
jmcneill
f58e1d41e1 Regen 2002-02-28 21:10:51 +00:00
jmcneill
f3b42effa5 Add Linksys Wireless USB Network Adapters (WUSB11, both original and ver 2.5) 2002-02-28 21:10:28 +00:00
thorpej
c49eaa2724 Don't use NULL for non-pointer arguments. 2002-02-28 04:49:16 +00:00
augustss
da0af33867 Change mapping of keycode 50 to be closer to the spec. 2002-02-28 00:30:13 +00:00
augustss
27cee6c777 Regen. 2002-02-27 23:29:01 +00:00
augustss
f2afa010b1 Add some more stuff that might make Palm and Sony devices work.
(Gleaned from Linux.)
2002-02-27 23:00:03 +00:00
augustss
50a7e169bc Add Palm m125. 2002-02-27 22:45:16 +00:00
augustss
5d2b04bb42 Move the interrupt bailout when a cancelled ii is found. 2002-02-27 12:42:41 +00:00
augustss
5663022c32 Remove spurious splusb().
Lower abort hardware wait.
2002-02-27 12:12:45 +00:00
augustss
0357a44190 Avoid a race condition spotted by UCHIYAMA Yasushi <uch@vnop.net>. 2002-02-27 01:30:50 +00:00
augustss
ae9f835cf2 A small fix for FreeBSD. 2002-02-26 10:27:49 +00:00
augustss
2c66bc238b Fix a typo that prevented timeout in control requests from working.
Spotted by Alfred Perlstein <bright@mu.org>.
2002-02-26 10:22:48 +00:00
augustss
ab875c9c5c Some minor fixes from FreeBSD. 2002-02-26 02:00:16 +00:00
augustss
97e6cc6f72 Fix an uninitilized request. From Alfred Perlstein <bright@mu.org>. 2002-02-25 22:39:01 +00:00
augustss
306aa99ff8 Some portability improvement.
Add define for usb.h version.
2002-02-25 00:46:37 +00:00
augustss
0db3eee7bb Add quirks for Minolta Dimage X. 2002-02-20 22:28:54 +00:00
augustss
dd0cea6baa Regen. 2002-02-20 22:28:20 +00:00
augustss
b1b2559c84 Add Minolta Dimage X (very nifty!). 2002-02-20 22:27:54 +00:00
christos
6728d906e9 Prefix structure members to protect them against clashes with eg. c++ keywords.
Suggested by Alfred Perlstein, from FreeBSD, ok'd by augustss
2002-02-20 20:30:12 +00:00
simonb
724e595530 Regen: Add the Concord Camera Eye Q 3x. 2002-02-19 14:13:01 +00:00
simonb
63e8b06dff Add the Concord Camera Eye Q 3x.
Reverse the Yamaha and Yano entries so they're in alphabetical order.
2002-02-19 14:12:02 +00:00
simonb
72359ec83c Fix indentation botch. 2002-02-19 14:07:26 +00:00
thorpej
58ff6aaf22 Regen: Add Genesys Logic GL641USB CompactFlash card reader. 2002-02-16 18:18:06 +00:00
thorpej
bfdbf84cf8 Add product ID for the Gensys Logic GL641USB CompactFlash card reader. 2002-02-16 18:17:35 +00:00
kent
46ffcfbf95 uaudio_set_params() for mulaw:
Give priority to 16bit again in the case the device has no hardware
support for mulaw.
2002-02-14 12:55:51 +00:00
jdolecek
a2803fa798 split the channel stuff into record and play parts, so that this driver is
full duplex, independent
2002-02-12 19:52:43 +00:00
tron
f1a2d1c420 Remove obsolete prototype for "udsbr_search". 2002-02-12 10:51:49 +00:00
mjl
253423f1c7 Add OnSpec PC-Card reader 2002-02-11 21:13:35 +00:00
mjl
59ff2c4198 Regen 2002-02-11 21:07:50 +00:00
mjl
c381ca9def Add Datafab MD1-II 2002-02-11 21:05:34 +00:00
augustss
490beda381 Remove an accidental change from last commit. 2002-02-11 15:20:23 +00:00
augustss
319f13f6ef Give usbd_do_request_flags() an extra argument for the timeout. 2002-02-11 15:11:49 +00:00
augustss
5f87e5a984 Regen. 2002-02-11 15:00:35 +00:00
augustss
cf31e1b945 Add a bunch of mass storage devices. 2002-02-11 15:00:17 +00:00
augustss
e644076000 A little const poisoning. (From FreeBSD.) 2002-02-11 12:42:48 +00:00
augustss
6f566032d7 Whitespace changes. 2002-02-11 11:42:16 +00:00
augustss
0e66a32e2c Switch to new abort mechanism. 2002-02-11 11:41:30 +00:00
augustss
f8204d29e1 Switch to the same abort mechanism as in [eo]hci; it should be more
robust.
2002-02-11 11:40:33 +00:00
augustss
f1274a71dc Some minor fixes from FreeBSD. 2002-02-11 10:09:14 +00:00
augustss
1b221b1c9b Some updates for FreeBSD. 2002-02-11 10:04:28 +00:00
kent
c1b55b61ac uaudio_chan_set_param:
Take care of param->factor.

uaudio_set_params:
  Fix a problem of precision matching for mulaw/alaw with 16bit.
2002-02-11 07:10:36 +00:00
kent
4653bffb03 uaudio_set_params:
Use slinear16_to_mulaw_le() if ULAW recording is requested and the device
supports neither signed 8bit nor unsigned 8bit and supports 16bit.
2002-02-10 06:37:45 +00:00
rh
c57778753f regen 2002-02-09 09:21:24 +00:00
rh
7236711b7c Add HP Scanjet 5400C 2002-02-09 09:20:44 +00:00
augustss
660b4087dc Add quirks for Minolta S304. 2002-02-07 13:53:14 +00:00
augustss
53a6c27b2e Add quirk for devices without Get Max Lun. 2002-02-07 13:52:54 +00:00
augustss
86c1274c84 Regen. 2002-02-07 13:52:27 +00:00
augustss
c801ef4f0d Add Minolta Dimage S304 2002-02-07 13:52:08 +00:00
augustss
d76f24be37 OnSpec doesn't like Mode Sense. 2002-02-07 13:02:26 +00:00
augustss
09f2c3182a Regen. 2002-02-07 13:00:37 +00:00
augustss
29f28f51f0 Add OnSpec disk controller. 2002-02-07 13:00:13 +00:00
augustss
7f01f1dd6b Some white space fixes from FreeBSD. 2002-02-03 18:15:20 +00:00