2012-01-04 09:36:47 +00:00
|
|
|
#ifndef _USB_SERIAL_H
|
|
|
|
#define _USB_SERIAL_H
|
|
|
|
|
|
|
|
struct usb_serial_pdata {
|
|
|
|
char *manufacturer;
|
2013-08-14 14:12:31 +00:00
|
|
|
const char *productname;
|
2012-01-04 09:36:47 +00:00
|
|
|
u16 idVendor;
|
|
|
|
u16 idProduct;
|
|
|
|
int mode;
|
|
|
|
};
|
|
|
|
|
|
|
|
int usb_serial_register(struct usb_serial_pdata *pdata);
|
|
|
|
void usb_serial_unregister(void);
|
|
|
|
|
|
|
|
/* OBEX support is missing in barebox */
|
|
|
|
/* #define HAVE_OBEX */
|
|
|
|
|
|
|
|
#endif /* _USB_SERIAL_H */
|
|
|
|
|