opnsense-src/sys/dev/usb
Ian Lepore a9d84a2ba7 Add ioctl(2) calls to uftdi(4) to access bitbang, MPSSE, CPU_FIFO, and
other modes supported by the FTDI serial adapter chips.

In addition to adding the new ioctls, this change removes all the code
that reset the chip at attach and open/close time, and also the code
that turned on RTS/CTS flow control on open without any permission to do
so (that was just always a bug in the driver).

When FTDI chips are configured as GPIO or MPSSE or other special-purpose
uses by an attached serial eeprom, the chip will power on with certain
pins driven or floating, and it's important that the driver not do
anything to the chip to perturb that unless it receives a specific
command to do so.  When used for "plain old serial comms" the chip
powers on into the right mode and never needs to be reset while it's
running to operate properly, so this change is transparent to most users.
2014-04-05 16:08:13 +00:00
..
controller Add device and gadget bindings for fdt. These are preliminary and will 2014-02-28 03:00:31 +00:00
gadget per style(9): 2013-07-24 18:32:15 +00:00
input Fix spelling. 2014-03-17 07:19:19 +00:00
misc Add new USB ID. 2013-04-03 06:45:21 +00:00
net Correct endianness handling in getting station address from EEPROM. 2014-04-03 01:32:43 +00:00
quirk Add new quirk. 2014-03-04 12:33:18 +00:00
serial Add ioctl(2) calls to uftdi(4) to access bitbang, MPSSE, CPU_FIFO, and 2014-04-05 16:08:13 +00:00
storage Adjust various SCSI drivers to handle either a 32-bit or 64-bit lun_id_t, 2013-10-30 14:04:47 +00:00
template USB method structures for USB controllers and USB pipes should be 2013-12-11 13:20:32 +00:00
wlan Add new USB ID. 2014-04-01 10:34:39 +00:00
ufm_ioctl.h Add missing header file inclusion guard. 2013-01-30 10:59:42 +00:00
uftdiio.h Add ioctl(2) calls to uftdi(4) to access bitbang, MPSSE, CPU_FIFO, and 2014-04-05 16:08:13 +00:00
usb.h Import USB RNDIS driver to FreeBSD from OpenBSD. 2014-02-06 08:47:14 +00:00
usb_bus.h USB method structures for USB controllers and USB pipes should be 2013-12-11 13:20:32 +00:00
usb_busdma.c Fix a regression issue. Contiguous single segment allocations above 2014-02-05 08:02:52 +00:00
usb_busdma.h Modify the FreeBSD USB kernel code so that it can be compiled directly 2013-01-30 15:26:04 +00:00
usb_cdc.h
usb_compat_linux.c - Try to fix build of 32-bit compatibility USB support for FreeBSD and 2013-08-12 09:17:48 +00:00
usb_compat_linux.h
usb_controller.h Improve the XHCI command timeout recovery handling code. 2013-12-06 08:42:41 +00:00
usb_core.c Provide one global language string descriptor for 2013-01-30 15:46:26 +00:00
usb_core.h Workaround for USB MIDI adapters which use non-supported values of 2014-03-14 08:42:30 +00:00
usb_debug.c Modify the FreeBSD USB kernel code so that it can be compiled directly 2013-01-30 15:26:04 +00:00
usb_debug.h Always put space before the comma before ##__VA_ARGS__ due to subtle compiler 2013-05-03 10:13:29 +00:00
usb_dev.c Try to resolve a possible deadlock when detaching USB devices which 2014-03-20 13:53:24 +00:00
usb_dev.h Resolve a LOR after r246616. Protect control requests using the USB device 2013-02-13 12:35:17 +00:00
usb_device.c Try to resolve a possible deadlock when detaching USB devices which 2014-03-20 13:53:24 +00:00
usb_device.h Implement better error recovery for Transaction Translators, TTs, 2014-01-13 15:21:11 +00:00
usb_dynamic.c - Add more defines to limit USB memory usage and number of allocations 2013-05-03 11:10:04 +00:00
usb_dynamic.h
usb_endian.h Modify the FreeBSD USB kernel code so that it can be compiled directly 2013-01-30 15:26:04 +00:00
usb_error.c Modify the FreeBSD USB kernel code so that it can be compiled directly 2013-01-30 15:26:04 +00:00
usb_freebsd.h We are using the old callout API and should also add one extra tick in 2014-01-22 17:50:43 +00:00
usb_freebsd_loader.h Ensure that the DMA delay does not get rounded down to zero ticks when 2014-01-22 07:48:39 +00:00
usb_generic.c Fix a deadlock when trying to power off a USB device. The deadlock 2013-10-27 10:09:53 +00:00
usb_generic.h
usb_handle_request.c Resolve a LOR after r246616. Protect control requests using the USB device 2013-02-13 12:35:17 +00:00
usb_hid.c Modify the FreeBSD USB kernel code so that it can be compiled directly 2013-01-30 15:26:04 +00:00
usb_hub.c Fix the ordering of the arguments to printf in 2014-01-29 16:24:50 +00:00
usb_hub.h Implement better error recovery for Transaction Translators, TTs, 2014-01-13 15:21:11 +00:00
usb_if.m
usb_ioctl.h - Try to fix build of 32-bit compatibility USB support for FreeBSD and 2013-08-12 09:17:48 +00:00
usb_lookup.c Make use of USB ID sections configurable. 2013-02-01 07:05:43 +00:00
usb_mbuf.c Modify the FreeBSD USB kernel code so that it can be compiled directly 2013-01-30 15:26:04 +00:00
usb_mbuf.h
usb_msctest.c Fix some statical clang analyzer warnings. 2013-05-25 17:09:58 +00:00
usb_msctest.h
usb_parse.c Add some defines to limit USB memory usage in reduced memory systems. 2013-05-03 09:23:06 +00:00
usb_pci.h Modify the FreeBSD USB kernel code so that it can be compiled directly 2013-01-30 15:26:04 +00:00
usb_pf.c The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
usb_pf.h
usb_process.c Try to resolve a possible deadlock when detaching USB devices which 2014-03-20 13:53:24 +00:00
usb_process.h Try to resolve a possible deadlock when detaching USB devices which 2014-03-20 13:53:24 +00:00
usb_request.c Implement better error recovery for Transaction Translators, TTs, 2014-01-13 15:21:11 +00:00
usb_request.h - Add more defines to limit USB memory usage and number of allocations 2013-05-03 11:10:04 +00:00
usb_transfer.c Workaround for USB MIDI adapters which use non-supported values of 2014-03-14 08:42:30 +00:00
usb_transfer.h
usb_util.c - Move scratch data from the USB bus structure to the USB device structure 2013-02-10 10:56:13 +00:00
usb_util.h
usbdevs Add the Dresden Elektronik "USB Levelshifter Stick Low Cost" to the 2014-04-03 20:00:02 +00:00
usbdi.h Workaround for USB MIDI adapters which use non-supported values of 2014-03-14 08:42:30 +00:00
usbdi_util.h
usbhid.h Modify the FreeBSD USB kernel code so that it can be compiled directly 2013-01-30 15:26:04 +00:00