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
hselasky
1d56927a73
- Implement fast interrupt handler to save CPU usage.
...
- Cleanup some register reads and writes to use existing register
access macros.
- Ensure code which only applies to the control endpoint is not run
for other endpoints in the data transfer path.
MFC after: 3 days
2014-08-05 18:48:12 +00:00
hselasky
272d9252ab
Add handler for read-back of USB audio volume levels.
2014-08-05 18:35:34 +00:00
hselasky
c1996d7b52
- Ensure code which only applies to the control endpoint is not run
...
for other endpoints in the data transfer path.
- Ensure all bits of the "EPCON" register is written during
initialisation.
MFC after: 3 days
2014-08-05 13:36:26 +00:00
n_hibma
3c2dc8ad2a
Add support for Huawei E3272 modems which are supported by the CDC
...
ethernet class.
Note: This is untested as I do not have a device like this. That is
reflected in the MFC timeout.
PR: 192345
Submitted by: rozhuk.im gmail.com
MFC after: 4 weeks
2014-08-05 12:08:50 +00:00
n_hibma
8ed602ddab
don't OR integer error values together as this does not make sense.
...
Instead bail on the first failed command.
2014-08-05 11:50:16 +00:00
n_hibma
a519d2b31a
Return USB_ERR_INVAL if the eject method is not known.
...
PR: 145319
Submitted by: rozhuk.im gmail.com
2014-08-05 09:59:16 +00:00
n_hibma
7cb9d0139b
Add a second Huawei SCSI eject command as USB mode switch config files
...
sometimes use one or the other. Maybe newer Huawei modems switched.
Add a quirk for it as well.
PR: 145319
Submitted by: rozhuk.im gmail.com
2014-08-05 09:35:25 +00:00
n_hibma
279fc7be5a
Reset the error value in the softc before starting a BBB transfer.
...
PR: 145319
Submitted by: rozhuk.im gmail.com
MFC after: 3 days
2014-08-05 08:48:24 +00:00
n_hibma
95d5cc3d76
Add ID for Novatel MC990D to u3g.
...
PR: 145319
Submitted by: rozhuk.im gmail.com
MFC after: 3 days
2014-08-05 08:29:16 +00:00
n_hibma
cd68ca5c6b
Remove unused defines.
...
Fix some device_printf's that were missing '\n' at the end or had
speling errors.
PR: 145319
Submitted by: rozhuk.im gmail.com
2014-08-05 08:24:41 +00:00
hselasky
deda8ef4e2
Add new USB phone descriptor template for USB device side mode.
...
MFC after: 3 days
2014-08-05 07:03:16 +00:00
hselasky
81ec9782eb
Fix for deadlock in USB device side mode.
...
MFC after: 3 days
2014-08-05 06:38:21 +00:00
hselasky
598f1debb6
Rename driver name a bit to avoid unit number confusion in dmesg.
...
MFC after: 3 days
2014-08-05 06:37:07 +00:00
hselasky
aebc8722ef
- Implement fast interrupt handler to save CPU usage.
...
- Add support for striding register offsets.
- Cleanup some register reads and writes to use existing register
access macros.
2014-08-05 06:33:59 +00:00
hselasky
907d8331c7
Ensure we catch USB transfers which complete right away.
2014-08-05 06:31:09 +00:00
joerg
120a212c4b
Avoid a divide-by-zero panic when setting the baudrate to 0.
...
MFC after: 2 weeks
2014-08-03 10:47:45 +00:00
kevlo
6f03745c1f
Replace the whole license block with the standard one.
...
Suggested by: emaste
2014-07-31 05:12:21 +00:00
kevlo
f1f4c98b35
In copyright statement correct that the author is me, not Bill Paul.
2014-07-31 03:34:25 +00:00
hselasky
ed9fc3677b
Split the XHCI TRB allocations into smaller parts, so that we don't
...
end up allocating contiguous busdma buffers above PAGE_SIZE bytes.
MFC after: 1 week
Tested by: Ruslan Bukin <br@bsdpad.com>
2014-07-26 19:08:52 +00:00
hselasky
4600967ac6
Fix for division by zero.
...
MFC after: 3 days
2014-07-26 16:06:01 +00:00
hselasky
d83317ec90
Add new device ID.
...
MFC after: 1 week
PR: 191959
2014-07-20 21:02:35 +00:00
hselasky
674e405004
Improve support for Intel Lynx Point USB 3.0 controllers by using the
...
USB 2.0 port mask in addition to the USB 3.0 port mask. The hardware
does not always accept when writing -1U to the port switching
registers.
MFC after: 3 days
Tested by: Huang Wen Hui <huanghwh@gmail.com>
2014-07-16 06:14:41 +00:00