1GSER_BIND_CONFIG(9) Kernel Mode Gadget API GSER_BIND_CONFIG(9)
2
3
4
6 gser_bind_config - add a generic serial function to a configuration
7
9 int gser_bind_config(struct usb_configuration * c, u8 port_num);
10
12 c
13 the configuration to support the serial instance
14
15 port_num
16 /dev/ttyGS* port this interface will use
17
19 single threaded during gadget setup
20
22 Returns zero on success, else negative errno.
23
24 Caller must have called gserial_setup() with enough ports to handle all
25 the ones it binds. Caller is also responsible for calling
26 gserial_cleanup() before module unload.
27
29 David Brownell <dbrownell@users.sourceforge.net>
30 Author.
31
33Kernel Hackers Manual 2.6. June 2019 GSER_BIND_CONFIG(9)