hselasky
e421635628
Optimise bit searching loop by using the ffs() function.
...
Make some related bit shifts unsigned while at it.
2014-12-05 12:07:53 +00:00
hselasky
d8f5944030
Optimise the bit searching loops, by quickly skipping the 16 first set
...
bits if all the 16 first bits are set. This way the worst case
searching time is reduced from 32 to 16 cycles.
2014-12-03 21:55:44 +00:00
hselasky
c73f4ce428
Workaround for possible bug in the SAF1761 chip. Wait 125us before
...
re-using a hardware propritary transfer descriptor, PTD, in USB host
mode. If the PTD's are recycled too quickly, it has been observed that
the hardware simply fails to schedule the requested job or resets
completely disconnecting all devices.
2014-12-03 21:48:30 +00:00
adrian
18385c7e83
Add PCI ID for Intel Lynx Point LP controller.
...
PR: kern/195398
Submitted by: grembo
Obtained from: DragonflyBSD
MFC after: 1 week
2014-11-26 20:34:05 +00:00
hselasky
6cbccb2aed
Add new USB quirk.
...
MFC after: 1 week
PR: 195372
2014-11-26 10:58:08 +00:00
mav
1bac48ea8f
Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.
...
MFC after: 1 week
2014-11-26 04:23:21 +00:00
jhibbits
45aaf263aa
Add Apple Intrepid USB controller ID.
...
MFC after: 2 weeks
2014-11-25 06:15:00 +00:00
hselasky
459c063616
Fix the host mode ISOCHRONOUS transfer interval programming in the
...
SAF1761 OTG driver. Currently the driver logic is very simple and
double buffering the USB transactions is not done. Also you need to
use an external USB high speed USB HUB for reliable FULL speed
outgoing ISOCHRONOUS traffic, because the internal one chokes on
so-called split transfers above 188 bytes.
2014-11-22 17:26:43 +00:00
hselasky
0f5e2dce4f
Use correct length mask for split transactions. The hardware would
...
sometimes put non-zero values in the upper length bits, which are
available for high-speed-only USB transactions, breaking the reception
of data.
2014-11-22 08:47:04 +00:00
kevlo
20ccdec729
Add Trendnet TEW-646UBH.
...
Submitted by: bolshakov_1 at yahoo dot com
2014-11-19 05:38:45 +00:00
hselasky
c4b6620861
Add new USB IDs.
...
Submitted by: G'abor Zahemszky <gabor@zahemszky.hu>
MFC after: 1 week
2014-11-07 11:04:27 +00:00
hselasky
278bc0ec63
Reduce boot verbosity.
...
MFC: 3 days
2014-11-03 09:02:09 +00:00
kevlo
be49686e26
Add D-Link DWA-123 rev D1 and Elecom WDC-150SU2M.
2014-10-24 15:36:30 +00:00
loos
85f9a84b94
Fix a bug where some DTS layouts could cause the premature ending of the
...
search (i.e. without returning any result) and you would end up with a
random MAC address.
Change the search algorithm to a recursive one to ensure that all the nodes
on DTS will be verified.
The previous algorithm could not keep up if the DTS has too many sub-nodes.
While here, fix the punctuation on comments.
2014-10-23 13:47:19 +00:00
hselasky
54601af653
Actually change the USB_PORT_ROOT_RESET_DELAY definition as stated in
...
the r241987 commit message, instead of having users locally overriding
the value using tunables in /boot/loader.conf .
Found by: Adam Parco
Discussed with: Nick Hibma
2014-10-22 07:50:19 +00:00
kevlo
0944c94606
Fix the kernel panic in hostap mode.
...
rvp->beacon_mbuf was NULL in run_update_beacon().
PR: 189405
Submitted by: Gabor Simon <gabor.simon75 at gmail.com>
MFC after: 3 days
2014-10-22 03:32:27 +00:00
kevlo
fef9d98869
Add the Intel BayTrail USB device which needs port routing for USB 3.0.
...
Tested on the BayTrail E3845 platform.
Reviewed by: hselasky
2014-10-21 07:24:58 +00:00
hselasky
9bb1f4bbbc
Add support for new USB 3G device.
...
Submitted by: gabor@zahemszky.hu
MFC after: 1 week
2014-10-18 15:11:13 +00:00
hselasky
47fe29a6d4
Add support for new USB 3G device.
...
Submitted by: gabor@zahemszky.hu
MFC after: 1 week
2014-10-17 13:40:17 +00:00
joerg
66ed0b4e87
Add the Dresden Elektronik deRFnode device to uftdi(4).
...
MFC after: 1 week
2014-10-16 19:53:32 +00:00
hselasky
53ec9839ee
Add sysctl knob to disable port power on a specific USB HUB. You need
...
to reset the USB HUB using "usbconfig -d X.Y reset" or boot having the
setting in /boot/loader.conf before it activates.
2014-10-09 14:43:43 +00:00
hselasky
95a86b5ccc
Refine support for disabling USB enumeration to allow device detach
...
and suspend and resume of existing devices.
MFC after: 2 weeks
2014-10-09 06:24:06 +00:00
gavin
6b1c6ea4bb
It looks like an entry for the R215 is not required in cdce(4) after all.
2014-10-08 19:49:10 +00:00
hselasky
3a2fd4b247
Add support for disabling USB enumeration in general or on selected
...
USB HUBs.
MFC after: 2 weeks
2014-10-08 07:00:50 +00:00
gavin
4b224f6ad7
Support the Vodafone R215 LET USB dongle, which is apparently a rebadged
...
E5372 with different product IDs.
Interestingly, the standard E5372 IDs (12d1:1506) are currently listed in
u3g.c and are the same as the E3131. However, the R215/E5372 is an NCM
device and works well with cdce(4) whereas the E3131 isn't. More work
may be needed to better identify the other device IDs.
MFC after: 1 week
2014-10-07 19:07:50 +00:00
hselasky
4e6d53a2d7
When we fail to get a USB reference we should just return, because
...
there are no more references held.
MFC after: 3 days
2014-10-03 16:09:46 +00:00
hselasky
de588ec5be
Fix XHCI driver for devices which have more than 15 physical root HUB
...
ports. The current bitmap array was too small to hold more than 16
bits and would at some point toggle the context size, which then would
trigger an enumeration fault and cause a fallback to the EHCI
companion controller, if any.
MFC after: 3 days
2014-10-03 15:58:04 +00:00
hselasky
223886f22f
Make sure we always set the maximum number of valid contexts.
...
MFC after: 3 days
2014-10-02 16:56:00 +00:00
hselasky
cde325445b
Add new USB ID.
...
PR: 194091
MFC after: 3 days
2014-10-02 12:27:41 +00:00
hselasky
3001a366c1
Set default cycle state in case of early interrupts.
...
MFC after: 3 days
2014-10-01 07:34:49 +00:00
gavin
80e079b926
Add new (untested) device IDs to smsc(4)
...
MFC after: 1 week
2014-09-26 08:16:26 +00:00
gavin
3d4fec8198
Move the ARM Samsung s3c2xx0 support files into the samsung directory, to
...
match other platforms.
Discussed with: andrew
2014-09-25 11:38:26 +00:00
hselasky
2b799f4318
Some XHCI hardware requires dropping the endpoint context before
...
adding it again.
MFC after: 3 days
Submitted by: Kohji Okuno <okuno.kohji@jp.panasonic.com>
2014-09-22 10:21:42 +00:00
hselasky
5c1396caff
Add new USB IDs.
...
PR: 193775
MFC after: 1 week
2014-09-19 16:06:54 +00:00
glebius
cedd8768c4
Mechanically convert to if_inc_counter().
2014-09-19 10:35:56 +00:00
glebius
4ca46ec795
Mechanically convert to if_inc_counter().
2014-09-18 21:09:22 +00:00
brooks
3a95bc8f8f
Fix some extra whitespace noticed when reviewing git diffs.
2014-09-16 17:07:32 +00:00
hselasky
9bf7e49bfc
Workaround for receiving Voice Calls using the E1750 dongle from
...
Huawei. It might appear as if the firmware is allocating memory blocks
according to the USB transfer size and if there is initially a lot of
data, like at the answering machine prompt, it simply dies without any
apparent reason. The simple workaround for this is to force a zero
length packet at hardware level after every 512 bytes of data. This
will force the other side to use smaller memory blocks aswell.
MFC after: 1 week
2014-09-12 22:40:12 +00:00
kevlo
f4235299d0
Drop frames that have larger than MCLBYTES.
2014-09-09 05:21:31 +00:00
kevlo
dadcc9c0d2
The USB LED driver for the Dream Cheeky WebMail Notifier.
...
Reviewed by: hselasky
2014-09-05 11:25:58 +00:00
mav
752795f0c4
Add IDs for Intel Patsburg USB 2.0 controller.
2014-09-05 07:42:34 +00:00
hselasky
2373443b48
Fix spelling.
...
PR: 193279
MFC after: 1 week
2014-09-03 13:15:16 +00:00
hselasky
0d6b0d3b34
Add new quirk.
...
PR: 193279
MFC after: 1 week
2014-09-03 11:46:43 +00:00
hselasky
db9c4f5e72
Fix logical error.
...
MFC after: 3 days
2014-09-03 05:14:50 +00:00
kevlo
9ef5f9b0ca
Fix typo: s/mac_rev/mac_ver/
...
Submitted by: Stefan Sperling <stsp at openbsd dot org>
2014-08-26 02:20:37 +00:00
kevlo
746eb54add
If eapol packets are sent at the lowest rate, key negotiation will
...
become more reliable.
Submitted by: Akinori Furukoshi <moonlightakkiy at yahoo dot ca>
2014-08-20 01:32:04 +00:00
kevlo
b3cecf4442
Add the D-Link DWA-125 rev D1.
...
Tested by myself.
2014-08-20 01:26:27 +00:00
kevlo
df507d9310
Sort ASUS section and add USB device ID of ASUS USB-AC51.
2014-08-19 09:02:58 +00:00
hselasky
f5deabd6ea
Make sure the USB audio level residue is non-zero.
2014-08-07 12:47:25 +00:00
gjb
15ed43e73d
Add device ID for the Chicony USB 2.0 HD UVC Webcam
...
found on the Asus X550LA.
Reviewed by: sbruno
Sponsored by: The FreeBSD Foundation
2014-08-05 19:43:44 +00:00