lkml.org 
[lkml]   [2008]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] Enable console on PCI serial devices
On Fri, Oct 17, 2008 at 10:39:52AM -0600, Bjorn Helgaas wrote:
>...
> Here's another possibility, maybe too wordy, but maybe more straightforward:
>
> + uart[8250],mmio,<addr>[,options[,clock]]
>
> + "clock" is the frequency of the crystal driving
> + the UART clock (typically sixteen times the
> + fastest baud rate supported by the UART).
>
> + port->uartclk = simple_strtoul(options, NULL, 0);
>

We could do that but now the `clock' value becomes a very large
number that is very magic. Putting in the highest baud rate seems
to make more sense than some magic number.

--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
n0ano@n0ano.com
Ph: 303/443-3786


\
 
 \ /
  Last update: 2008-10-17 19:09    [W:0.076 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site