Sam Leffler
08d7a88599
use s/w bmiss facility
...
MFC after: 1 week
2006-02-18 01:04:08 +00:00
Gleb Smirnoff
23033eebf4
Do not touch ifp->if_baudrate in miibus aware drivers.
2006-02-14 12:44:56 +00:00
Gleb Smirnoff
2ce61916c2
Typo: s/fint/find/
2006-02-12 17:32:59 +00:00
Ian Dowse
496a1b8908
Add USB polling calls to umass_cam_poll(). This appears to be enough
...
to make kernel crash dumps to umass devices work, at least in some
cases.
2006-02-12 15:51:03 +00:00
Warner Losh
0085aa8869
Improve the memory resoruce allocation and usage during the probe.
...
I've had these improvements in my tree for almost a year now...
2006-02-11 03:41:20 +00:00
Warner Losh
55303171a4
Use the release version as a floor, not an exact match. Add comment to that
...
effect and draw attention to the fact that the list has stronger ordering
requirements than before.
2006-02-11 03:30:17 +00:00
Warner Losh
5df2beab5b
Give ohci_intr a proper return value. In FreeBSD, this is void. Remove
...
now-redundant cast on establishing the interrupt.
2006-02-11 03:29:02 +00:00
Warner Losh
da8341a31a
Update the keyspan product list from NetBSD.
2006-02-11 03:27:57 +00:00
Warner Losh
01538a58fd
ADDON is registered as 0x0d7d, not PNY. Don't confuse the two as we
...
try to use the registrant for numbers in this file, not the OEM that
put their label on it. Use PNY's real number 0x154b. Add another PNY
atachmate with quirks from a PR filed a while ago, but that I can't
seem to find now...
2006-01-31 19:09:38 +00:00
Florent Thoumie
b308457205
- Add a scsi_da.c and a umass.c quirk for Genesys 6-in-1 Card Reader.
...
Reported by: anders on freebsd-usb@
Tested by: anders
Approved by: ssouhlal
MFC after: 3 days
2006-01-30 20:27:44 +00:00
Florent Thoumie
5cd7adbfe3
- Add a umass quirk that should have been part of latest commit.
...
Approved by: iedowse (implicit)
MFC after: 3 days
2006-01-26 01:23:29 +00:00
Florent Thoumie
fa9d414d41
Add Product IDs :
...
- Sandisk Cruzer Micro 128MB [5]
- DANE-ELEC zMate 512MB USB flash drive [7]
- Attache 256MB USB 2.0 Flash Drive [8]
- Sandisk Cruzer Micro 256MB [9]
Add scsi_da.c quirks :
- Samsung USB key 128Mb [1]
- Kingston DataTraveler 2.0 [2]
- Creative MuVo Slim [3]
- United MP 5512 Portable MP3 Player [4]
- Sandisk Cruzer Micro 128MB [5], [9]
- PNY USB Flash keys [6], [7], [8]
Add umass.c quirks :
- Sandisk Cruzer Micro 128MB [5]
- DANE-ELEC zMate 512MB USB flash drive [7]
- Attache 256MB USB 2.0 Flash Drive [8]
- Sandisk Cruzer Micro 256MB [9]
PR: usb/90081 [1],
usb/89196 [2],
kern/86131 [3],
usb/80487 [4],
usb/75970 [5],
usb/75578 [6],
usb/72344 [7],
usb/65436 [8],
usb/70835 [9]
Submitted by: Henri-Pierre CHARLES <hpc@prism.uvsq.fr> [1],
Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> [2],
Erich Rickheit KSC <rickheit-fbp@numachi.com> [3],
tnu@chania.di.uoa.gr [4],
Bram Abbekerk <bram@abbekerk.demon.nl> [5],
Thomas Pornin <pornin@bolet.org> [6],
parv <parv@pair.com> [7],
Peter D. Quilty <pdquilty@adelphia.net> [8],
Raymundo M. Vega <rvega@ms-smtp-03-eri0.socal.rr.com> [9]
Approved by: iedowse
MFC after: 3 days
2006-01-26 00:35:54 +00:00
Damien Bergamini
f014cff4cd
account tx retry-fail errors in if_oerrors.
2006-01-21 12:46:57 +00:00
Damien Bergamini
e97333cbc4
Adjust tx power based on user preferences.
2006-01-21 10:45:07 +00:00
Damien Bergamini
25227ab8c5
o fix initialization sequence.
...
o re-enable ural_disable_rf_tune().
2006-01-21 10:25:51 +00:00
Damien Bergamini
1749c2163b
Add two new ural(4) product ids.
...
Obtained from: OpenBSD
2006-01-21 09:53:11 +00:00
Damien Bergamini
86d55f61a5
sync w/ openbsd:
...
o fix contention window
o silently discard received frames that are too short
o simplify lookup of 802.11a channels (we know they exist)
o fix short preamble support
o add short slot support
o fix eifs settings
o many consistency tweaks
2006-01-21 09:37:51 +00:00
Damien Bergamini
beee67e182
Fix computation of the tx retry count in AMRR.
2006-01-21 08:58:03 +00:00
Ariff Abdullah
ed3b31fc67
ehci_pci.c:
...
ATI EHCI controllers exhibit simmilar stall issues and require
this dropped interrupts workaround. Be verbose about it.
ehci.c:
ehcivar.h:
Slight change in comments to note about issues surrounding both
VIA and ATI EHCI controllers.
Approved by: iedowse
2006-01-16 19:23:59 +00:00
Ariff Abdullah
d26f1706b9
Add PCI vendor id for ATI OHCI USB controllers.
...
Approved by: iedowse
2006-01-16 19:07:05 +00:00
Ian Dowse
afcb6f8261
Work around a problem seen on VIA EHCI controllers where occasionally
...
an interrupt appears to occur before the transfer has been marked
as completed. This caused umass transfers to get stuck, especially
when writing large files. The workaround sets up a timer that
rechecks for missed completed transfers if some operations are still
pending. Other suggested workarounds, such as performing a PCI read
immediately after acknowledging the interrupts, do not appear to
help.
Obtained from: OpenBSD
2006-01-15 21:03:19 +00:00
Ian Dowse
df3e5efa87
Set sc_dying to 1 when detaching. In NetBSD and OpenBSD this was
...
done by the DVACT_DEACTIVATE case in *hci_activate(), but we don't
use that code in FreeBSD so it was never set.
2006-01-15 20:41:04 +00:00
Ian Dowse
c15e3d30c7
The ehci driver doesn't use the transfer `hcpriv' field, so don't
...
bother setting it to NULL in ehci_root_ctrl_done().
2006-01-15 20:32:52 +00:00
Scott Long
2ffb18fec1
Don't use the ALLOCNOW flag for tags that will only be used for static
...
allocations.
2006-01-10 22:55:35 +00:00
Takanori Watanabe
a0fe548a14
Add FOMA (NTT DoCoMo 3G mobile phone system) driver.
...
This is based on MCPC USB mobile phone guide line (MCPC-GL005)
Some other 3G system or so will work with this driver.
Kyocera PHS terminal (a.k.a. Kyopon) is known to work, which
is now supported by umodem(4) driver.
2006-01-09 17:46:36 +00:00
Florent Thoumie
465ad22910
Enable NO_GETMAXLUN quirk.
...
PR: usb/90670
Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
Approved by: iedowse
MFC after: 1 week
2006-01-09 01:33:53 +00:00
Alexander Leidinger
b85f5cf149
Add support for Canon CanoScan D660U.
...
PR: 87395
Submitted by: Eirik Mikkelsen <eirik@bsdbox.org>
2006-01-08 14:17:04 +00:00
Ian Dowse
662f5fb6d9
Remove the UQ_NO_OPEN_CLEARSTALL quirk, as this is now the default
...
behaviour for all devices.
2006-01-08 03:34:29 +00:00
Ian Dowse
dd35c3642c
Don't perform an endpoint stall clear every time a pipe is opened.
...
This should not be necessary, and it is known to confuse certain
devices.
Obtained from: NetBSD
Requested by: many
2006-01-08 03:27:43 +00:00
Florent Thoumie
d908e8fa84
Add Product ID for Acerscan 1240u and the corresponding entry in uscanner.c.
...
PR: usb/91466
Submitted by: Cameron Lerch <cam@zarya.org>
MFC after: 3 days
Approved by: ssouhlal
2006-01-08 01:43:00 +00:00
Maxime Henrion
bc184556bf
Add a new vendor ID for Personal Cummunication Systems. They make a nice
...
USB HID device that allows to plug two PS2 controllers. This specific
device doesn't work yet but will as soon as we support devices with
multiple report IDs.
MFC after: 3 days
2005-12-31 04:41:17 +00:00
Maxime Henrion
092dbdfb4c
Add support for the Wacom Graphire 3 4x5. Like the Graphire 3, it has a
...
broken report descriptor. While I'm here, make all the other report
descriptors const to match the newly added one.
Obtained from: NetBSD
MFC after: 1 week
2005-12-31 04:38:50 +00:00
Maxime Henrion
0cb0bc8808
Add support for Xbox 360 gamepads. They are HID-capable devices, but
...
lack a report descriptor and don't use the standard interface class.
This patch works around these deficiencies so that the uhid(4) driver
can recognize and use those broken devices.
PR: usb/90141
Submitted by: Ed Schouten <ed@fxq.nl> (with minor mods from me)
MFC after: 1 week
2005-12-31 04:22:34 +00:00
Warner Losh
3fc2d9dbe5
Add a bunch of ipod entries, one as suggested by Bryan Liesner. We
...
should likely fix this better...
Submitted by: Bryan Liesner (ipod mini)
2005-12-30 05:06:26 +00:00
Alexander Leidinger
e5f62bf901
Sync the type (and size, compare mousestatus_t in /usr/include/sys/mouse.h)
...
of a variable according to the usage (after increasing the number of max
buttons this may matter).
Noticed by: flz
2005-12-29 18:35:28 +00:00
Alexander Leidinger
d677792c20
Add support for the HP 8200C/8250C/8290C scanners.
...
PR: 90467
Submitted by: Adam McDougall <mcdouga9@egr.msu.edu>
2005-12-29 18:25:25 +00:00
Alexander Leidinger
1b4c44fb4c
Add support for the Canon CanoSvan LIDE 25.
...
PR: 89509
Submitted by: David Gilbert <dgilbert@daveg.ca>
2005-12-29 18:15:03 +00:00
Alexander Leidinger
70422404a7
Merge NetBSD rev. 1.61:
...
- Support more than 7 buttons for USB mice. Patch from NetBSD kern/30248.
PR: 83353
Submitted by: Seán Farley <sean-freebsd@farley.org>
2005-12-29 17:44:40 +00:00
Alexander Leidinger
247eac7f18
Add support for Epson 2480 scanner.
...
PR: 86094
Submitted by: Erik Norgaard <norgaard@locolomo.org>
2005-12-29 17:38:03 +00:00
Alexander Leidinger
1ea136a1ca
Emit USB_EVENT_DRIVER_DETACH on detach.
...
PR: 83247
Submitted by: Sangwoo Shim <ssw@neo.redjade.org>
MFC after: 2 weeks
2005-12-29 17:29:18 +00:00
Florent Thoumie
333051eeb3
Add a hid blacklist quirk.
...
PR: usb/80383
Submitted by: Lonnie Mendez <lmendez19@austin.rr.com>
Tested by: Adam Kropelin <akropel1@rochester.rr.com>, thierry, fenner
Approved by: pjd
MFC after: 1 week
2005-12-27 23:35:38 +00:00
Pav Lucistnik
612477f7ac
- Fix type in previous commit; unbreak build
...
Approved by: ssouhlal
Pointy hat to: pav
2005-12-20 23:07:38 +00:00
Pav Lucistnik
f651aa2d2f
- Ignore incorrect CSW signatures on my PURE PocketDab 2000 player
...
Approved by: ssouhlal
MFC after: 1 week
2005-12-20 16:21:17 +00:00
Pawel Jakub Dawidek
ef5d77f464
Allow to use TransFlash drive, which can be found in Motorola E398 Mobile Phone.
...
PR: usb/89889
Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
MFC after: 1 week
2005-12-19 03:27:28 +00:00
Florent Thoumie
949565fb05
- Add ProductID for the iPod Nano.
...
Reported by: Nathan Kay <mcnate@numenor.net>
Approved by: ssouhlal
MFC after: 3 days
2005-12-18 22:25:43 +00:00
John Baldwin
636a309adb
Use %t (ptrdiff_t modifier) to print a couple of pointer differences rather
...
than casting them to int.
2005-12-15 21:57:32 +00:00
Florent Thoumie
17e41731b7
- Rename UQ_BROKEN_IPOD to UQ_NO_OPEN_CLEARSTALL since it's likely to be used
...
by more devices than iPods.
Proposed by: iedowse
Approved by: ssouhlal
MFC after: 3 days
2005-12-11 20:14:38 +00:00
Ian Dowse
2b58bea7c0
Reorder the calling of the completion callback and the transfer
...
"done" method so that for non-repeat operations we have completely
finished with the transfer by the time the callback is invoked.
This makes it possible to recycle a transfer from within the callback
routine for the same transfer. Previously this almost worked, but
with OHCI controllers calling the "done" method after the callback
would zero out some important fields needed by the recycled transfer.
Only some usb peripheral drivers such as ucom appear to rely on the
ability to reuse a transfer from its callback.
MFC after: 1 week
2005-12-08 03:08:17 +00:00
Florent Thoumie
645cf3805a
- Add Product IDs for iPod 3G and iPod Video.
...
- Add an USB quirk for iPods, da(4) devices are now successfully created.
Approved by: ssouhlal
MFC after: 1 week
2005-12-05 01:51:28 +00:00
Ruslan Ermilov
3238c6bd33
Fix -Wundef from compiling the amd64 LINT.
2005-12-04 10:06:06 +00:00