On Wed, 10 Nov 2004 10:42:26 +0100, Lothar Wassmann
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> > There's a field in the Frame Interval register (reg HcFmInterval,
> > 0x0D) called FSLargestDataPacket (FSMPS).  It specifies the largest
> > amount of data in bits that can be sent or received by the HC in a
> > single transaction without causing an overrun.
> >
> > This field wasn't being set!
> >
> This field is set by the standard OHCI driver through the function
> periodic_reinit() defined in ohci.h and called from hc_start().
> The value written to fminterval is initialized in hc_reset().
> 
> 
> Lothar Wassmann
> 

Hi.  Thanks for that info.   In any case, it wasn't being set for me. 
I don't know where the missing link was, but could it be here?

static inline void periodic_reinit (struct ohci_hcd *ohci)
{
        writel (ohci->fminterval, &ohci->regs->fminterval);
        writel (((9 * FI) / 10) & 0x3fff, &ohci->regs->periodicstart);
        writel (LSTHRESH, &ohci->regs->lsthresh);
}

Should that have an ohci_writel equivalent?  I don't know of any place
where the ochi->regs->fminterval value get copied into the chip's
HcFmInterval register.

Thanks again,
Mike


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to