Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-09 | No need to call usbd_fill_deviceinfo() from a task, it doesn't generate I/O. | Martin Pieuchot | |
ok visa@ | |||
2019-01-08 | RL (NAK count reload) field in QH should be zero when using periodic | SASANO Takayoshi | |
(interrupt) transfer. When RL is not zero, interrupt transfer cannot work correctly. It causes USB2.0 hub cannot detect device attach/detach. ok by mpi@ | |||
2019-01-07 | Use the `iface' argument from the *attach() function instead of calling | Martin Pieuchot | |
usbd_device2interface_handle(). ok visa@ | |||
2019-01-07 | tweak ohci_checkrev so it doesnt print a leading comma and space. | David Gwynne | |
it assumes that it always followed an interrupt string, but we don't print that on fdt. having the bus responsible for the whitespace means the fdt glue can print a colon to separate the bus info from checkrev output, while every other glue keeps the comma. ok deraadt@ | |||
2018-12-07 | Handle 2 Tx chains in the computation of transmit power for the RTL8192EU. | Kevin Lo | |
While here sort vendors. Tested by jmatthew@ ok stsp@, jmatthew@ | |||
2018-12-06 | Avoid unnecessary dynamic memory allocation in athn_usb_newauth(). | Stefan Sperling | |
Patch by Benjamin Baier ok ratchov@ mpi@ | |||
2018-12-05 | usb_block_allocmem() won't sleep. | Gerhard Roth | |
ok mpi@ | |||
2018-12-05 | Do not call usbd_delay_ms() from interrupt context. | Martin Pieuchot | |
From Nils Frohberg. | |||
2018-12-04 | Add support for RTL8192EU adapters, partly taken from netbsd. | Jonathan Matthew | |
These show up with a variety of vendor/product ids, but the driver will only match those we've tested so far. help and testing from kevlo@ ok stsp@ kevlo@ | |||
2018-11-27 | Free sizes for the subdevs array. | Martin Pieuchot | |
ok anton@, visa@ | |||
2018-11-27 | Attach the driver only if the stack managed to set the configuration. | Martin Pieuchot | |
Tested by stsp@ | |||
2018-11-20 | Revert free sizes for `subdevs' array, it is incorrect. | Martin Pieuchot | |
Reported by anton@ and Natasha Kerensikova | |||
2018-11-19 | regen | Kevin Lo | |
2018-11-19 | Add ids for D-Link DWA-171 rev C1 and Xiaomi mini USB WiFi. | Kevin Lo | |
2018-11-18 | More uses of __func__ in debug printfs. | Martin Pieuchot | |
2018-11-18 | Use "%s", __func__ in DPRINTF() to reduce grep noise. | Martin Pieuchot | |
2018-11-18 | Remove old USB_DEBUG chunk. | Martin Pieuchot | |
2018-11-18 | USB_DEBUG -> UPLCOM_DEBUG. | Martin Pieuchot | |
2018-11-17 | free(9) size for USB subdevs array. | Martin Pieuchot | |
ok ratchov@, visa@ | |||
2018-11-16 | free(9) sizes for interrupt & isochronous arrays. | Martin Pieuchot | |
ok visa@ | |||
2018-11-16 | free(9) sizes for array of interfaces. | Martin Pieuchot | |
ok visa@ | |||
2018-11-16 | free(9) sizes for array of endpoints. | Martin Pieuchot | |
ok ratchov@ | |||
2018-11-14 | free(9) sizes for configuration descriptors, missed in previous. | Martin Pieuchot | |
2018-11-14 | free(9) sizes for configuration descriptors. | Martin Pieuchot | |
ok tedu@, visa@ | |||
2018-11-10 | free(9) sizes for endpoints array. | Martin Pieuchot | |
ok okan@, tedu@, visa@ | |||
2018-11-10 | Pass free(9) sizes for port arrays. | Martin Pieuchot | |
ok tedu@, visa@ | |||
2018-11-10 | Pass free(9) sizes for the tx descriptors. | Martin Pieuchot | |
ok tedu@, visa@, stsp@ | |||
2018-11-02 | Revert previous, it broke my Anker USB device | Joshua Stein | |
ok patrick | |||
2018-10-31 | Increase max frame size and hard MTU so that we can use VLANs and | Patrick Wildt | |
Jumbo frames on ure(4). ok kevlo@ | |||
2018-10-31 | zap return keyword to clarify umidi_flush() returns no value; ok ratchov@ | miko | |
2018-10-02 | Make some USB ioctls return ENXIO, instead of EIO, if usbd_is_dying(). | Stefan Sperling | |
Brings us one step closer towards making this condition's error code consistent across all USB drivers. Patch by Moritz Buhl ok mpi@ bluhm@ | |||
2018-10-01 | The sequence number field in the 802.11 frame header includes the sequence | Jonathan Matthew | |
number and the fragment number, so shift it to get just the sequence number for the tx descriptor. While here, add a #define for the flag in the same field that enables hardware sequence numbering, and use existing constants for some R92C_RSV_CTRL writes. prompted by feedback from kevlo@ on another diff, tested on 8188CE, EE, EU ok stsp@ kevlo@ | |||
2018-09-19 | In mue_iff() move the initialization of the hash table up so that is done | Ricardo Mestre | |
unconditionally, like it's done on other devices, so that we don't end up in the situation of the card being put in promiscuous mode or if ac->ac_multirangecnt > 0 and then we would write into the table while being uninitialized a little bit later. Noticed on Coverity ID 1473316. hint from claudio@ and kettenis@ OK kevlo@ claudio@ | |||
2018-09-10 | Prevent a panic in umb(4) when roaming is diabled. | Gerhard Roth | |
Found by beck@, tested and ok by bluhm@ | |||
2018-09-07 | clarify that goto error in alloc_all_endpoints_fixed_ep() always returns | miko | |
USBD_INVAL. ok mpi@ | |||
2018-09-07 | move initial jack count to alloc_all_endpoints(), and reset count to zero | miko | |
in free_all_jacks(). ok stsp@ ratchov@ | |||
2018-09-06 | If we cannot stop the endpoint when aborting a transfer assume that | Martin Pieuchot | |
the device is gone and give back the descriptor to the stack. Without this usbd_abort_pipe() could end up in an infinite loop. Issue reported by Tom Murphy. | |||
2018-09-06 | fix whitespace | Jonathan Gray | |
2018-09-06 | execute the same code for failure of assign_all_jacks_automatically() | miko | |
and attach_all_mididevs(). this ensures unbind_all_jacks() and usbd_deactivate() happen for both cases. ok ratchov@ | |||
2018-09-05 | Serialize synchronous commands with a rwlock. | Martin Pieuchot | |
Prevent triggering an assert if two drivers try to submit a command at the same time. Issue reported by Tom Murphy. | |||
2018-08-31 | remove shadow variables for 'error' in usbioctl(); ok mpi@ ratchov@ | miko | |
2018-08-31 | ich variable is only used in DPRINTF() and uaudio_get_cluster_nchan() | miko | |
has no side effect, so setting value for ich can be moved under UAUDIO_DEBUG. ok ratchov | |||
2018-08-29 | Remove unused struct member. | Mark Kettenis | |
ok deraadt@, mlarkin@ | |||
2018-08-25 | Add umt(4) for USB Windows Precision Touchpad devices | Joshua Stein | |
Based on imt(4) Rename HIDMT_INPUT_MODE_MT to HIDMT_INPUT_MODE_MT_TOUCHPAD ok deraadt | |||
2018-08-25 | Move HID->bus constant conversion for HID report types out of ihidev | Joshua Stein | |
into hidmt. The HID code uses hid_feature, hid_input, and hid_output constants to refer to report types internally that then need to be converted to their bus-level counterparts before actually getting sent out (so hid_feature becomes UHID_FEATURE_REPORT for USB, I2C_HID_REPORT_TYPE_FEATURE for i2c). This conversion was hard-coded in ihidev but ihidev_[gs]et_report should assume the type passed is already an i2c-level define, not a hid one. This is how uhidev does it. Add a conversion routine callback that any hidmt callers need to set so that hidmt can convert hid constants to the bus-level versions. Also add a similar conversion function to uhidev. ok deraadt | |||
2018-08-25 | fix misplaced parenthesis inside an if-clause. already fixed in FreeBSD in rev | Ricardo Mestre | |
295608. OK jca@ | |||
2018-08-25 | fix misplaced parenthesis inside an if-clause. already fixed in NetBSD in rev | Ricardo Mestre | |
1.13. OK stsp@ jca@ claudio@ | |||
2018-08-22 | Work well with the Dynastream ANTUSB-m, from Jan Klemkow. | Martin Pieuchot | |
2018-08-22 | regen | Martin Pieuchot | |
2018-08-22 | Dynastream ANTUSB-m, from Jan Klemkow. | Martin Pieuchot | |