summaryrefslogtreecommitdiffstats
path: root/include/usb/usbserial.h
blob: 43c839c4d6982c2d40342e3163d0a267f87ff1dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _USB_SERIAL_H
#define _USB_SERIAL_H

struct usb_serial_pdata {
	char		*manufacturer;
	char		*productname;
	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 */