projects
/
ppcskel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2bfb047
)
port enable and reset problem solved (tmp commit)
author
theStack
<sebastian.falbesoner@gmail.com>
Fri, 18 Sep 2009 23:41:06 +0000
(
01:41
+0200)
committer
theStack
<sebastian.falbesoner@gmail.com>
Fri, 18 Sep 2009 23:41:06 +0000
(
01:41
+0200)
usb/host/ohci.c
patch
|
blob
|
history
diff --git
a/usb/host/ohci.c
b/usb/host/ohci.c
index feddfa320fd2ea7ad50e87ab4dc5ef1f0583d959..183f8c03a462d13a593c2dbfd63bf8b9599c8299 100644
(file)
--- 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");
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);
}
port = read32(reg);
wait_ms(200);