summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Also use proper capitalisation of FreeBSD in other source files.ed2009-02-2417-19/+19
| | | | Approved by: thompsa
* Use my address of the FreeBSD project in the copyright statement in USB2.ed2009-02-241-2/+2
| | | | | | If I remember correctly, our policy was to use FreeBSD with proper capitalisation in our email addresses. Fix this in Nick Hibma's address as well.
* MFp4 //depot/projects/usb@158015thompsa2009-02-242-90/+147
| | | | | | Add support for the Sael M460 3G modem. Submitted by: Hans Petter Selasky
* Fix compiler warning.thompsa2009-02-241-0/+1
|
* MFp4 //depot/projects/usb@157974thompsa2009-02-243-0/+15
| | | | | | | Add support for setting and getting the USB template value through libusb20 and usbconfig. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@157958thompsa2009-02-244-41/+55
| | | | | | | | | | - We don't need to exit the Giant mutex when sleeping. This is done automatically. Replace Giant by NULL mutex for all control requests in the enumeration path. - Optimise away duplicate alternate interface selection requests in USB Host mode. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@157909thompsa2009-02-244-17/+66
| | | | | | Changes to make implementing USB NDIS easier. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@157853thompsa2009-02-2412-246/+33
| | | | | | | Clean up old way of polling the USB hardware. The existing polling support was a bit hackish. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@157847thompsa2009-02-241-70/+68
| | | | | | | | Improvements to "usb2_transfer_setup()" and "usb2_transfer_unsetup()". Set "ppxfer[n]" when the transfer setup is complete to prevent races. Remove redundant NULL-checks from "usb2_transfer_unsetup()". Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb; 157814, 157863, 157868thompsa2009-02-244-148/+149
| | | | | | | | | | | | | - The software computed HID size is not always correct, because the algoritm does not handle unsorted HID descriptors. - Change the way we obtain the report ID. - Use the X/Y/Z+button locations instead for report ID source for ums. - Add more range checks. - Remove Microsoft Mouse quirks. If the positions are moduloed the report length multiplied by 8, the values seem correct. - Some minor style changes. Submitted by: Hans Petter Selasky
* Make sure at least two tx slots are free before sending the mbuf since anthompsa2009-02-234-20/+22
| | | | additional frame may be sent for 80211 protection.
* Move the uaudio and ata-usb drivers into their correct locations.thompsa2009-02-235-5555/+0
|
* Reintroduce r188878, provide compat typedefs for usb1.thompsa2009-02-231-0/+24
|
* Move the new USB stack into its new home.thompsa2009-02-23159-0/+110593
|
* Move usb to a graveyard location under sys/legacy/dev, it is intended that thethompsa2009-02-23106-82919/+0
| | | | | | | new USB2 stack will fully replace this for 8.0. Remove kernel modules, a subsequent commit will update conf/files. Unhook usbdevs from the build.
* Add support for CMOTECH devices (not sure whether this is the correctn_hibma2009-02-132-37/+173
| | | | | | | | | | name) (not sure whether this works correctly, but should be close). Fix the stub attach phase for some Novatel cards. They expect the CSW (repsonse to CBW, SCSI eject command) to be fetched before switching to modem mode. MFC after: 2 weeks
* Add the Novatel U760.thompsa2009-02-131-0/+2
|
* In urtw_init() call urtw_stop(ifp, 0) rather than urtw_stop(ifp, 1)kevlo2009-02-061-1/+1
| | | | to stop the device.
* Add the Buffalo WLI-U2-SG54HGkevlo2009-02-062-0/+2
|
* Fix the input buffer at 1024. The previous calculated buffer sizen_hibma2009-01-271-5/+6
| | | | | | exceeded the maximum size of 1 page for OHCI controllers. Other serial drivers use the same size, so I assume this should be enough (1MB/s throughput?).
* Add umass quirk.thompsa2009-01-261-0/+1
| | | | Submitted by: Hans Petter Selasky
* Add a usb hid quirk.thompsa2009-01-261-0/+1
| | | | Submitted by: Andre Guibert de Bruet
* Add a new USB wireless driver, urtw(4) for supporting Realtek's 8187Lweongyo2009-01-234-0/+3733
| | | | chipset.
* Add the dresden elektronik SensorTerminalBoard which uses an FT245.joerg2009-01-212-0/+19
|
* Set the pipe pointer before calling usbd_transfer() as its possible for thethompsa2009-01-191-1/+1
| | | | | | xfer callback to be invoked on error. MFC after: 2 weeks
* fix a ehci's bug that it's occurred when the xfers are aborted underweongyo2009-01-151-1/+1
| | | | | | | | | heavy loads or working. It looks this bug exists since r158869 so needs to revert a part of the previous. Reviewed by: imp Tested by: sam MFC after: 3 weeks
* MFp4: //depot/projects/usb@155748thompsa2009-01-131-0/+4
| | | | | | | Umass module quirk from Alexander Best to support Meizu Electronics MiniPlayer. Submitted by: Hans Petter Selasky
* Readd the Alcor Transcend device which is referenced in usb2/storage/umass2.c,thompsa2009-01-091-0/+1
| | | | regenerate the usb2 dev tables for the scanner additions while I am here.
* Provide handler for USB controller error interrupts for Marvell EHCI device.raj2009-01-081-0/+76
| | | | Obtained from: Semihalf
* Add workaround for Parallels 4.0. Without it, ehci and uhci driverstrasz2009-01-062-0/+14
| | | | | | | | would fail to attach due to unsupported USB revision. It should have no effect when running on a real hardware. Reviewed by: imp Approved by: rwatson (mentor)
* add some USB scanner IDs for recent Epson multifunction devices.luigi2008-12-312-6/+27
| | | | | | | | | Add support to uscanner.c for known-working devices (the same should be done for uscanner2.c). Waiting for 7.1 to be released before the merge. MFC after: 3 weeks
* fix a silly bug that I missed a for-loop to initialize AL2230S PHY.weongyo2008-12-251-2/+4
| | | | Reported by: Hans Petter Selasky <hselasky_at_c2i.net>
* must pack structures for architectures like armsam2008-12-241-2/+2
| | | | Reviewed by: thompsa
* move IXP4XX EHCI bus shim to the usb directory and renamesam2008-12-231-0/+360
|
* Add support for the HP 4470C scanner.remko2008-12-232-0/+2
| | | | | | | | | | Note that there is no working backend (or at least that is mentioned in the PR ticket) but the device is now supported on our end. PR: 117205 Submitted by: Artem Naluzhnyy <tut at nhamon dot com dot ua> MFC after: 1 week
* Add support for the MaxSream USB test carrier.remko2008-12-232-1/+4
| | | | | | | PR: 117546 Submitted by: Daniel J. O'Connor <darius at midget dot dons dot net dot au> MFC after: 1 week
* Add support for 2 EVDO devices.remko2008-12-231-0/+5
| | | | | | PR: 119150 Submitted by: lioux MFC after: 1 week
* o add Transaction Translator support (still missing ISOC xfers)sam2008-12-232-21/+40
| | | | | | | o add EHCI_SCFLG_BIGEMMIO flag to force big-endian byte-select to be set in USBMODE o split reset work into new public routine ehci_reset so bus shim drivers can force big-endian byte-select before ehci_init
* o add sys/endian.h now required by ehcivar.hsam2008-12-201-1/+3
| | | | o reorder a couple of include's to make this consistent with pci code
* fix build w/ EHCI_DEBUGsam2008-12-201-1/+1
|
* Merge usb changes for Gateworks Cambria boards:sam2008-12-206-374/+504
|\ | | | | | | | | | | | | | | | | | | | | | | | | o add support to byte swap EHCI descriptor contents; the IXP435 has dual-EHCI controllers integral but descriptor contents are in big-endian format; this support is configured with the USB_EHCI_BIG_ENDIAN_DESC option and enabled with EHCI_SCFLG_BIGEDESC o clean up EHCI USBMODE register setup during init; add #defines for bit values o split debug support out into a new file and enable use through ddb o while here remove a bunch of lingering netbsd-isms Reviewed by: imp
| * MFH @ 186335sam2008-12-203-41/+53
| |\ | |/ |/|
* | Fix last commit, ttydisc_rint_bypass returns the total, not remainder.thompsa2008-12-181-1/+1
| |
* | Attempt to handoff the entire buffer with ttydisc_rint_bypass() before bangingthompsa2008-12-181-9/+12
| | | | | | | | each char separately.
* | Make the tp pointer available for debugging.phk2008-12-141-0/+2
| |
* | Bump the FTDI receive buffer size to 256 in order to improve throughput.phk2008-12-141-25/+26
| |
* | Move the code that injects received characters into the tty system intophk2008-12-142-17/+23
| | | | | | | | | | a separate public function ucomrxchars(), to avoid requirement of simple metadata prefixing on the USB data stream.
| * Merge WIP from p4:sam2008-12-136-374/+475
|/ | | | | | | | | | | | | | | | | | o recognize ixp435 cpu o change memory layout for for ixp4xx to not assume memory is aliases to 0x10000000 (Cambria/ixp435 memory starts at zero) o handle 64 irqs for ixp435 o dual EHCI USB 2.0 controller integral to ixp435 o overhaul NPE code for ixp435 and better MAC+MII naming o updated NPE firmware (including NPE-A image for ixp435/ixp465) o Gateworks Cambria board support: - IDE compact flash - MCU - front panel LED on i2c bus - Octal LED latch Sanity-tested with NFS-root on Avila and Cambria boards. Requires pending boot2 mods for CF-boot on Cambria.
* The TWINKLECAM entry is under CHICONY2, remove MICRODIA.thompsa2008-12-121-4/+1
| | | | Obtained from: NetBSD
* Use correct AIPTEK2 name for vendor 0x04fc, now that the PENCAM_MEGA_1_3thompsa2008-12-121-1/+1
| | | | | | product is paired with it. Obtained from: NetBSD
OpenPOWER on IntegriCloud