Konstantin Kletschke
Sent: Tuesday, November 30, 2004 7:31 AM

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.

PAS: In my case I had to set the dma masks in order to "trick" OHCI into
thinking it is using dma.  The are  statements in hcd.c of the type "if
(dma_mask) ..."  So if it is not set, functions like hcd_submit_urb() don't
seem to fill the setup_dma / transfer_dma fields that OHCI expects and
translates into data that is later needed by the isp driver.

ok.


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

PAS: Doesn't look like anything I ran into before.  I'd suggest, dump the
registers during during driver init at some point.  If the registers are
printed out find even only once, you don't have to worry about it being a
LE/BE issue.  If you are getting this far into the driver, I doubt this
would be the issue.  Instead, it almost looks more like you are reading back
the address register somehow, as all 32 bit data regs contain their address
value.

--
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



-------------------------------------------------------
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