Rechercher une page de manuel
gser_bind_config
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
gser_bind_config - add a generic serial function to a configurationSYNOPSIS
- int gser_bind_config(struct usb_configuration * c, u8 port_num);
ARGUMENTS
c
- the configuration to support the serial instance
port_num
- /dev/ttyGS* port this interface will use
CONTEXT
single threaded during gadget setup
DESCRIPTION
Returns zero on success, else negative errno.
Caller must have called gserial_setup() with enough ports to handle all the ones it binds. Caller is also responsible for calling gserial_cleanup() before module unload.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre