linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* UART DRIVER on 2.6.15
@ 2006-05-23 12:02 Ladislav Klenovič
  2006-05-23 15:11 ` Vitaly Bordug
  0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Klenovič @ 2006-05-23 12:02 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,
just a simple question, is uart driver for kernel 2=2E6=2E15 complete=2E=
=20
There are some parts like:
 void scc1_lineif(struct uart_cpm_port *pinfo)
{
        /* XXX SCC1: insert port configuration here */
        pinfo->brg =3D 1;
}
=2E=2E=2E=2E
that seems to incomplete=2E Am I able to do something with SCC1 with th=
e current cpm_uart code?

Maybe stupid question, is there any way (is it possible) to import old =
uart driver from kernel 2=2E4=2Ex to kernel 2=2E6=2Ex

Regards,
Ladislav Klenovic

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: UART DRIVER on 2.6.15
  2006-05-23 12:02 UART DRIVER on 2.6.15 Ladislav Klenovič
@ 2006-05-23 15:11 ` Vitaly Bordug
  0 siblings, 0 replies; 2+ messages in thread
From: Vitaly Bordug @ 2006-05-23 15:11 UTC (permalink / raw)
  To: linuxppc-embedded

On Tue, 23 May 2006 14:02:49 +0200
"Ladislav Klenovič" <lk99336@pobox.sk> wrote:

> Hi,
> just a simple question, is uart driver for kernel 2.6.15 complete. 
> There are some parts like:
>  void scc1_lineif(struct uart_cpm_port *pinfo)
> {
>         /* XXX SCC1: insert port configuration here */
>         pinfo->brg = 1;
> }
> ....
> that seems to incomplete. Am I able to do something with SCC1 with the current cpm_uart code?
> 
> Maybe stupid question, is there any way (is it possible) to import old uart driver from kernel 2.4.x to kernel 2.6.x
> 

It is clear, that per-board tune-up is too specific to be kept within drivers/ and now it is accomplished in the board setup code. 

Just have a look at arch/ppc/platforms/mps866ads_setup.c The thing you'll have to do is implement the pin tune-up for your board in a function, and set the callback pointer to it - it will be executed at the time UART initializes its resources.

-- 
Sincerely, 
Vitaly

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-23 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-23 12:02 UART DRIVER on 2.6.15 Ladislav Klenovič
2006-05-23 15:11 ` Vitaly Bordug

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