Am 2004-11-30 11:51 +0200 schrieb Olav Kongas:

> Then you are using no reset at all.

Well, is this general a show stopper? In my opinion that should 
not break the state when powered up, but...

> If you don't use dma, you can lie to the initialization code
> that all low 4GB memory is dma-able. It is a hack to get
> past the initialization.

ok.

... sometimes when the third or fourth interrupt is processed, the
register dumps are totally freaked up:

ohci_isp1362_interrupt: Acknowledging 0003
isp116x_recv_queue: MPS=256 FA=64 DIR=0 EP=0 SPD=0 LEN=0 CNT=640
isp116x_recv_queue: 0680 0100 0000 0040                         
R-                                     
num 265, rem e0f
num 3000e134, rem 300020d4
finish_xfer: finished TD 082e1000 #01da
update_cbp: chunk_size=000000e0, len=00000280, CBP=082d1f20 BE=082d1f27, 
buf_len=00000008
update_cbp: chunk_size=000000e0, len=00000280, CBP=082d1f20 BE=082d1f27, 
buf_len=00000008
update_cbp: Page flip: CBP=082d1f20->082d11a0 BE=082d1f27 len=0280(00e0 + 01a0) 
         
done_td: Linking TD 082e1000 from ED 082e0000 (HeadP 082e1000 TailP 082e10c0 
NextTD 082e1040) to DoneHead
update_td_status: Reactivating Control Queue: 082e0000                          
                         
update_td_status: returning 1                         
finish_xfer: Releasing PTD 0 in queue @ c02d6948
release_ptd: Clearing bit 00000001 in bufmap @ c02d694c: 00000001
ohci_isp1362_interrupt: Asserting WDH interrupt #f00e            
process_ctrl_bulk_lists: Processing CTRL list @ 082e0000
process_ed_list: Processing ED @ 082e0000 #f00e         
process_ed_list: Processing TD ffc04040        
process_ed_list: found TD: 082e1040    
alloc_ptd: Trying to find PTD for 64 byte of type 0
alloc_ptd: Set bit 00000001 in bufmap @ c02d694c: 00000001
buf_curlen(old) = 0                                       
buf_curlen(new) = 72, xfer_size 64, xfer_size_real 64
process_td: alloc_ptd returned 0                     
process_td: dir=2 ed->hwINFO=00400000(0), td->hwINFO=f3d40000(2)
td  a3d40000 082de9a0 082e1080 082de9df                         
process_td: MPS=64 FA=0 DIR=2 EP=0 SPD=0 LEN=64 CNT=0
process_td: fc00 0040 0840 0000                      
isp116x_send_queue: FIFO not empty
process_ed_lists: Activating ATL queue #f00e
ohci_isp1362_interrupt: Calling OHCI interrupt handler: 
00000002(00000002):8000001a
ohci_write_intrdisable: Disabling OHCI Interrupts: 00000002                     
   
ohci_write_intrenable: Enabling OHCI Interrupts: 00000002  
HCREVISION  [00]: f0043004                               
HCCONTROL   [01]: fc441c44
HCCMDSTAT   [02]: bbc81bc8
HCINTSTAT   [03]: 1b4c1b4c
HCINTENB    [04]: bad01ad0
HCFMINTVL   [0d]: fa541a54
HCFMREM     [0e]: 19d819d8
HCFMNUM     [0f]: f95c195c
HCLSTHRESH  [11]: f8e018e0
HCRHDESCA   [12]: f8641864
HCRHDESCB   [13]: 17e817e8
HCRHSTATUS  [14]: 176c176c
HCRHPORT1   [15]: f6f016f0
HCRHPORT2   [16]: f6741674
HCHWCFG     [20]:     6000
HCDMACFG    [21]:     059c
HCXFERCTR   [22]:     0022
HCuPINT     [24]:     f006
HCuPINTENB  [25]:     0033
HCCHIPID    [27]:     13d0
HCSCRATCH   [28]:     6000
HCBUFSTAT   [2c]:     02dc
HCITLBUFLEN [2a]:     a02a
HCATLBUFLEN [2b]:     f006
HCRDITL0LEN [2d]:     11c4
HCRDITL1LEN [2e]:     6000
HCISTL0PORT [40]:     00bc
HCATLPORT_ISP116x[41]:     2041

after that (next interrupt):

HCREVISION  [00]: e000e000                                       
HCCONTROL   [01]: e0012001
HCCMDSTAT   [02]: e0022002
HCINTSTAT   [03]: e003e003
HCINTENB    [04]: e0042004
HCFMINTVL   [0d]: e00d000d
HCFMREM     [0e]: e00e000e
HCFMNUM     [0f]: e00f000f
HCLSTHRESH  [11]: e0112011
HCRHDESCA   [12]: e0120012
HCRHDESCB   [13]: e0132013
HCRHSTATUS  [14]: e0140014
HCRHPORT1   [15]: e0152015
HCRHPORT2   [16]: e0162016
HCHWCFG     [20]:     2020
HCDMACFG    [21]:     0021
HCXFERCTR   [22]:     e022
HCuPINT     [24]:     0024
HCuPINTENB  [25]:     0033
HCCHIPID    [27]:     0027
HCSCRATCH   [28]:     e028
HCBUFSTAT   [2c]:     002c
HCITLBUFLEN [2a]:     002a
HCATLBUFLEN [2b]:     002b
HCRDITL0LEN [2d]:     002d
HCRDITL1LEN [2e]:     002e
HCISTL0PORT [40]:     2040

is that a timing problem or BE<->LE stuff?
I think not hardware related because the 16bit register look still ok...

Konsti



-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to