linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "David H. Lynch Jr." <dhlii@dlasys.net>
To: monstr@seznam.cz
Cc: linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: Is anyone using the C67x00 USB Host ?
Date: Tue, 09 Dec 2008 15:27:34 -0500	[thread overview]
Message-ID: <493ED4B6.7010605@dlasys.net> (raw)
In-Reply-To: <493D2B22.4000601@seznam.cz>

Michal Simek wrote:
> Hi David,
>
> currently I am working on backport this driver to 2.6.20 to Microblaze but
> a lot of things are the same.
>
> From HW site. Interrupt goes outside of IP directly to interrupt controller.
> And you need to call platform_device_register with proper structure.
>
> Could you send your kernel log?
>   
    I can post a log, but:
       Interrupts are occuring, and being trapped.
    The following code in the driver just seems to always return
IRQ_NONE when called from an interrupt.
   
        int_status = c67x00_ll_hpi_status(c67x00);
        if (!int_status)
            return IRQ_NONE;

    However, if I add a timer that just polls the interrupt handler, I
have the driver working (on the first port) but slowly.





> Thanks,
> Michal
>
>
>
>   
>


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

  reply	other threads:[~2008-12-09 20:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 15:32 Is anyone using the C67x00 USB Host ? David H. Lynch Jr.
2008-12-08  9:13 ` Peter Korsgaard
2008-12-09 20:22   ` David H. Lynch Jr.
2008-12-09 21:11     ` Peter Korsgaard
2008-12-08 14:11 ` Michal Simek
2008-12-09 20:27   ` David H. Lynch Jr. [this message]
2008-12-10  9:20     ` Michal Simek
2008-12-10 12:00       ` Peter Korsgaard
2008-12-10 14:36         ` Michal Simek
2008-12-10 14:43           ` Peter Korsgaard
2008-12-10 16:34             ` Michal Simek
2008-12-11 23:52               ` David H. Lynch Jr.
2008-12-12  7:14               ` David H. Lynch Jr.
2008-12-13 18:41               ` David H. Lynch Jr.
2008-12-13 18:58                 ` Peter Korsgaard
2008-12-13 20:27                   ` David H. Lynch Jr.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=493ED4B6.7010605@dlasys.net \
    --to=dhlii@dlasys.net \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=monstr@seznam.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).