linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* C67x00 USB problems
@ 2008-09-21  6:05 David H. Lynch Jr.
  0 siblings, 0 replies; only message in thread
From: David H. Lynch Jr. @ 2008-09-21  6:05 UTC (permalink / raw)
  To: linuxppc-embedded


    Good news - works.
    Bad news - sort of.

    I am using the C67x00_HCD driver from 2.6.24 mainline.
   
    If I kill off installing the interrupt handler and just poll it.
    I can get the first port working - fairly slowly.

    If I enable the interrupt handler I get lots of messages from the
Kernel about unhandled IRQ's and then the Kernel disables
    the IRQ. Although sometimes I just get a kernel panic when loading
the driver.

    The only way out of the irq handler without handling the IRQ is

     // printk(KERN_ERR "c67x00_irq()00\n");
    int_status = c67x00_ll_hpi_status(c67x00);
    if (!int_status)
        return IRQ_NONE;

    But if that is failing then why are things working when polled ?

    Clues would be greatly appreciated ?

    Is there any interest in a patch to support polling the USB driver ?








   






-- 
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       dhlii@dlasys.net 	  http://www.dlasys.net
fax: 1.253.369.9244 			           Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.

"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-21  6:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-21  6:05 C67x00 USB problems David H. Lynch Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).