linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "David Bolcsfoldi" <dbolcsfoldi@gmail.com>
To: "Robert Corley" <rcorley@aegis-inc.net>
Cc: linux linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: which driver for uartlite with 2.6.17?
Date: Fri, 13 Oct 2006 09:47:27 -0700	[thread overview]
Message-ID: <609d5c8e0610130947k5ea1f955sadc8c5e82f693aa8@mail.gmail.com> (raw)
In-Reply-To: <20061013155908.4944.qmail@web56302.mail.re3.yahoo.com>

Hi :-)

Good question. Well I was unaware of the fact that there were other
uartlite drivers so you should take mine off that list. Peter's driver
is slated for inclusion in the mainline and I am currently in the
process of adding a few things to it.

For 2.6.17 support you should probably just remove the IRQF_DISABLED
flag and change IRQF_SAMPLE_RANDOM to SA_SAMPLE_RANDOM in the
request_irq call and it should work. I am unaware of any other
important differences between the two releases affecting this driver.

Cheers,
David

On 10/13/06, Robert Corley <rcorley@aegis-inc.net> wrote:
> All,
>
> Based on what was posted recently, it appears that there is more than one uartlite driver
> floating about.
>
> Can someone please inform me of which driver works for which kernel?
>
> Here is what I see
>
> D. Lynch    2.6.15    polled, (Pico E12 board specific?)
> P. Korsgaard    2.6.18    interrupt driven, official lanana.org nodes
> D. Bolcsfoldi    2.6.18    interrupt driven
>
> patch locations:
> D. Lynch    http://ozlabs.org/pipermail/linuxppc-embedded/2006-January/021592.html
> P. Korsgaard    http://lkml.org/lkml/2006/9/13/71
> D. Bolcsfoldi    http://ozlabs.org/pipermail/linuxppc-embedded/2006-October/024697.html
>
> Comments?
>
> And, lastly, I need a driver for 2.6.17.  Can someone point me in the right direction?
> I have tried Peter's driver but it fails to compile, showing this:
>
> CC      drivers/serial/serial_core.o
> CC      drivers/serial/uartlite.o
> drivers/serial/uartlite.c: In function `ulite_startup':
> drivers/serial/uartlite.c:199: error: `IRQF_DISABLED' undeclared (first use in this function)
> drivers/serial/uartlite.c:199: error: (Each undeclared identifier is reported only once
> drivers/serial/uartlite.c:199: error: for each function it appears in.)
> drivers/serial/uartlite.c:199: error: `IRQF_SAMPLE_RANDOM' undeclared (first use in this function)
> make[2]: *** [drivers/serial/uartlite.o] Error 1
> make[1]: *** [drivers/serial] Error 2
> make: *** [drivers] Error 2
>
>
>
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>

  reply	other threads:[~2006-10-13 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-13 15:59 which driver for uartlite with 2.6.17? Robert Corley
2006-10-13 16:47 ` David Bolcsfoldi [this message]
2006-10-15 21:55   ` 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=609d5c8e0610130947k5ea1f955sadc8c5e82f693aa8@mail.gmail.com \
    --to=dbolcsfoldi@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=rcorley@aegis-inc.net \
    /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).