summaryrefslogtreecommitdiffstats
path: root/include/usb/usbserial.h
blob: 7c416aa158d9124af9da8fe58ea8627596b029cd (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;
	const 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 */