Re: [PATCH] Move serial_dev_init to device_initcall()

2007-08-29 Thread Olof Johansson
On Wed, Aug 22, 2007 at 07:26:37PM -0500, Olof Johansson wrote: > With the I/O space rewrite by BenH, the legacy_serial serial_dev_init() > initcall is now called before I/O space is setup, but it's dependent on > it being available. > > Since there's no way to make dependencies between initcalls,

Re: [PATCH] Move serial_dev_init to device_initcall()

2007-08-23 Thread Olof Johansson
On Fri, Aug 24, 2007 at 06:59:38AM +0200, Benjamin Herrenschmidt wrote: > On Thu, 2007-08-23 at 18:15 -0500, Olof Johansson wrote: > > On Fri, Aug 24, 2007 at 01:21:57AM +0200, Guennadi Liakhovetski wrote: > > > On Wed, 22 Aug 2007, Olof Johansson wrote: > > > > > > > With the I/O space rewrite by

Re: [PATCH] Move serial_dev_init to device_initcall()

2007-08-23 Thread Benjamin Herrenschmidt
On Thu, 2007-08-23 at 18:15 -0500, Olof Johansson wrote: > On Fri, Aug 24, 2007 at 01:21:57AM +0200, Guennadi Liakhovetski wrote: > > On Wed, 22 Aug 2007, Olof Johansson wrote: > > > > > With the I/O space rewrite by BenH, the legacy_serial serial_dev_init() > > > initcall is now called before I/O

Re: [PATCH] Move serial_dev_init to device_initcall()

2007-08-23 Thread Olof Johansson
On Fri, Aug 24, 2007 at 01:21:57AM +0200, Guennadi Liakhovetski wrote: > On Wed, 22 Aug 2007, Olof Johansson wrote: > > > With the I/O space rewrite by BenH, the legacy_serial serial_dev_init() > > initcall is now called before I/O space is setup, but it's dependent on > > it being available. > >

Re: [PATCH] Move serial_dev_init to device_initcall()

2007-08-23 Thread Guennadi Liakhovetski
On Wed, 22 Aug 2007, Olof Johansson wrote: > With the I/O space rewrite by BenH, the legacy_serial serial_dev_init() > initcall is now called before I/O space is setup, but it's dependent on > it being available. > > Since there's no way to make dependencies between initcalls, we'll just > have t

[PATCH] Move serial_dev_init to device_initcall()

2007-08-22 Thread Olof Johansson
With the I/O space rewrite by BenH, the legacy_serial serial_dev_init() initcall is now called before I/O space is setup, but it's dependent on it being available. Since there's no way to make dependencies between initcalls, we'll just have to move it to device_initcall(). Yes, it's suboptimal but