Implement USBDebug (full USB stack variant).

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2013-02-01 21:49:29 +01:00
1 parent 0d5b9c9031
commit 66a93674b2
9 files changed
+134 -6

No files matched your search

+6 -1
View File
@@ -27,7 +27,12 @@ void grub_usbserial_detach (grub_usb_device_t usbdev, int configno,
int
grub_usbserial_attach (grub_usb_device_t usbdev, int configno, int interfno,
struct grub_serial_driver *driver);
struct grub_serial_driver *driver, int in_endp,
int out_endp);
enum
{
GRUB_USB_SERIAL_ENDPOINT_LAST_MATCHING = -1
};
int
grub_usbserial_fetch (struct grub_serial_port *port, grub_size_t header_size);