diff options
Diffstat (limited to 'src/include/usbdebug.h')
-rw-r--r-- | src/include/usbdebug.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/include/usbdebug.h b/src/include/usbdebug.h index 710675f4d4..281ccde826 100644 --- a/src/include/usbdebug.h +++ b/src/include/usbdebug.h @@ -27,22 +27,18 @@ struct ehci_debug_info { void *ehci_caps; void *ehci_regs; void *ehci_debug; - unsigned devnum; - unsigned endpoint_out; - unsigned endpoint_in; + u32 devnum; + u32 endpoint_out; + u32 endpoint_in; }; int dbgp_bulk_write_x(struct ehci_debug_info *dbg_info, const char *bytes, int size); int dbgp_bulk_read_x(struct ehci_debug_info *dbg_info, void *data, int size); -int dbgp_control_msg(struct ehci_dbg_port *ehci_debug, unsigned devnum, int requesttype, int request, - int value, int index, void *data, int size); -int ehci_wait_for_port(struct ehci_regs *ehci_regs, int port); void set_ehci_base(unsigned ehci_base); -void set_ehci_debug(unsigned ehci_deug); +void set_ehci_debug(unsigned ehci_debug); unsigned get_ehci_debug(void); void set_debug_port(unsigned port); -void early_usbdebug_init(void); -void usbdebug_ram_tx_byte(unsigned char data); +int early_usbdebug_init(void); void usbdebug_tx_byte(unsigned char data); #endif |