sanpei
10d56ec8c2
Sync to 1.181 of usbdevs
2004-06-05 21:36:06 +00:00
sanpei
25b2e7b793
Add support Sony/Ericsson SEMC DSS-20 SyncStation,
...
which can be used to communicate with the P900 mobile phone.
PR: misc/67606
Submitted by: Christian Gusenbauer <c47g@gmx.at>
MFC after: 1 week
2004-06-05 21:33:59 +00:00
sanpei
43ff302c04
Sync to 1.180 of usbdevs
2004-06-05 13:37:54 +00:00
sanpei
1313b81338
Add device ID for atuwi USB wlan driver, AWL400 Wireless adapter.
...
(Atmel at76c503a http://vitsch.net/bsd/atuwi )
PR: kern/67254
Submitted by: Arjan van Leeuwen <avleeuwen@piwebs.com>
2004-06-05 13:36:10 +00:00
sanpei
e53e153630
Sync to 1.179 of usbdevs
2004-06-05 05:25:16 +00:00
sanpei
d15ae059f3
Add support Neodio-3260 8-in-1 multi format USB memory card / flash controller
...
PR: kern/67115
Submitted by: Jukka A. Ukkonen <jau@iki.fi>
MFC after: 1 week
2004-06-05 05:23:46 +00:00
phk
17b52df3d7
Centralize the line discipline optimization determination in a function
...
called ttyldoptim().
Use this function from all the relevant drivers.
I belive no drivers finger linesw[] directly anymore, paving the way for
locking and refcounting.
2004-06-04 21:55:55 +00:00
phk
06049d3eaf
Manual edits to change linesw[]-frobbing to ttyld_*() calls.
2004-06-04 20:04:52 +00:00
phk
ba3920e2a2
Machine generated patch which changes linedisc calls from accessing
...
linesw[] directly to using the ttyld...() functions
The ttyld...() functions ar inline so there is no performance hit.
2004-06-04 16:02:56 +00:00
phk
9bb2c2f2d2
Make the remaining serial drivers call ttyioctl() rather than calling
...
the linedisc directly.
2004-06-04 08:02:37 +00:00
phk
b59eec9a5a
There is no need to explicitly call ttwakeup() and ttwwakeup() after
...
ttyclose() has been called. It's already been done once by ttyclose,
and probably once by the line-discipline too.
2004-06-01 11:38:06 +00:00
phk
d4a4e27cd4
ttyclose() increments t_gen. Remove redundant increments in drivers.
2004-06-01 10:15:56 +00:00
phk
9d102d7d5a
Add missing <sys/module.h> includes
2004-05-30 20:08:47 +00:00
sanpei
f3ff3c1aef
check interface number
...
Kyocera AH-K3001V has 2 data interface. But we could use only one
interface(id = 0)
PR: kern/66779
Submitted by: Togawa Satoshi <toga@puyo.org>
2004-05-30 01:48:04 +00:00
iedowse
03c4a3a74c
In axe_stop(), close the pipes before calling axe_reset(). axe_reset()
...
changes the device configuration index, which should not be done
while there are pipes open.
Debugged with help from: Luke Dean <LukeD@pobox.com>
2004-05-29 15:21:33 +00:00
iedowse
5b277e7dbd
Refuse to change the configuration index if the device has open
...
pipes, since open pipes are linked off a usbd_interface structure
that is free()'d when the configuration index is changed. Attempting
to close or use such pipes later would access freed memory and
usually crash the system.
The only driver that is known to trigger this problem is if_axe,
which is itself at fault, but it is worth detecting the situation
to avoid the obscure crashes that result from this type of easily
made driver mistakes.
2004-05-29 14:51:23 +00:00
julian
c85e63d425
Switch to using C99 sparse initialisers for the type methods array.
...
Should make no binary difference.
Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Reviewed by: Harti Brandt <harti@freebsd.org>
MFC after: 1 week
2004-05-29 00:51:19 +00:00
le
d959bbf7f3
Update URL to HID spec.
...
Obtained from: NetBSD
2004-05-23 17:09:07 +00:00
le
f7efea1805
Update URL to HID spec.
...
Obtained from: NetBSD
2004-05-23 16:55:28 +00:00
mux
03028ee82d
We don't need to initialize if_output, ether_ifattach() does it
...
for us.
2004-05-23 16:11:53 +00:00
le
c9b2ae89c1
MFNetBSD 1.80; author: wiz
...
URL updates, from Jared Yanovich and jmc@openbsd, forwarded by the latter.
Obtained from: NetBSD
2004-05-23 14:01:23 +00:00
iedowse
74bd7acb1b
Replace the static "qdat" structure with a per-instance softc field
...
in all USB ethernet drivers. The qdat structure contains a pointer
to the interface's struct ifnet and is used to process incoming
packets, so simultaneous use of two similar devices caused crashes
and confusion.
The if_udav driver appeared in the tree since Daan's PR, so I made
similar changes to that driver too.
PR: kern/59290
Submitted by: Daan Vreeken <Danovitsch@Vitsch.net>
2004-05-23 12:35:25 +00:00
le
df957a976b
Diff reduction to NetBSD.
...
MFNetBSD 1.177; author: toshii
Use the correct wValue to get hub desriptors.
Also, make wValue checks of root hub codes less strict.
MFNetBSD 1.178: author: martin
Interrupt descriptors might become invalid while being processed in
uhci_check_intr - so remember their next pointer before calling it.
Patch provided by Matthew Orgass in PR kern/24542.
Obtained from: NetBSD
2004-05-23 11:43:34 +00:00
le
90c5701a2c
Add Intel PCI vendor ID.
2004-05-22 14:18:05 +00:00
le
67d2e7b25d
Fix typos in comments.
...
Submitted by: Gerhard Gonter <gonter@falbala.wu-wien.ac.at>
2004-05-22 09:29:52 +00:00
sanpei
8b44f996ae
Sync to 1.178 of usbdevs
2004-05-21 01:39:38 +00:00
sanpei
fdc6b1b921
add support Kyocera AH-K3001V (cellular phone in Japan)
...
PR: kern/66779
Submitted by: Togawa Satoshi <toga@puyo.org>
MFC after: 1 week
2004-05-21 01:36:48 +00:00
sanpei
f6dc070e36
MFNetBSD (umodem.c 1.46):
...
URL updates
2004-05-14 15:16:09 +00:00
sanpei
343b9c0fdd
fix SONY_CLIE_41 (as PEG-SJ33/U)
...
PR: kern/64968
Submitted by: John Merryweather Cooper <coop9211@uidaho.edu>
MFC after: 1 week
2004-05-06 13:33:59 +00:00
silby
476aac9d4f
Remove "Scheduling overrun" interrupts from the set of normal interrupts
...
that the OHCI driver uses. Broken OHCI devices (like the controller
in my laptop, apparently) like to set this bit at times. Research
through google shows that this problem has shown up on other systems
as well.
As the scheduling overrun handler doesn't actually do anything, and
the only effect is console spamming, disabling the interrupt seems
to be the right thing to do. (And it is also what linux 2.6 does.)
2004-05-06 09:21:05 +00:00
joe
6cfca3ab64
Regen
2004-05-05 19:40:03 +00:00
joe
7e16974419
Add support for the new Zire 31 device.
...
Submitted by: Adriaan de Groot <adridg@cs.kun.nl>
2004-05-05 19:39:24 +00:00
sanpei
892b9d0aab
Sync to 1.176 of usbdevs
2004-05-04 11:37:26 +00:00
sanpei
d5d1a5595d
fix typo (adapte -> adapter)
...
Submitted by: Daan Vreeken [PA4DAN] <Danovitsch@Vitsch.net>
2004-05-04 11:36:54 +00:00
sanpei
f76b80de65
Sync to 1.175 of usbdevs
2004-05-04 11:23:45 +00:00
sanpei
6ae923480a
Fix device ID for Linksys USB 2.0 10/100 ethernet controller
...
(use LINKSYS2)
Submitted by: takawata-san
2004-05-04 11:22:09 +00:00
sanpei
c1696e146d
Sync to 1.174 of usbdevs
2004-05-04 09:41:08 +00:00
sanpei
7ddb8a48e8
Add some device ID for atuwi USB wlan driver
...
(Atmel at76c503a http://vitsch.net/bsd/atuwi )
Fix ATMEL DWL-120 Wireless adapter product ID.
(I checked http://www.linux-usb.org/usb.ids )
PR: kern/66227
Submitted by: Daan Vreeken [PA4DAN] <Danovitsch@Vitsch.net>
2004-05-04 09:39:44 +00:00
sanpei
ffa82b2854
Sync to 1.173 of usbdevs
2004-05-02 13:23:25 +00:00
sanpei
0503162983
Add support SUNTAC U-Cable type A4 (AS144L4)
...
http://www.sun-denshi.co.jp/scc/products/mobile/as144l4/as144l4.htm (in Japanese)
PR: kern/66144
Submitted by: KURASHINA Hideyuki <rushani@FreeBSD.org>
2004-05-02 13:21:28 +00:00
sanpei
4914ed4734
Sync to 1.172 of usbdevs
2004-04-27 13:56:39 +00:00
sanpei
918e56f8ce
Add support DELL BC02 Bluetooth USB Adapter(TrueMobile 300)
...
PR: kern/65777
Submitted by: Patrick Hurrelmann <outi@bytephobia.de>
2004-04-27 13:55:26 +00:00
sanpei
11d55d3687
Sync to 1.171 of usbdevs
2004-04-25 11:24:40 +00:00
sanpei
ecd2773f0e
Add support Buffalo(MELCO) USB-Key Lan Adaptor(LUA-U2-KTX)
...
Submitted by: KAWAI Kenichi <kawai.kenichi@canon.co.jp>
2004-04-25 11:21:30 +00:00
obrien
dd09fa8865
Add support for the ADMtek AN8513 USB Ethernet adapter.
...
Submitted by: taxman <taxman@freedombi.com>
2004-04-16 05:24:45 +00:00
obrien
e73d1e50f2
Correct $FreeBSD$ style.
2004-04-16 05:22:11 +00:00
iedowse
d39c4df474
Use the correct flag for mbuf allocations (M_DONTWAIT, not M_NOWAIT).
2004-04-06 19:32:00 +00:00
julian
d03618b7cd
Do the looping retry trick in the first operation to try to talk
...
with the device, not the second..
Submitted by: ticso@cicely12.cicely.de
2004-04-01 18:55:28 +00:00
julian
714a4cc72b
MFNetBSD Version 1.146
...
various probing and attaching tweeks.
Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>
Obtained from: NetBSD
MFC after: 3 days
2004-03-26 18:56:58 +00:00
julian
7ec9985db2
Put the event notification back where it was for freeBSD, after device creation.
...
Since NetBSD doesn't have devfs the order for them doesn't matter..
Reverses one part of 1.60->1.61 NetBSD diff reduction.
Obtained from: Not NetBSD
2004-03-20 07:31:11 +00:00