summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Add const qualifier to the dst parameter of the ifnet if_output method.glebius2013-04-262-5/+6
|
* Add convenience wrapper functions to run callbacks in the context of thehselasky2013-04-232-0/+31
| | | | USB explore thread.
* Add descriptive comment.hselasky2013-04-231-0/+6
|
* Add OHCI controller ID.hselasky2013-04-211-0/+2
| | | | | MFC after: 2 weeks Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* - Correct mispellings of word miscellaneousgabor2013-04-171-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
* Add ID for ASMedia ASM1042 USB 3.0 controller.mav2013-04-101-0/+3
| | | | MFC after: 1 week
* Fix regression issue after r248910.hselasky2013-04-071-1/+1
| | | | | PR: arm/177685 Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Add new USB ID.hselasky2013-04-062-0/+2
| | | | | PR: usb/177666 Submitted by: Nicolai Petri <nicolai@petri.dk>
* Add missing ifdef's for reduced feature compilations.hselasky2013-04-031-0/+4
|
* Add new USB ID.hselasky2013-04-032-0/+2
| | | | | MFC after: 1 week Submitted by: Bruce Simpson <bms@fastmail.net>
* Add new USB ID.hselasky2013-03-211-0/+1
| | | | | PR: usb/177173 MFC after: 1 week
* Integrate Efika MX project back to home.ray2013-03-201-0/+282
| | | | Sponsored by: The FreeBSD Foundation
* Fix spelling.hselasky2013-03-201-1/+2
|
* Add new USB ID.hselasky2013-03-192-0/+4
| | | | | PR: usb/177105 MFC after: 1 week
* Add new USB ID.hselasky2013-03-182-0/+2
| | | | | PR: usb/177013 MFC after: 1 week
* Fix typo.hselasky2013-03-131-2/+2
|
* - Make quirk for reading device descriptor from broken USB devices.hselasky2013-03-132-22/+40
| | | | | | | | | | | Else they won't enumerate at all: hw.usb.full_ddesc=1 - Reduce the USB descriptor read timeout from 1000ms to 500ms. Typical value for LOW speed devices is 50-100ms. - Enumerate USB device a maximum of 3 times when a port connection change event is detected, before giving up. MFC after: 1 month
* Add support for Optoelectronics USB barcode readers to uftdi(4).gavin2013-03-112-0/+10
| | | | | | Add entries for other Optoelectronics devices to usbdevs. MFC after: 1 week
* Fix init/uninit function type.hselasky2013-02-251-4/+4
|
* Add new USB ID.hselasky2013-02-251-0/+4
| | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* Fix bad EEPROM parsing code.hselasky2013-02-182-5/+31
| | | | MFC after: 2 weeks
* Add USB API to read power draw on USB devices.hselasky2013-02-142-1/+17
| | | | | | | Update usbconfig to print power draw on USB devices. MFC after: 2 weeks Submitted by: Matt Burke @ icritical.com
* Remove unused variable.hselasky2013-02-132-2/+0
| | | | MFC after: 1 week
* Resolve a LOR after r246616. Protect control requests using the USB devicehselasky2013-02-138-42/+54
| | | | | | | | | enumeration lock. Make sure all callers of usbd_enum_lock() check the return value. Remove the control transfer specific lock. Bump the FreeBSD version number, hence external USB modules may need to be recompiled due to a USB device structure change. MFC after: 1 week
* Add new USB ID to FTDI driver.hselasky2013-02-132-0/+2
| | | | | | MFC after: 1 week PR: kern/175893 Submitted by: Tomek
* - Move scratch data from the USB bus structure to the USB device structurehselasky2013-02-1010-228/+268
| | | | | | | | | | so that simultaneous access cannot happen. Protect scratch area using the enumeration lock. Also reduce stack usage in usbd_transfer_setup() by moving some big stack members to the scratch area. This saves around 200 bytes of stack. - Fix a whitespace. MFC after: 1 week
* Fix correct use of USB header files.hselasky2013-02-101-2/+2
|
* - Streamline detach logic in wlan drivers, so thathselasky2013-02-1013-87/+237
| | | | | | | | | | | freed memory cannot be used during detach. - Remove all panic() calls from the urtw driver because panic() is not appropriate here. - Remove redundant checks for device detached in device detach callbacks. - Use DEVMETHOD_END to mark end of device methods. MFC after: 2 weeks
* Make sure we don't leak command buffers when a USBhselasky2013-02-081-6/+6
| | | | | | | command transfer fails. MFC after: 1 week Reported by: Ian FREISLICH
* Fix regression issue after r244503:hselasky2013-02-082-25/+25
| | | | | | | Correct init order to fix a NULL pointer access. MFC after: 1 week Reported by: Ian FREISLICH
* Add defines to more easily allow a single threaded version of the FreeBSDhselasky2013-02-059-52/+56
| | | | USB stack. This is useful for non-kernel purposes, like the loader.
* Fix some nits.hselasky2013-02-055-6/+6
|
* Fix for hardware checksum offloading in SMSC driver.hselasky2013-02-011-1/+7
| | | | | | This also fixes IPv6 support for this particular hardware. Submitted by: Daisuke Aoyama
* Make use of USB ID sections configurable.hselasky2013-02-014-1/+12
|
* Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on ↵sbz2013-01-3015-15/+23
| | | | | | | device_method_t arrays Reviewed by: cognet Approved by: cognet
* Do not unnecessarily split a string literal, becausehselasky2013-01-301-2/+2
| | | | | | splitting it makes it hard to grep. Submitted by: Christoph Mallon
* Use string literals in string descriptors for marginallyhselasky2013-01-3013-126/+42
| | | | | | better readability. Submitted by: Christoph Mallon
* Use an anonymous struct for generated string descriptors.hselasky2013-01-301-4/+3
| | | | Submitted by: Christoph Mallon
* Provide one global language string descriptor forhselasky2013-01-3016-78/+48
| | | | | | | american english instead of giving each module its own. Submitted by: Christoph Mallon
* Modify the FreeBSD USB kernel code so that it can be compiled directlyhselasky2013-01-3052-54/+310
| | | | | | | | | | | | | | | | | | | | | | into the FreeBSD boot loader, typically for non-USB aware BIOSes, EFI systems or embedded platforms. This is also useful for out of the system compilation of the FreeBSD USB stack for various purposes. The USB kernel files can now optionally include a global header file which should include all needed definitions required to compile the FreeBSD USB stack. When the global USB header file is included, no other USB header files will be included by default. Add new file containing the USB stack configuration for the FreeBSD loader build. Replace some __FBSDID()'s by /* $FreeBSD$ */ comments. Now all USB files follow the same style. Use cases: - console in loader via USB - loading kernel via USB Discussed with: Hiroki Sato, hrs @ EuroBSDCon
* Add missing header file inclusion guard.hselasky2013-01-301-1/+5
|
* Add missing NULL pointer check.hselasky2013-01-301-0/+6
| | | | | Reported by: Lars Engels MFC after: 1 week
* Mark 'ticks', 'time_second', and 'time_uptime' as volatile to prevent thejhb2013-01-281-1/+3
| | | | | | | compiler from caching their values in tight loops. Reviewed by: bde MFC after: 1 week
* Remove some extra and not needed space characters.hselasky2013-01-283-3/+3
| | | | MFC after: 1 week
* Add new USB ID.hselasky2013-01-282-0/+2
| | | | | | Submitted by: Ramil PR: usb/175639 MFC after: 1 week
* Fix regression issue after r244500 and r244503:hselasky2013-01-271-2/+3
| | | | | | | | | | | If a BUSDMA load operation results in a single segment which is greater than the PAGE_SIZE, the USB computed physical addresses will not be correct. Make sure that the first segment is unfolded like the sub-sequent segments are into USB_PAGE_SIZE big ranges. Found by: Alexander Nedotsukov MFC after: 1 week
* Add new USB quirk.hselasky2013-01-262-0/+3
| | | | | | PR: usb/175599 Submitted by: Juan J Lopez MFC after: 1 week
* Add new quirk and correct old one.hselasky2013-01-212-1/+4
| | | | | PR: usb/175454 MFC after: 1 week
* Do not pretend to have autosense data when no such data is available.kan2013-01-191-3/+7
| | | | | | | | Make umass return an error code if SCSI sense retrieval request has failed. Make sure scsi_error_action honors SF_NO_RETRY and SF_NO_RECOVERY in all cases, even if it cannot parse sense bytes. Reviewed by: hselasky (umass), scottl (cam)
* Add new u3g device quirk.hselasky2013-01-142-0/+2
| | | | | Submitted by: Lowell Gilbert MFC after: 1 week
OpenPOWER on IntegriCloud