Re: [PATCH]serial: make early_uart to use early_param instead of console_initcall

2007-05-21 Thread Yinghai Lu
On 5/21/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > I don't want to add asm-ia64/fixmap.h with dummy definitions > just for this. > > Can we add this: > > asm-ia64/io.h: #define bt_ioremap ioremap > asm-x86_64/io.h: #define bt_ioremap early_ioremap > > and use bt_ioremap instead? > Pl

Re: [PATCH]serial: make early_uart to use early_param instead of console_initcall

2007-05-21 Thread Yinghai Lu
On 5/21/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: I don't want to add asm-ia64/fixmap.h with dummy definitions just for this. Can we add this: asm-ia64/io.h: #define bt_ioremap ioremap asm-x86_64/io.h: #define bt_ioremap early_ioremap and use bt_ioremap instead? I can not use early

Re: [PATCH]serial: make early_uart to use early_param instead of console_initcall

2007-05-21 Thread Yinghai Lu
On 5/21/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: How about just plain "console=8250,io,..."? then the __setup("console", setup_console); setup_console will think their is one ttyS8, and then ... How about console=uart8250,...? I don't want to add asm-ia64/fixmap.h with dummy definitions

Re: [PATCH]serial: make early_uart to use early_param instead of console_initcall

2007-05-21 Thread Bjorn Helgaas
On Monday 21 May 2007 02:36:16 pm Yinghai Lu wrote: > On 5/21/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > > with console=uart, you need to call early_serial_console_init > > > explictly in your arch setup_arch to get early console. > > > > Can't we just do: > > > > early_param("console", set

Re: [PATCH]serial: make early_uart to use early_param instead of console_initcall

2007-05-21 Thread Yinghai Lu
patch. it will take console=early8250,io,0x3f8,9600n8 You may need to remove early_serial_console_init in your ia64 setup_arch, and some dummy function for set_fixmap_nocache, and __fix_to_virt in your asm-ia64/fixmap.h YH [PATCH]serial: make early_uart to use early_param instead of console_initc