ddfc9c4c59
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 |
||
---|---|---|
.. | ||
hconf.c | ||
hconf.h | ||
hcons.c | ||
hgame.c | ||
hgame.h | ||
hid_if.m | ||
hid.c | ||
hid.h | ||
hidbus.c | ||
hidbus.h | ||
hidmap.c | ||
hidmap.h | ||
hidquirk.c | ||
hidquirk.h | ||
hidraw.c | ||
hidraw.h | ||
hidrdesc.h | ||
hkbd.c | ||
hms.c | ||
hmt.c | ||
hpen.c | ||
hsctrl.c | ||
ps4dshock.c | ||
xb360gp.c |