freebsd-skq/sys/dev/usb
Robert Watson 2a8c860fe3 In order to reduce use of M_EXT outside of the mbuf allocator and
socket-buffer implementations, introduce a return value for MCLGET()
(and m_cljget() that underlies it) to allow the caller to avoid testing
M_EXT itself.  Update all callers to use the return value.

With this change, very few network device drivers remain aware of
M_EXT; the primary exceptions lie in mbuf-chain pretty printers for
debugging, and in a few cases, custom mbuf and cluster allocation
implementations.

NB: This is a difficult-to-test change as it touches many drivers for
which I don't have physical devices.  Instead we've gone for intensive
review, but further post-commit review would definitely be appreciated
to spot errors where changes could not easily be made mechanically,
but were largely mechanical in nature.

Differential Revision:	https://reviews.freebsd.org/D1440
Reviewed by:	adrian, bz, gnn
Sponsored by:	EMC / Isilon Storage Division
2015-01-06 12:59:37 +00:00
..
controller Add 64-bit DMA support in the XHCI controller driver. 2015-01-05 20:22:18 +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 Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +00:00
quirk Add more quirks. 2014-12-26 10:53:22 +00:00
serial Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +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 new USB phone descriptor template for USB device side mode. 2014-08-05 07:03:16 +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
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_bus.h Add 64-bit DMA support in the XHCI controller driver. 2015-01-05 20:22:18 +00:00
usb_busdma.c
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
usb_compat_linux.h
usb_controller.h
usb_core.c
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
usb_dev.c When we fail to get a USB reference we should just return, because 2014-10-03 16:09:46 +00:00
usb_dev.h
usb_device.c Fix for deadlock in USB device side mode. 2014-08-05 06:38:21 +00:00
usb_device.h Resolve a deadlock setting the USB configuration index from userspace 2014-06-08 20:10:29 +00:00
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_freebsd_loader.h Add support for disabling USB enumeration in general or on selected 2014-10-08 07:00:50 +00:00
usb_freebsd.h Add support for disabling USB enumeration in general or on selected 2014-10-08 07:00:50 +00:00
usb_generic.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
usb_generic.h
usb_handle_request.c
usb_hid.c
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 new USB phone descriptor template for USB device side mode. 2014-08-05 07:03:16 +00:00
usb_lookup.c
usb_mbuf.c
usb_mbuf.h
usb_msctest.c Return USB_ERR_INVAL if the eject method is not known. 2014-08-05 09:59:16 +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
usb_pci.h
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
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
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
usb_util.h
usb.h Actually change the USB_PORT_ROOT_RESET_DELAY definition as stated in 2014-10-22 07:50:19 +00:00
usbdevs Add more USB devices. 2014-12-26 10:57:39 +00:00
usbdi_util.h
usbdi.h Resolve a deadlock setting the USB configuration index from userspace 2014-06-08 20:10:29 +00:00
usbhid.h