aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r221407 (partial)Marius Strobl2011-09-114-21/+12
| | | | | | | | | | | | | | | | | | | | | | | | - Let mii_phy_add_media() also announce the support of IFM_NONE. - Add a PHY-specific reset routine is for lxtphy(4) which disables MII interrupts. - Remove redundant checks in NIC drivers for mii->mii_instance not being zero before calling the reset routines because as soon as one PHY driver attaches mii->mii_instance is incremented and we hardly can end up in their media change callbacks etc if no PHY driver has attached as mii_attach() would have failed in that case and not attach a miibus(4) instance. - Convert the mebers of the MII data structure to unsigned where appropriate. This is partly inspired by NetBSD/OpenBSD. - Add MIIF_NOMANPAUSE and mii_phy_flowstatus() calls to drivers that weren't explicitly converted to support flow control before. It's unclear whether flow control actually works with these but typically it should and their net behavior should be more correct with these changes in place than without if the MAC driver sets MIIF_DOPAUSE. Obtained from: NetBSD (partially) Notes: svn path=/stable/7/; revision=225490
* MFC r194582Remko Lodder2011-01-272-0/+5
| | | | | | | | | | | | | | | | | 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) PR: 135628 Notes: svn path=/stable/7/; revision=217970
* Merge r216045 from head (by hand, due to code changes):Gavin Atkinson2011-01-042-0/+6
| | | | | | | | | | Support the Falcom Twist USB GSM/GPRS modem in uftdi(4) PR: usb/151862 Submitted by: Alessandro de Manzano <demanzano dqmicro.it> Notes: svn path=/stable/7/; revision=216976
* MFC r207554:Maxim Sobolev2010-11-1611-16/+16
| | | | | | | | | | | | Add new tunable 'net.link.ifqmaxlen' to set default send interface queue length. The default value for this parameter is 50, which is quite low for many of today's uses and the only way to modify this parameter right now is to edit if_var.h file. Also add read-only sysctl with the same name, so that it's possible to retrieve the current value. Notes: svn path=/stable/7/; revision=215368
* MFC: r213894, r213896, r214913Marius Strobl2010-11-074-40/+37
| | | | | | | | | | Converted the remainder of the NIC drivers to use the mii_attach() introduced in r213878 (MFC'ed to stable/7 in r214685) instead of mii_phy_probe(). Unlike r213893 (MFC'ed to stable/7 in r214910) these are mostly straight forward conversions though. Notes: svn path=/stable/7/; revision=214925
* Merge r186427 from head (original commit by remko):Gavin Atkinson2010-08-191-1/+2
| | | | | | | | | | Add support for the MaxSream USB test carrier. PR: usb/117546 Submitted by: Daniel J. O'Connor <darius midget.dons.net.au> Notes: svn path=/stable/7/; revision=211493
* Merge r208016 from head:Gavin Atkinson2010-08-192-0/+4
| | | | | | | | | | | | | | Add new FTDI USB device ID for the Gamma-Scout radioactivity meter. [1] Merge r210556 from head: Support the Pyramid KBS USB LCD under uftdi(4) [2] PR: kern/146483 [1] usb/129758 [2] Submitted by: Andre Albsmeier [1] Submitted by: joao lima <jlima visionware.pt> [2] Notes: svn path=/stable/7/; revision=211491
* Merge r210571 from head:Gavin Atkinson2010-08-182-0/+4
| | | | | | | | | | Add support for the Corega CG-USBRS232R to uplcom(4) PR: usb/129173 Submitted by: SHIMAOKA Shunsuke <shimaoka.shunsuke gmail.com> Notes: svn path=/stable/7/; revision=211473
* Fix mismerge in r211035.Gavin Atkinson2010-08-081-1/+1
| | | | | | | Pointy hat: me Notes: svn path=/stable/7/; revision=211081
* Merge r210534 from head:Gavin Atkinson2010-08-072-0/+6
| | | | | | | | | | Add support for the Longcheer WM66 USB HSDPA Modem to u3g(4) PR: usb/129945 Submitted by: Antonio Hilario <avahilario gmail.com> Notes: svn path=/stable/7/; revision=211035
* Merge r210515,210516,210543 from head:Gavin Atkinson2010-08-032-0/+13
| | | | | | | | | | | | | | | | | | | Prevent ukbd(4) and uhid(4) from attaching when a WiSPY DBx Spectrum Analyzer is attached. [1] Prevent uhid(4) from attaching to the Gembird Silver Shield remote power plug. [2] Prevent uhid(4) from attaching to the Liebert PowerSure Personal XT UPS. [3] PR: usb/134631 [1], usb/132785 [2], usb/129251 [3] Submitted by: Jesse Kempf <jkempf davisvision.com> [1] Submitted by: Dirk-Willem van Gulik <dirkx webweaving.org> [2] Submitted by: Andrew D Wiles <adw+gnats avatastic.co.uk> [3] Notes: svn path=/stable/7/; revision=210828
* - Support the Epson RX620 and HP ScanJet 3570C scanners in uscanner(4).Gavin Atkinson2010-07-282-0/+4
| | | | | | | | | | | Direct commit to stable/7 as the uscanner driver no longer exists in head. PR: usb/121426, usb/122025 Submitted by: Greg Mars <authentec gmail.com> Submitted by: Bjorn Konig <bkoenig alpha-tierchen.de> Notes: svn path=/stable/7/; revision=210574
* Support the ZTE AC8700 EVDO modem in u3g(4)Gavin Atkinson2010-07-271-0/+1
| | | | | | | | | | No mergeinfo due to vastly differing stacks in head vs stable/7. PR: usb/129522 Submitted by: Sergej Kandyla <sk.paix gmail.com> Notes: svn path=/stable/7/; revision=210535
* Support the Novatel U760 dongle (Verizon and Bell Canada)Gavin Atkinson2010-07-261-0/+1
| | | | | | | | | | | | Note that this is a direct commit to stable/7 due to differences in the code in head. No mergeinfo as the commit that added this in head made many other changes at the same time. PR: usb/138138 Submitted by: mike tancsa <mike sentex.net> Notes: svn path=/stable/7/; revision=210499
* Typo in comment.Nick Hibma2010-04-271-1/+1
| | | | Notes: svn path=/stable/7/; revision=207272
* Remove the call to usbd_reset_device() as this panics the kernel onNick Hibma2010-04-251-14/+4
| | | | | | | | | | devices with many serial ports (the device is reset for each port that reports IOERROR). Remove statements that should have been removed when rewriting the if statement. Notes: svn path=/stable/7/; revision=207201
* Make the list of allocated ports dynamic. The Option GTM382 has 10Nick Hibma2010-04-131-13/+20
| | | | | | | | | | | serial ports (yes, 10, it has a built in GPS and other stuff) and we need to access the last one for PPP access to the card. Other ports are HSO (Option specific protocol; see Linux driver). Reviewed by: thompsa Notes: svn path=/stable/7/; revision=206561
* Add the ID for the Matrix Orbital LCD display MOU-Axxx series.Nick Hibma2010-04-092-88/+14
| | | | | | | | | | Simplify a switch statement in the uftdi driver to an if-then-else-endif as it encoded those two cases only. Reviewed by: imp Notes: svn path=/stable/7/; revision=206412
* Add the ID of the Option GTM382 Mini PCI express moduleNick Hibma2010-04-062-3/+5
| | | | | | | Approved by: re (implicit) Notes: svn path=/stable/7/; revision=206270
* Restart the controller if it has halted. Restarting it makes the USBNick Hibma2009-08-131-7/+42
| | | | | | | | | | tree functional again (without reconnecting the devices, mind you). On my laptop there is probably a short somewhere on the motherboard and once in a while the host controller halts. Notes: svn path=/stable/7/; revision=196167
* Reset the debugging flag to 0.Nick Hibma2009-08-131-1/+1
| | | | Notes: svn path=/stable/7/; revision=196166
* MFC r182138:Bruce M Simpson2009-07-231-10/+459
| | | | | | | | | | | | Greatly expand the devices listed as being supported. This list was taken from PR/121184 which was mechanically generated from similar lists in the Linux ipaq driver. I then took the numbers we had in usbdevs and filled in the right symbols and eliminated duplicates. PR: usb/121184 Notes: svn path=/stable/7/; revision=195829
* MFC r195080 (technically this is not really a MFC but an newXin LI2009-07-102-0/+8
| | | | | | | | | | | | implementation of the original patch to apply against 7-STABLE). Add quirks for Actions MP4 player. Submitted by: John Hixson <john ixsystems com> Approved by: re (kib) Notes: svn path=/stable/7/; revision=195528
* Improve the debugging output:Nick Hibma2009-07-092-43/+58
| | | | | | | | | | Make it switchable through a sysctl for ucom and u3g. Try to reset the device if it produces ucomwritecb and ucomreadcb errors. Notes: svn path=/stable/7/; revision=195499
* Errors we would like to see during debugging.Nick Hibma2009-07-091-1/+1
| | | | Notes: svn path=/stable/7/; revision=195498
* bugfix: Clear the out endpoint on a stall on the written endpoint, notNick Hibma2009-07-061-1/+1
| | | | | | | *in*. Notes: svn path=/stable/7/; revision=195402
* Don't send multiple commands. Sending the ZTE switch command isNick Hibma2009-06-251-2/+0
| | | | | | | sufficient. Notes: svn path=/stable/7/; revision=194954
* Rearrange the init code in the stub driver, using a task to initialiseNick Hibma2009-06-152-311/+369
| | | | | | | | | | | | | | | | the card. This allows better error handling and re-issuing of commands if one fails. Implement another initialisation sequence used buy the ZTE_STOR variants. Fix a bug where the driver would panic during initialisation reported by many (Mike Tancsa amongst others). Testing done and hardware supplied by belkin (a person, not the company). Notes: svn path=/stable/7/; revision=194258
* Hide 'Unsupported ATAPI command - trying anyway' under bootverbose. ThisNick Hibma2009-06-151-3/+4
| | | | | | | caused more noise than was actually useful. Notes: svn path=/stable/7/; revision=194253
* MFC r182896Remko Lodder2009-05-051-0/+2
| | | | | | | | | | | | | | Add support for the CyberPower CP1500AVRLCD. PR: 126845 Submitted by: gavin Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Notes: svn path=/stable/7/; revision=191830
* MFC r189905Andrew Thompson2009-03-231-3/+2
| | | | | | | | | Fix checking of the IGNORE_RESIDUE quirk. Submitted by: marius Notes: svn path=/stable/7/; revision=190327
* Sync umass quirks to HEAD.Andrew Thompson2009-03-231-2/+19
| | | | Notes: svn path=/stable/7/; revision=190311
* Sync usbdevs to HEAD, keeping name compat.Andrew Thompson2009-03-231-17/+111
| | | | Notes: svn path=/stable/7/; revision=190310
* MFC the (current) u3g driver, a driver for USB based 3G cards and dongles.Nick Hibma2009-03-224-33/+828
| | | | | | | | | | | This includes changes to ubsa (removing attachment from that device), and small changes to ucom. Note: A change to umass reducing the attach priority for it was committed already. Notes: svn path=/stable/7/; revision=190268
* MFC 184941:Nick Hibma2009-03-225-22/+33
| | | | | | | | | Add a reset device command to ugen.c. This is needed to make some devices work that require a firmware upload and a USB reset afterwards. Notes: svn path=/stable/7/; revision=190251
* MFC r189360Andrew Thompson2009-03-112-0/+6
| | | | | | | | | Add Mobile Action MA-620 Infrared Adapter. Manually merged due to different codebase. Notes: svn path=/stable/7/; revision=189659
* MFC r173522, r176910, r178975Andrew Thompson2009-02-073-111/+232
| | | | | | | | | | | | | | | | | | | | | | | | - Add private tx/rx buffer management to support large frame sizes and update the rx code to handle multiple frames in a single usb transfer. AX772 parts (at least) exhibit many input errors when operated with a 2K rx buffer and no errors w/ a 4K rx buffer (it's unclear what the cause of the errors is for 2K so this may just be covering up the real issue). Larger rx buffer sizes show no significant performance improvement for AX772. Bypassing the common buffer management routines also eliminates an extra context switch on every packet which noticeably improves performance (TCP netperf rx goes from 45 Mb/s to 85 MB/s). - Apply le*toh() or htole*() to the variables of which we use the address as the buffer pointer in the call to axe_cmd(). This is needed to make the code work on big-endian machines. - Add support for the Apple USB Ethernet adapter. Work around the "latch in at the first working PHY address hack", that fails for this adapter because it returns 0xffff when reading from lower PHY addresses. Also add more debugging printfs Notes: svn path=/stable/7/; revision=188260
* MFC the IDs for the u3g MFC across.Nick Hibma2009-01-221-3/+50
| | | | | | | This fixes the build breakage introduced by me yesterday evening. Notes: svn path=/stable/7/; revision=187593
* Sync this file with HEAD r183874.Nick Hibma2009-01-211-13/+11
| | | | | | | | | | | - Remove a redundant MOD_LOAD function - Reduce the attach priority for the attach function to give other drivers, like the to be committed u3g driver a better chance at attaching to the 3G devices with a ZeroCD / TruInstall mass storage device. Notes: svn path=/stable/7/; revision=187577
* MFC r183976:Brooks Davis2008-10-262-0/+3
| | | | | | | | | | | | Wireless Mouse device of Sony VGP-WRC1 mouse/keyboard receiver has the same program interface as Microsoft Wireless Notebook Optical Mouse and needs a quirk. PR: usb/122712 Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=184294
* MFC r182799:Weongyo Jeong2008-10-181-1/+1
| | | | | | | | | Sort products numerically. Approved by: re (gnn) Notes: svn path=/stable/7/; revision=184010
* MFC r182783:Weongyo Jeong2008-10-182-0/+2
| | | | | | | | | | | Add ZyXEL G-202 Obtained from: OpenBSD Approved by: re (kib) Notes: svn path=/stable/7/; revision=184009
* MFC: Use single byte read and write operations to toggle the BIOS and OSJohn Baldwin2008-09-112-14/+14
| | | | | | | | | semaphores rather than 4 byte operations. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=182941
* MFC r181970Remko Lodder2008-08-282-0/+5
| | | | | | | | | | | | | | Add support for the Alcor Card Reader (9361) PR: 124656 Submitted by: Vincent Francois <vincentfrancois dot pro at gmail dot com> Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Notes: svn path=/stable/7/; revision=182370
* MFC r181685: a quirk for Sony Handycam DCR-HC32E.Maxim Konovalov2008-08-281-0/+4
| | | | Notes: svn path=/stable/7/; revision=182369
* MFC r181925Remko Lodder2008-08-272-0/+3
| | | | | | | | | | | | | | Bring in support for the MC8755 Sierra UMTS card. Submitted by: Robert Blacquiere <robert at blacquiere dot nl> Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) With MFC help from: des (thanks!) Notes: svn path=/stable/7/; revision=182253
* MFC r181843:Kai Wang2008-08-231-1/+1
| | | | | | | | Fix a typo: According to the hid spec, Global item #3 is Physical Minimum. Notes: svn path=/stable/7/; revision=182075
* MFC r181841:Kai Wang2008-08-231-3/+12
| | | | | | | | | | | In the hid parser, if a INPUT/OUTPUT/FEATURE item is skipped, its corresponding USAGE should be skipped as well. Tested by: Grzegorz Blach PR: usb/125941 Notes: svn path=/stable/7/; revision=182074
* MFC r181844:Kai Wang2008-08-231-6/+7
| | | | | | | | sc->sc_ibuf should be malloc'ed after quirks applied, as sc->sc_isize might have changed. Notes: svn path=/stable/7/; revision=182073
* MFC r181839:Kai Wang2008-08-231-0/+3
| | | | | | | | | | | Re-add Microsoft Intellimouse 2.0 TWHEEL quirk. Tested by: Merritt Draney, Brian Cox PR: kern/123224 PR: kern/123510 Notes: svn path=/stable/7/; revision=182072