From 343382d4d6826293fed38c5ff99e7c86651e8582 Mon Sep 17 00:00:00 2001 From: theStack Date: Sat, 19 Sep 2009 01:41:06 +0200 Subject: [PATCH] port enable and reset problem solved (tmp commit) --- usb/host/ohci.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usb/host/ohci.c b/usb/host/ohci.c index feddfa3..183f8c0 100644 --- a/usb/host/ohci.c +++ b/usb/host/ohci.c @@ -401,6 +401,15 @@ static void setup_port(u32 reg, u8 from_init) wait_ms(200); while(!(read32(reg) & RH_PS_PES)) { printf("fu\n"); + //write32(reg, RH_PS_PES); + /* + printf("OHCI0_HC_RH_DESCRIPTOR_A:\t0x%08X\n", read32(OHCI0_HC_RH_DESCRIPTOR_A)); + printf("OHCI0_HC_RH_DESCRIPTOR_B:\t0x%08X\n", read32(OHCI0_HC_RH_DESCRIPTOR_B)); + printf("OHCI0_HC_RH_STATUS:\t\t0x%08X\n", read32(OHCI0_HC_RH_STATUS)); + printf("OHCI0_HC_RH_PORT_STATUS_1:\t0x%08X\n", read32(OHCI0_HC_RH_PORT_STATUS_1)); + printf("OHCI0_HC_RH_PORT_STATUS_2:\t0x%08X\n", read32(OHCI0_HC_RH_PORT_STATUS_2)); + */ + return; } port = read32(reg); wait_ms(200); -- 2.25.1