And restore code to standard code.But there is a oops when usb_set_address(I
posted oops message before).Sigh
So I added some printk in code,got following msg:
Good msg (with endian enable & nasty hack):
before usb_set_address
usb-ohci.c: td_fill: td_pt @ 0xa08e4040 !
usb-ohci.c: td_fill: td->hwNextTD = 0x40408e00, td->urb @ 0x8081a850 !
usb-ohci.c: td_fill: td_pt @ 0xa08e4080 !
usb-ohci.c: td_fill: td->hwNextTD = 0x80408e00, td->urb @ 0x8081a850 !
usb-ohci.c: dl_reverse_done_list: td_list->urb @ 0x8081a850,td_list_hc = 8e4040 !
usb-ohci.c: dl_reverse_done_list: td_list->hwNextTD = 0x408e00 !
usb-ohci.c: dl_reverse_done_list: td_list->urb @ 0x8081a850,td_list_hc = 8e4000 !
usb-ohci.c: dl_reverse_done_list: td_list->hwNextTD = 0x0 !
oops msg: (standard code with frame no modification)
before usb_set_address
usb-ohci.c: td_fill: tp_pt @ 0xa086b040!
usb-ohci.c: td_fill: td->hwNextED = 0x40b08600!,urb @ 0x8081a850
usb-ohci.c: td_fill: tp_pt @ 0xa086b080!
usb-ohci.c: td_fill: td->hwNextED = 0x80b08600!,urb @ 0x8081a850
usb-ohci.c: dl_reverse_done_list: td_list->urb @ 0x8081a850,td_list_hc = 0x86b000!
usb-ohci.c: dl_reverse_done_list: td_list->hwNextTD = 0x40b08600 !
usb-ohci.c: dl_reverse_done_list: td_list->urb @ 0x8081a850,td_list_hc = 0x86b040!
usb-ohci.c: dl_reverse_done_list: td_list->hwNextTD = 0x80b08600 !
usb-ohci.c: dl_reverse_done_list: td_list->urb @ 0x0,td_list_hc = 0x86b080!
~~~~~~~~~ it should be NULL
usb-ohci.c: dl_reverse_done_list: td_list->hwNextTD = 0x0 !
I think the number of td should be two because there are only 2 td filled.
BWT: basically usb codes are same between 2.4.17 and 2.4.21.
Regards yfw
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel