opnsense-src/sys/dev/usb
Ian Lepore 4098ccafa4 Revise the arm bus_space implementation to avoid dereferencing the tag on
every operation to retrieve the bs_cookie value almost nothing actually uses.

The bus_space struct contains a private data pointer (poorly named bs_cookie,
now renamed to bs_privdata) which is used only by a few old armv4 xscale
implementations.  The bus_space functions were all defined to take this
value as the first parameter instead of the bus_space_tag_t, requiring all
the inline macro and function expansions to dereference the tag to pass it
to another function, which never uses it.  Now all the functions take the tag
as the first parameter and retrieve the privdata if they need it.

Also fix a couple bus_space_unmap() implementations that were calling
kva_free() instead of pmap_unmapdev().

Discussed with:	   cognet
2015-01-21 01:06:08 +00:00
..
controller Revise the arm bus_space implementation to avoid dereferencing the tag on 2015-01-21 01:06:08 +00:00
gadget Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +00:00
input Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +00:00
misc In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
net o Restore 'goto tr_setup;' when operating in host mode mistakenly 2015-01-20 16:30:02 +00:00
quirk Add more quirks. 2014-12-26 10:53:22 +00:00
serial Add more USB device IDs. 2015-01-16 12:16:21 +00:00
storage Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +00:00
template Add usb template SERIALNET allowing us to have both USB CDC Ethernet 2015-01-13 14:03:56 +00:00
wlan Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +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
uled_ioctl.h The USB LED driver for the Dream Cheeky WebMail Notifier. 2014-09-05 11:25:58 +00:00
usb.h Actually change the USB_PORT_ROOT_RESET_DELAY definition as stated in 2014-10-22 07:50:19 +00:00
usb_bus.h Resolve a special case deadlock: When two or more threads are 2015-01-13 16:37:43 +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 Change type of the DMA address so that on PAE platforms we get can 2014-06-02 07:08:34 +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 - Add softc pointer argument to FIFO functions as an optimisation. 2014-05-18 09:13:29 +00:00
usb_debug.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +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 Resolve a special case deadlock: When two or more threads are 2015-01-13 16:37:43 +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 Add a kernel function to delist our kernel character devices, so that 2015-01-14 14:04:29 +00:00
usb_device.h Resolve a special case deadlock: When two or more threads are 2015-01-13 16:37:43 +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 Increase the maximum number of dynamic USB quirks. USB memory stick 2015-01-12 06:34:23 +00:00
usb_freebsd_loader.h Increase the maximum number of dynamic USB quirks. USB memory stick 2015-01-12 06:34:23 +00:00
usb_generic.c Fix returned data for the USB_GET_DEV_PORT_PATH IOCTL in particular 2015-01-20 11:43:16 +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 Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +00:00
usb_hub.h Resolve a deadlock setting the USB configuration index from userspace 2014-06-08 20:10:29 +00:00
usb_if.m
usb_ioctl.h Add usb template SERIALNET allowing us to have both USB CDC Ethernet 2015-01-13 14:03:56 +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 Increase the maximum number of dynamic USB quirks. USB memory stick 2015-01-12 06:34:23 +00:00
usb_msctest.h Add a second Huawei SCSI eject command as USB mode switch config files 2014-08-05 09:35:25 +00:00
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 Fix for NULL pointer. 2014-05-09 14:28:11 +00:00
usb_pf.h
usb_process.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +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 Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +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 Add 64-bit DMA support in the XHCI controller driver. 2015-01-05 20:22:18 +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 more USB device IDs. 2015-01-16 12:16:21 +00:00
usbdi.h Resolve a deadlock setting the USB configuration index from userspace 2014-06-08 20:10:29 +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