Hi,

A reasonable setup for 116x for this driver would be ...

> isp1362-ohci isp1362-ohci0: ISP116x Memory usage:
> isp1362-ohci isp1362-ohci0:   ISTL:  2 *  512: 1024

ISTL: 2 * 0 , because the driver currently does not support
iso transfers

> isp1362-ohci isp1362-ohci0:   INTL:  4 *   64:  288

INTL: 0 * whatever , because 116x does not allow to set up a
buffer specific for interrupt transfers (in contrast to
1362).

> isp1362-ohci isp1362-ohci0:   ATL : 28 *   64: 2016

This is ok. But in my current version (which you don't have
yet), I chop large transfers up into atl_queue.blk_size
bytes pieces. And as the amount of bytes one can transfer
during a frame is limited, I use:

ATL : 2 * 512

Note that for 116x, only the total size of the buffer of a
given type matters.

> isp1362_mem_config: Allocated buffer for 36 PTDs
> isp1362_mem_config: Initializing ITL0 buffer of 512 bytes @ c0342764
> isp1362_mem_config: Initializing ITL1 buffer of 512 bytes @ c0342784
> isp1362_mem_config: Initializing ATL buffer of 2016 bytes @ c03427c4
> itl0_virt c0342470, itl0_dma 0
> itl1_virt c0342470, itl1_dma 0
> atl0_virt c033b040, atl0_dma 0
>
> Is that reasonable or complete BS? I really don't know, because
> c0342784 and c0342764 seems bogus to me because shouldn't there be a
> space of 512 bytes between the values?

These are pointers to structs describing the transfers.

I guess c0342764 + sizeof(struct ptd_queue) == c0342784

Look at the definition of struct hc_isp1362_dev.

> HCREVISION  [00]: 00000010
> HCCONTROL   [01]: 00000080
> HCCMDSTAT   [02]: 00000000
> HCINTSTAT   [03]: 00000044
> HCINTENB    [04]: 80000018
> HCFMINTVL   [0d]: 00002edf
                    ^^^^
You won't see transfers if HCFMINTVL is uninitialized.

Olav



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