Hi Greg,

On Wed, Aug 22, 2007 at 05:09:40PM +1000, Greg Ungerer wrote:
> Hi Wolfgang,
> 
> Wolfgang Wegner wrote:
[...]
> >initalisation, I have to disable UART1 completely in the driver.
[...]
> >- give the UARTs their "hardware number"
> >  UART0 -> ttyS0
> >  UART2 -> ttyS2
> >  Like this, I could always use ttyS2 during development regardless
> >  if I run on a standard kernel or my patched kernel. However, the
> >  "missing ttyS1" looks a bit strange to me...
> 
> It varies, but mostly serial drivers just number the devices
> they find from 0 upwards.
> 
> In your case the UART1 is still there, only its output pins are
> not active. So I would follow your second method.

thank you for the vote! Meanwhile it seems more reasonable for me,
too, also because it is less effort. I can leave everything in place
except the GPIO (pin) initialisation, and also printk() some warning
in case someone tries to open() this port.

Regards,
Wolfgang

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to