Poul-Henning Kamp
c92033c874
Add ids of Sitecom USB wlan gadget.
...
Approved by: re (kib)
2009-06-28 10:30:53 +00:00
Andrew Thompson
29bd7d7e9a
Sync to p4
...
- Add support for devices that handle set and clear stall in hardware.
- Add missing get timestamp function
- Add more xfer flags
Submitted by: Hans Petter Selasky
Approved by: re (kib)
2009-06-27 21:23:30 +00:00
Xin LI
8c9d12305b
Add quirks for Actions MP4 player.
...
Submitted by: John Hixson <john ixsystems com>
Approved by: re (kib)
MFC after: 2 weeks
2009-06-26 21:47:37 +00:00
Robert Watson
eb956cd041
Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/
...
IF_ADDR_UNLOCK() across network device drivers when accessing the
per-interface multicast address list, if_multiaddrs. This will
allow us to change the locking strategy without affecting our driver
programming interface or binary interface.
For two wireless drivers, remove unnecessary locking, since they
don't actually access the multicast address list.
Approved by: re (kib)
MFC after: 6 weeks
2009-06-26 11:45:06 +00:00
Weongyo Jeong
90cbee43d6
updates AMRR statistics with tx complete status that if not the tx rate
...
always would be reduced.
2009-06-25 02:28:12 +00:00
Weongyo Jeong
7f97ca0347
uses ZYD_NOTIF_RETRYSTATUS info to count the number of retries.
2009-06-25 02:14:47 +00:00
Andrew Thompson
8f9e0ef947
Fix a typeo in the frame len function to unbreak the build, make it shorter
...
while I am here.
2009-06-23 06:00:31 +00:00
Andrew Thompson
ed6d949afd
- Make struct usb_xfer opaque so that drivers can not access the internals
...
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
2009-06-23 02:19:59 +00:00
Andrew Thompson
599ce1c3ba
Fix length check for ugen control transfer.
...
Submitted by: Sylvestre Gallon, HPS
2009-06-22 21:09:52 +00:00
Remko Lodder
b24516038c
use PROTO_DEFAULT.
...
Requested by: hps
2009-06-21 13:13:13 +00:00
Remko Lodder
2088cbe832
Add support for the Myson Heden 8813.
...
Note that I also added the usbdev to the list, because the 8813 version
is not yet known there. I might have twisted the sorting there but because
8813 comes before 8818, I added it before that (with _8813 to differentiate)
the item.
PR: 135628
Submitted by: Yoshikazu GOTO <goto at on-link dot jp>
Approved by: imp (mentor, implicit)
2009-06-21 11:21:16 +00:00
Weongyo Jeong
c39515adc4
reorders the sequence when the device is detached. After detaching the
...
interface is completed then it'll process other parts to avoid a race
condition.
Pointed by: jhb
2009-06-17 04:15:19 +00:00
Andrew Thompson
3c8d24f43b
Fix usb2_find_descriptor function name.
2009-06-15 22:38:05 +00:00
Andrew Thompson
759736470c
Fix _USB2_* refernces in the header protection defines.
2009-06-15 01:09:19 +00:00
Andrew Thompson
a593f6b8de
s/usb2_/usb_|usbd_/ on all function names for the USB stack.
2009-06-15 01:02:43 +00:00
Andrew Thompson
8437751d86
Remove usb2_cv_* and just use the kernel condvar implementation, it was needed
...
earlier since condition variables didnt work with Giant but this was fixed 10
months ago.
2009-06-15 00:33:18 +00:00
MIHIRA Sanpei Yoshiro
738e0afd67
Correct entry of vendor ID 0x0d8c. It's C-Media, not ABC.
...
Obtained from: NetBSD usbdevs rev.1.418
2009-06-13 11:18:47 +00:00
Andrew Thompson
a8675cae2b
Make variables static where appropriate.
...
Found by: cscout
2009-06-13 04:56:45 +00:00
Marcel Moolenaar
85fc5c3b93
Move the memory layout definitions and logic from mvreg.h to mvwin.h
...
so that it isn't exposured unless needed. In particular this means
that it's easier to tune the memory layout based on board details.
While here, remove inclusion of <machine/intr.h> from mvreg.h. This
also contains exposure to SoC specifics in MI drivers, because NIRQ
depends on the SoC.
2009-06-12 20:00:38 +00:00
Andrew Thompson
fd4f10ceca
Change ums_probe() so it does not need to fetch the usb_interface_descriptor.
...
Submitted by: Hans Petter Selasky
2009-06-12 16:04:32 +00:00
Andrew Thompson
191e179a33
Check for a keyboard HID report in addition to the interface class so devices
...
such as the Yubikey attach.
Submitted by: Hans Petter Selasky
Reported by: Jeremy Faulkner
2009-06-12 16:03:38 +00:00
Andrew Thompson
e601cda8d6
Free the correct memory pointer.
...
Submitted by: Tim Borgeaud (via HPS)
2009-06-12 16:00:12 +00:00
Andrew Thompson
a755d548b7
Minor device side improvement. Make sure a not complete state gets paired with
...
a complete state in device side mode for the default control endpoint.
Submitted by: Hans Petter Selasky
2009-06-12 15:58:55 +00:00
Weongyo Jeong
e87b19e38c
unify zyd_tx_mgt() and zyd_tx_data() to simplify TX path and sorts
...
setting TX descritor.
While I'm here fixes a bug that the management frames only sent at 2
Mbits/s.
2009-06-09 04:17:08 +00:00
Andrew Thompson
ed96654f20
Change driver_info to a ulong as it always stores a number and remove the only
...
diff of the usb_device_id struct to Linux.
Reviewed by: HPS
2009-06-08 18:09:51 +00:00
Andrew Thompson
ae60fdfba2
Rename usb pipes to endpoints as it better represents what they are, and struct
...
usb_pipe may be used for a different purpose later on.
2009-06-07 19:41:11 +00:00
Andrew Thompson
b7d3e2426f
Remove duplicate variable setting.
...
Spotted by: Sylvestre Gallon
2009-06-04 22:00:48 +00:00
Weongyo Jeong
78cc4bbbb0
reimplements RF logic for GCT chipset (as known as UW2453) to support
...
ICIDU NI-707503 which is donated by Nick Hibma (great thanks!). Though
it has a MAXIM RF (0x8) there's some success reports with using GCT RF
(0x9) codes and it worked well for ICIDU NI-707503 too. So codes for
MAXIM and GCT RFs are integrated.
Before this commit, if I rememeber correctly, MAXIM RF is never tested
that it seems it's a first report working with FreeBSD.
2009-06-04 02:49:50 +00:00
Weongyo Jeong
9dde689c63
cleanups the device match list.
2009-06-04 01:55:13 +00:00
Andrew Thompson
e13e19fa23
Place the fifo and ref counting variables on the stack to prevent races.
...
Submitted by: Hans Petter Selasky
2009-06-02 19:28:26 +00:00
Andrew Thompson
115df0b6d2
Reorgansise the logic for tranversing the pipe list.
...
Submitted by: Hans Petter Selasky
2009-06-02 17:31:59 +00:00
Andrew Thompson
017eb6e4b2
Fix compile after the removal of bsd_udev.
...
Submitted by: Hans Petter Selasky
2009-06-02 17:31:16 +00:00
Andrew Thompson
a488edb567
Fix multithread issue where the is_uref variable was not set and cleared
...
properly in the CDEV private data.
Submitted by: Hans Petter Selasky
2009-06-02 17:30:18 +00:00
Andrew Thompson
7b8b6d352f
Staticize ukbd_detach and fix indentation.
...
Submitted by: Sylvestre Gallon
2009-06-02 17:29:15 +00:00
Weongyo Jeong
85531f0886
ZyXEL G-202 has zd1211b chipset, not zd1211.
...
Tested by: Samuel Boivie <samuel at boivie.org>
2009-06-01 01:51:37 +00:00
Daniel Eischen
b1e4b9fcc4
Add a NO_SYNCHRONIZE_CACHE quirk for an AIPTEK2
...
part identified as Sunplus Technology Inc. This
happens to sit in a Rosewill RX81U-ES-25A 2.5" SATA
to USB 2.0 external enclosure.
Reviewed by: Hans Petter Selasky
2009-05-31 14:48:51 +00:00
Andrew Thompson
f9cb546c23
Revert the size_t part of the last commit for the moment, this blows up the
...
USB_ADD_BYTES macro.
2009-05-30 00:22:57 +00:00
Sam Leffler
515db61d2b
validate tx rate(s) in the raw xmit path
...
Tested by: "Paul B. Mahol" <onemda@gmail.com> (rum, bwi)
2009-05-29 23:41:31 +00:00
Andrew Thompson
f171eb9b8a
Fix function arguments were previously they matched the typedef by accident.
2009-05-29 22:11:22 +00:00
Andrew Thompson
e0a69b51ac
s/usb2_/usb_/ on all typedefs for the USB stack.
2009-05-29 18:46:57 +00:00
Andrew Thompson
28212de200
Free device strings.
...
Spotted by: HPS
2009-05-29 16:15:56 +00:00
Weongyo Jeong
e257fff483
adds new device IDs.
...
PR: usb/135009
Submitted by: Bill Squire <billsf at 2600.COM>
2009-05-29 10:10:23 +00:00
Ed Schouten
c5e30cc02b
Last minute TTY API change: remove mutex argument from tty_alloc().
...
I don't want people to override the mutex when allocating a TTY. It has
to be there, to keep drivers like syscons happy. So I'm creating a
tty_alloc_mutex() which can be used in those cases. tty_alloc_mutex()
should eventually be removed.
The advantage of this approach, is that we can just remove a function,
without breaking the regular API in the future.
2009-05-29 06:41:23 +00:00
Andrew Thompson
760bc48e7e
s/usb2_/usb_/ on all C structs for the USB stack.
2009-05-28 17:36:36 +00:00
Andrew Thompson
c86aead66c
Allocate the usb serial, manufacturer and product strings rather than use char
...
arrays in the usb_device struct. This also eliminates USB_HAVE_STRINGS.
2009-05-27 23:12:02 +00:00
Andrew Thompson
fa64b9442b
Add support for the Apple MacBook Pro keyboard
...
- add key mappings for fn keys
- byte swapping for certain models
- Fix leds for keyboards which require an ID byte for the HID output structures
Submitted by: Hans Petter Selasky
2009-05-27 19:27:29 +00:00
Andrew Thompson
f72c0c2e5c
Remove empty dir.
2009-05-27 16:44:43 +00:00
Andrew Thompson
84c5da4c4e
move ng_ubt_var.h back to its original place
2009-05-27 16:34:08 +00:00
Andrew Thompson
3671d9d810
move ng_ubt.c back to its original place
2009-05-27 16:33:08 +00:00
Andrew Thompson
d434bfe44a
move ubtbcmfw.c back to its original place
2009-05-27 16:32:05 +00:00