opnsense-src/sys/dev/usb
Pyun YongHyeon 7c10cf8c28 Switch to TX header format rather than directly manipulating header
structures.  This simplifies mbuf copy operation to USB buffers as
well as improving readability.  The controller supports Microsoft
LSOv1(aka TSO) but this change set does not include the support due
to copying overhead to USB buffers and large amount of memory waste.

Remove useless ZLP padding which seems to come from Linux.  Required
bits the code tried to set was not copied into USB buffer so it had
no effect.  Unlike Linux, FreeBSD USB stack automatically generates
ZLP so no explicit padding is required in driver.[1]

Micro-optimize updating IFCOUNTER_OPACKETS counter by moving it out
of TX loop since updating counter is not cheap operation as it did
long time ago and we already know how many number of packets were
queued after exiting the loop.

While here, fix a checksum offloading bug which will happen when
upper stack computes checksum while H/W checksum offloading is
active.  The controller should be notified to not recompute the
checksum in this case.

Reviewed by:	kevlo (initial version), hselasky
Pointed out by:	hselasky [1]
2016-08-18 05:07:02 +00:00
..
controller sys/dev: replace comma with semicolon when pertinent. 2016-08-09 19:41:46 +00:00
gadget
input Keep a reference count on USB keyboard polling to allow recursive 2016-08-05 08:58:00 +00:00
misc dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
net Switch to TX header format rather than directly manipulating header 2016-08-18 05:07:02 +00:00
quirk USB: Add Garmin FR230 device quirk (broken INQUIRY) 2016-06-29 06:42:20 +00:00
serial Annotate the usb-serial drivers which always return 0 for line status, 2016-07-27 00:08:01 +00:00
storage dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
template Fix MTP description in the comment. 2016-07-29 11:33:01 +00:00
video Add new USB ID to UDL driver. 2016-03-30 10:05:52 +00:00
wlan [run] fix TSF locking in RX radiotap. 2016-06-04 07:18:39 +00:00
ufm_ioctl.h
uftdiio.h Return the current ftdi bitbang mode with the UFTDIIOC_GET_BITMODE ioctl. 2015-08-06 19:47:04 +00:00
uled_ioctl.h
usb.h
usb_bus.h Improve the realtime properties of USB transfers for embedded systems 2015-08-14 12:57:53 +00:00
usb_busdma.c sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
usb_busdma.h Add helper function to check if a USB page cache buffer is properly 2015-11-07 11:40:35 +00:00
usb_cdc.h dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_controller.h
usb_core.c
usb_core.h
usb_debug.c
usb_debug.h
usb_dev.c Check for signals when locking the USB enumeration thread from 2016-05-25 07:48:36 +00:00
usb_dev.h
usb_device.c Improve error message. 2016-07-29 11:33:23 +00:00
usb_device.h Check for signals when locking the USB enumeration thread from 2016-05-25 07:48:36 +00:00
usb_dynamic.c Finish process of moving the LinuxKPI module into the default kernel build. 2015-10-29 08:28:39 +00:00
usb_dynamic.h Finish process of moving the LinuxKPI module into the default kernel build. 2015-10-29 08:28:39 +00:00
usb_endian.h
usb_error.c
usb_freebsd.h
usb_freebsd_loader.h
usb_generic.c
usb_generic.h
usb_handle_request.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_hid.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_hub.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_hub.h
usb_if.m
usb_ioctl.h
usb_lookup.c Update metadata for "tools/tools/bus_autoconf" after r292080. Use 2015-12-29 11:53:13 +00:00
usb_mbuf.c
usb_mbuf.h
usb_msctest.c Revert r290327. The compiler warnings seems to be specific to clang v3.5 only. 2015-11-03 09:38:39 +00:00
usb_msctest.h
usb_parse.c
usb_pci.h
usb_pf.c Fix race in USB PF which can happen if we stop tracing exactly when 2015-08-15 09:00:36 +00:00
usb_pf.h
usb_process.c
usb_process.h Improve the realtime properties of USB transfers for embedded systems 2015-08-14 12:57:53 +00:00
usb_request.c
usb_request.h
usb_transfer.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_transfer.h
usb_util.c
usb_util.h
usbdevs Add Logitech Unifying receiver. 2016-08-06 20:27:12 +00:00
usbdi.h dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usbdi_util.h
usbhid.h