Re: [PATCH] Provide better abstraction for the serial drivers to xmit buf and tty

2007-04-18 Thread Alan Cox
> Currently the uart_info structure is allocated on an open, so it's not > available until that point in time. The trouble is that console_init() is > called before memory is set up, so you can't allocate the uart_info > until it's too late for the console or a debugger that wants to work > early,

Re: [PATCH] Provide better abstraction for the serial drivers to xmit buf and tty

2007-04-18 Thread Corey Minyard
Alan Cox wrote: >> The basic reason for all this is to eventually allow the low-level >> serial drivers to function without a uart_info structure being >> allocated. This will allow the serial console, debuggers like kgdb, >> and the IPMI serial driver to use one interface to the uart code and >>

Re: [PATCH] Provide better abstraction for the serial drivers to xmit buf and tty

2007-04-18 Thread Alan Cox
> The basic reason for all this is to eventually allow the low-level > serial drivers to function without a uart_info structure being > allocated. This will allow the serial console, debuggers like kgdb, > and the IPMI serial driver to use one interface to the uart code and Its cheaper to allocat

[PATCH] Provide better abstraction for the serial drivers to xmit buf and tty

2007-04-17 Thread Corey Minyard
I'm back working on the serial driver to try to get the necessary changes so the IPMI driver can use it. This patch is sort of asking if this is the right direction to go for now. I have all the drivers that use serial_core.h converted over, and if this is accepted I can send the whole set. Subj