@@ -5008,14 +5008,14 @@ struct usbhost_connection_s *a64_ehci_initialize(int controller)
50085008 int ret ;
50095009 int i ;
50105010
5011- _info ("sizeof(struct a64_qh_s)=%d\n" , sizeof (struct a64_qh_s ));////
5012- _info ("sizeof(struct a64_qtd_s)=%d\n" , sizeof (struct a64_qtd_s ));////
5013- _info ("sizeof(struct ehci_itd_s)=%d\n" , sizeof (struct ehci_itd_s ));////
5014- _info ("sizeof(struct ehci_sitd_s)=%d\n" , sizeof (struct ehci_sitd_s ));////
5015- _info ("sizeof(struct ehci_qtd_s)=%d\n" , sizeof (struct ehci_qtd_s ));////
5016- _info ("sizeof(struct ehci_overlay_s)=%d\n" , sizeof (struct ehci_overlay_s ));////
5017- _info ("sizeof(struct ehci_qh_s)=%d\n" , sizeof (struct ehci_qh_s ));////
5018- _info ("sizeof(struct ehci_fstn_s)=%d\n" , sizeof (struct ehci_fstn_s ));////
5011+ // _info("sizeof(struct a64_qh_s)=%d\n", sizeof(struct a64_qh_s));////
5012+ // _info("sizeof(struct a64_qtd_s)=%d\n", sizeof(struct a64_qtd_s));////
5013+ // _info("sizeof(struct ehci_itd_s)=%d\n", sizeof(struct ehci_itd_s));////
5014+ // _info("sizeof(struct ehci_sitd_s)=%d\n", sizeof(struct ehci_sitd_s));////
5015+ // _info("sizeof(struct ehci_qtd_s)=%d\n", sizeof(struct ehci_qtd_s));////
5016+ // _info("sizeof(struct ehci_overlay_s)=%d\n", sizeof(struct ehci_overlay_s));////
5017+ // _info("sizeof(struct ehci_qh_s)=%d\n", sizeof(struct ehci_qh_s));////
5018+ // _info("sizeof(struct ehci_fstn_s)=%d\n", sizeof(struct ehci_fstn_s));////
50195019 DEBUGASSERT (sizeof (struct ehci_itd_s ) == SIZEOF_EHCI_ITD_S );////
50205020 DEBUGASSERT (sizeof (struct ehci_sitd_s ) == SIZEOF_EHCI_SITD_S );////
50215021 DEBUGASSERT (sizeof (struct ehci_qtd_s ) == SIZEOF_EHCI_QTD_S );////
@@ -5159,12 +5159,10 @@ struct usbhost_connection_s *a64_ehci_initialize(int controller)
51595159
51605160 /* EHCI Hardware Configuration ********************************************/
51615161
5162- _info ("TODO: a64_clockall_usboh3\n" );////
51635162 // TODO: a64_clockall_usboh3();
51645163
51655164 /* Reset the controller from the OTG peripheral */
51665165
5167- _info ("TODO: Reset the controller from the OTG peripheral\n" );////
51685166 // TODO: putreg32(USBDEV_USBCMD_RST, A64_USBDEV_USBCMD);
51695167 // while ((getreg32(A64_USBDEV_USBCMD) & USBDEV_USBCMD_RST) != 0);
51705168
@@ -5179,7 +5177,6 @@ struct usbhost_connection_s *a64_ehci_initialize(int controller)
51795177 putreg32 (USBHOST_USBMODE_CM_HOST | USBHOST_USBMODE_SDIS |
51805178 USBHOST_USBMODE_VBPS , A64_USBDEV_USBMODE );
51815179# else
5182- _info ("TODO: Program the controller to be the USB host controller\n" );////
51835180 // TODO: putreg32(USBHOST_USBMODE_CM_HOST | USBHOST_USBMODE_VBPS,
51845181 // A64_USBDEV_USBMODE);
51855182# endif
@@ -5202,7 +5199,6 @@ struct usbhost_connection_s *a64_ehci_initialize(int controller)
52025199 putreg32 (USBHOST_USBMODE_CM_HOST | USBHOST_USBMODE_SDIS |
52035200 USBHOST_USBMODE_VBPS , A64_USBDEV_USBMODE );
52045201# else
5205- _info ("TODO: Re-program the USB host controller\n" );////
52065202 // TODO: putreg32(USBHOST_USBMODE_CM_HOST | USBHOST_USBMODE_VBPS,
52075203 // A64_USBDEV_USBMODE);
52085204# endif
0 commit comments