Messages in this thread | | | From | n0ano@n0ano ... | Date | Tue, 14 Oct 2008 17:04:32 -0600 | Subject | Re: [PATCH] Enable console on PCI serial devices |
| |
Alan-
Wait off a bit. YH pointed out that early printk (I should have checked that) already has be ability to specify a I/O address. All I need to do is enhance the early printk code to specify a clock frequency, I should have that patch ready shortly.
I was kind of torn between specifying the frequency vs. the max baud rate and went with the frequency on the off chance that some weird HW might come out that needs a different multiplier. I figured anybody who needs to specify the number can do the appropriate arithmetic.
On Tue, Oct 14, 2008 at 11:53:17PM +0100, Alan Cox wrote: > > F is the flow control, III is the I/O port address (prefix with 0x for > > hexadecimal) and CCC is the crystal frequency. -III and /CCC are optional > > and can be omitted although -III must be specified if you want to set > > /CCC. For example, the option I use is: > > I am sure real men would compute the equivalent baud rate for the clock by > hand ;) This looks a sensible patch, will queue. > > Now I wonder if uart_parse_options can be __init > > Alan > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/
-- Don Dugger "Censeo Toto nos in Kansa esse decisse." - D. Gale n0ano@n0ano.com Ph: 303/443-3786
| |