augustss
91c4478386
Check if we have any SCSI busses so this file doesn't cause link errors
...
if used without SCSI.
2005-04-29 17:52:46 +00:00
augustss
71f12914f1
If UKBD_LAYOUT isn't defined, but PCKBD_LAYOUT is, use the latter as the
...
default layout. Fixes half of kern/28668.
2005-04-29 17:02:06 +00:00
augustss
17e2d8f05a
Allow 32 chars in the saved vendor string. Fixes kern/29760.
2005-04-29 15:04:29 +00:00
augustss
abcf879dd7
Get bit reversal table right this time.
2005-04-27 23:39:54 +00:00
augustss
35f6423e4f
Add define for EHCI_MAX_POLLRATE.
2005-04-27 21:23:41 +00:00
augustss
c3aad684bd
Interrupt polling was spread very unevenly. Use the same bit reversal
...
trick as in ohci.c to correct this.
2005-04-27 16:42:26 +00:00
augustss
d514cae370
With the interrupt fix in the previous commit low and full speed devices
...
have a chance to work, so allow them (with a warning).
Make a small change to the transaction translator scheduling to make it
at least hobble along (again from Dan Ellis).
2005-04-27 16:20:26 +00:00
skrll
5597345e50
KNF and s/a an/an/
2005-04-27 07:47:25 +00:00
augustss
6490a3e8e5
Don't null the qh_link point in the interrupt tree after it has been
...
initialized. From Dan Ellis in kern/30003.
2005-04-27 02:12:20 +00:00
drochner
1e5f8afdd2
remove debugging stuff which caused conflicts with USB_DEBUG kernels
2005-04-18 18:45:02 +00:00
toshii
2db3ae3497
Correct status value check for OHCI isoc transfer;
...
the spec says that "not accessed" is 111x, not 1111.
2005-04-17 14:46:49 +00:00
itohy
0ee992857f
ukyopon(4): Kyocera AIR-EDGE PHONE driver
...
Close NetBSD PR #25954 in a different way.
2005-04-15 17:18:18 +00:00
itohy
15a9291a5d
Fix function name in debug messages.
...
White space police.
2005-04-15 15:08:34 +00:00
itohy
8bd72ab6a4
If CM descriptor is found, use the data interface in it;
...
if CM descriptor is NOT found but UNION descriotor is found,
use the data interface in it.
Do not require CM or ACM descriptors as long as
the data interface is found.
Should fix NetBSD PR #29754 by rivo nurges.
2005-04-15 14:43:05 +00:00
itohy
70d7fffcc5
Split common modem part of umodem.c to umodem_common.c and umodemvar.h,
...
to be shared with other umodem-like drivers.
2005-04-15 14:14:09 +00:00
itohy
43d5a75df2
Allow multiple modem interfaces per configuration.
2005-04-12 13:12:10 +00:00
itohy
1bf2f3ae6e
Add usb_find_desc_if(), which is similar to usb_find_desc(),
...
but searches only in the specified interface rather than
in whole configuration.
2005-04-12 13:10:14 +00:00
xtraeme
6b34c93b70
regen
2005-03-15 17:54:17 +00:00
xtraeme
8223efec1b
Add entry for "SAMSUNG Mighty drive" provided by Thilo Manske in PR
...
kern/29550.
2005-03-15 17:52:18 +00:00
skrll
41889bdcaa
Remove an item - uhidev(4) now exists.
...
OK'd by Lennart.
2005-03-13 08:21:50 +00:00
mycroft
e63d9a6eae
Restructure interrupt handling a little:
...
* Only futz with the done list in the soft interrupt handler. In the hard
interrupt handler, do nothing except mask WDH and queue the soft interrupt.
This simplifies a bunch of code, removes two O(n^2) queue manipulations,
and gets rid of some really sketchy stuff around the queue head access.
* Use the auto-masking code at the end of the interrupt handler for both WDH
and RHSC interrupts. Again, this reduces the code a little, and avoids
multiple writebacks to the chip registers.
2005-03-11 19:25:22 +00:00
mycroft
5c336d800d
Regen.
2005-03-04 05:03:42 +00:00
mycroft
3839e0db1b
Separate out vendors from the product table, to reduce string duplication.
...
Saves ~10K.
2005-03-04 05:03:19 +00:00
itojun
a02091146b
atu on OQO model 01 is confirmed to be working under basestation/no-WEP.
...
(WEP is not supported yet, it is an different issue)
2005-03-03 09:23:24 +00:00
itojun
8a4d93018c
OQO wifi interface needs quirks
...
(not confirmed if it works or not, so commented out)
2005-03-03 08:10:35 +00:00
itojun
4bb7e85761
OQO ether port confirmed to be working
2005-03-03 08:10:01 +00:00
mycroft
2d562a01e2
Copyright maintenance.
2005-03-02 11:37:27 +00:00
itojun
99b78187d5
OQO device still unstable on attach/whatever, so comment those entries out
2005-03-02 11:35:07 +00:00
itojun
039684b142
regen
2005-03-01 03:19:17 +00:00
itojun
3ea088e9f4
add OQO model 01 devices
2005-03-01 03:18:52 +00:00
joff
a446f7ac7a
Misc changes from code review from someone who doesn't understand USB or
...
802.11 but wants this driver to work nonetheless...
o Support WEP encryption, hopefully fix PR kern/29324 from Andreas Gustafsson
o Correct ENETRESET reconfig while iface is already running
o Correct bpfilter usage
o Avoid leaking mbufs on failed TX
o Reset ieee80211 state to INIT and stop atu_task() on atu_stop()
o Don't stop interface on USB tx errs, just drop packet
o use IFQ_IS_EMPTY rather than check if_snd for NULL head
2005-02-27 23:49:05 +00:00
perry
0cce50f2c9
do not leave spaces at the end of stripped RCS Ids
2005-02-27 15:37:33 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
joff
d42fc76092
Clear IFF_RUNNING flag before aborting usb pipes in atu_stop().
...
Really fixes kern/29326.
2005-02-25 14:47:19 +00:00
martin
7ff97b3311
Fix memory leak reported by Ted Unangst as bug #3 on tech-kern.
2005-02-24 08:19:38 +00:00
joff
ba4b28e8e5
o Make sure interface is up before continuing with atu_start(). Should fix PR
...
kern/29326 as reported by Andreas Gustafsson.
o Use IFQ_DEQUEUE instead of IF_DEQUEUE
2005-02-24 06:06:11 +00:00
thorpej
df9803ce96
Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
...
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding. Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes. Place items described
by the SCSI Primary Commands document into scsi_spc.h.
2005-02-21 00:29:06 +00:00
martin
9ba6d74025
Add SUNTAC U-Cable type A4 support,
...
from yamajun at ofug dot net, in PR kern/29397.
2005-02-16 07:52:47 +00:00
augustss
ebb1c32c20
Never deliver HID data to subdrivers if the length is wrong.
2005-02-07 08:54:42 +00:00
reinoud
f323bc537c
Backing out changes to clean up scsipi. I was pointed out there were
...
problems i hadn't seen. To prevent lossage i'd decided to back off all
changes and let them be reviewed on tech-kern.
2005-02-01 00:19:34 +00:00
reinoud
b220d67a3e
Part of the cleanup of sys/scsipi's use of types; rename all u_int* to
...
uint* and change the u_long's to uint32_t's where possible. Note that the
iocl definitions/hooks have to be ulong (or u_long) or they'll bomb out.
2005-01-31 23:06:41 +00:00
joff
79f8908d72
It seems on some archs size_t is unsigned int and on others size_t is
...
unsigned long. Cast sizeof() to unsigned long in printf()'s so it can
always work regardless.
2005-01-24 22:40:00 +00:00
joff
25f4405fee
Add atu(4), Atmel 802.11b USB wifi dongle. From OpenBSD.
2005-01-24 01:36:07 +00:00
joff
9a12dd0ebe
Implementation requirements of usb_needs_reattach(), from OpenBSD and required
...
for atu(4) to do a USB reconnect after firmware upload.
2005-01-24 01:30:38 +00:00
joff
988043649e
New Belkin USB-wifi ID, rename DWL120 to generic AT76C503A since this ID is used by more than one vendor (from OpenBSD)
2005-01-24 01:21:31 +00:00
joff
c8bf53857e
Atmel AT76C50XX usb 802.11b wifi dongle driver from OpenBSD.
2005-01-24 01:17:03 +00:00
elric
84f1219a04
Fix typo.
2005-01-23 01:25:57 +00:00
elric
504ce9bd7d
new driver: usb generic serial adapter.
...
approved by: augustss@netbsd.org (code)
christos@netbsd.org (driver name)
2005-01-23 01:25:04 +00:00
hamajima
8c1ec034b0
Add Sony PlayStation2 EyeToy.
2005-01-22 16:38:55 +00:00
kent
9dd560ddf7
* uaudio_round_blocksize()
...
calculate playing blocksize and recording blocksize independently
2005-01-16 12:46:00 +00:00