opnsense-src/sys/dev/usb
Warner Losh ddfc9c4c59 newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these
information functions that translates an sbuf into char * and len. The
current interface suffers issues of what to do in cases of truncation,
etc. Instead, migrate all these functions to using struct sbuf and these
issues go away. The caller is also in charge of any memory allocation
and/or expansion that's needed during this process.

Create a bus_generic_child_{pnpinfo,location} and make it default. It
just returns success. This is for those busses that have no information
for these items. Migrate the now-empty routines to using this as
appropriate.

Document these new interfaces with man pages, and oversight from before.

Reviewed by:		jhb, bcr
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D29937
2021-06-22 20:52:06 -06:00
..
controller Add new PCI ID for XHCI(4). 2021-01-07 15:35:35 +01:00
gadget
input usbhid(4): Add second set of USB transfers to work in polled mode. 2021-05-28 23:29:42 +03:00
misc hid: Chase for HID function name changes in existing USB HID drivers 2021-01-08 02:18:42 +03:00
net Narrow down the probe range for if_ure(4) compatible devices 2021-06-04 15:51:01 +02:00
quirk Add more USB quirks for Kingston devices. 2021-04-22 12:40:29 +02:00
serial USB/U3G: Added Panasonic CF-F9 GOBI 3G modem to U3G module. 2021-06-13 10:23:01 -06:00
storage cam: prefer cam_sim_softc() over accessing cam_sim structure directly. 2021-06-03 13:08:29 -06:00
template
video
wlan run(4): add support for DLINK DWA-130 rev F1 wireless adaptor. 2021-05-23 21:31:51 +03:00
ufm_ioctl.h
uftdiio.h
uled_ioctl.h
usb.h Narrow down the probe range for if_ure(4) compatible devices 2021-06-04 15:51:01 +02:00
usb_bus.h
usb_busdma.c
usb_busdma.h
usb_cdc.h
usb_controller.h
usb_core.c
usb_core.h Use more standard types for manipulating pointers. 2020-12-16 00:27:28 +00:00
usb_debug.c Update usb_timings_sysctl_handler() to accept any value for timings between 2021-05-18 15:52:41 +02:00
usb_debug.h
usb_dev.c
usb_dev.h
usb_device.c Improve handling of alternate settings in the USB stack. 2020-12-15 15:36:41 +00:00
usb_device.h
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_fdt_support.c
usb_fdt_support.h
usb_freebsd.h
usb_freebsd_loader.h
usb_generic.c
usb_generic.h
usb_handle_request.c
usb_hid.c Factor-out hardware-independent part of USB HID support to new module 2021-01-08 02:18:42 +03:00
usb_hub.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
usb_hub.h
usb_hub_acpi.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
usb_hub_private.h newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
usb_if.m
usb_ioctl.h hid: Import hidraw(4) - driver for access to raw HID device data 2021-01-08 02:18:43 +03:00
usb_lookup.c
usb_mbuf.c
usb_mbuf.h
usb_msctest.c
usb_msctest.h
usb_parse.c
usb_pci.h
usb_pf.c
usb_pf.h
usb_process.c
usb_process.h
usb_request.c
usb_request.h
usb_transfer.c
usb_transfer.h Use __containerof() instead of home-rolled versions. 2020-12-17 20:45:10 +00:00
usb_util.c
usb_util.h
usbdevs USB/U3G: Added Panasonic CF-F9 GOBI 3G modem to U3G module. 2021-06-13 10:23:01 -06:00
usbdi.h
usbdi_util.h
usbhid.h hid: Chase for HID function name changes in existing USB HID drivers 2021-01-08 02:18:42 +03:00