freebsd-dev/sys/dev/hid
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
..
hconf.c hid: add opt_hid.h to modules that use HID_DEBUG 2021-03-04 01:43:29 +03:00
hconf.h hid: Import hconf(4) - digitizer configuration top-level collection support. 2021-01-08 02:18:43 +03:00
hcons.c hid: quiet -Wswitch 2021-01-10 21:53:15 -08:00
hgame.c hid: quiet -Wswitch 2021-01-10 21:53:15 -08:00
hgame.h hid: Import hidmap-based drivers written by Greg V 2021-01-08 02:18:44 +03:00
hid_if.m usbhid(4): Add second set of USB transfers to work in polled mode. 2021-05-28 23:29:42 +03:00
hid.c hidraw(4): Add HIDRAW_MAKE_UHID_ALIAS kernel option 2021-01-08 02:18:44 +03:00
hid.h hid: bump HID_ITEM_MAXUSAGES to 8 2021-02-08 15:31:39 -07:00
hidbus.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
hidbus.h hid: Import hidbus(4) 2021-01-08 02:18:42 +03:00
hidmap.c hid: fix extraneous SYSCTL_ADD_INT() options revealed by LINT build 2021-01-10 22:17:20 +03:00
hidmap.h hid: Import hidmap and bunch of drivers based on it 2021-01-08 02:18:44 +03:00
hidquirk.c hid: Import quirk subsystem. 2021-01-08 02:18:43 +03:00
hidquirk.h hid: Import functions and constants required by new subsystem 2021-01-08 02:18:42 +03:00
hidraw.c hidraw: Make HIDIOCGRDESCSIZE ioctl return report descriptor size 2021-02-13 21:19:02 +03:00
hidraw.h hid: Import hidraw(4) - driver for access to raw HID device data 2021-01-08 02:18:43 +03:00
hidrdesc.h
hkbd.c hkbd: Fix typo which disables keyboard input in kdb 2021-04-24 22:01:14 +03:00
hms.c hms: Workaround idle mouse drift in I2C sampling mode. 2021-01-20 23:10:07 +03:00
hmt.c hmt: Allow I2C sampling mode support to be compiled out. 2021-01-20 23:10:07 +03:00
hpen.c hid: quiet -Wswitch 2021-01-10 21:53:15 -08:00
hsctrl.c hid: Import hidmap and bunch of drivers based on it 2021-01-08 02:18:44 +03:00
ps4dshock.c hid: quiet -Wswitch 2021-01-10 21:53:15 -08:00
xb360gp.c hid: Import hidmap-based drivers written by Greg V 2021-01-08 02:18:44 +03:00