1GSER_BIND_CONFIG(9)         Kernel Mode Gadget API         GSER_BIND_CONFIG(9)
2
3
4

NAME

6       gser_bind_config - add a generic serial function to a configuration
7

SYNOPSIS

9       int gser_bind_config(struct usb_configuration * c, u8 port_num);
10

ARGUMENTS

12       c
13           the configuration to support the serial instance
14
15       port_num
16           /dev/ttyGS* port this interface will use
17

CONTEXT

19       single threaded during gadget setup
20

DESCRIPTION

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

AUTHOR

29       David Brownell <dbrownell@users.sourceforge.net>
30           Author.
31
33Kernel Hackers Manual 2.6.       November 2011             GSER_BIND_CONFIG(9)
Impressum