On Mon, 2009-03-30 at 10:12 +0200, Andrew Lunn wrote:
> On Mon, Mar 30, 2009 at 01:36:27PM +0530, vibisreenivasan wrote:
> > >> AT91sam7x hardware supports different usart configurations like
> > >> RS485,IrDA.
> > >> Patch helps that to be set during compile time.
> >
> > > Hi I don't really see how this helps. How do you change the mode? I
> > > don't see any current code which allows you to change this new mode
> > > field. Also, how do you handle baud rate generation? The different
> > > modes seem to calculate the baud rates using different formula. At
> > > the moment, i don't think this patch is useful.
> > > Andrew
> >
> > hi,
> > thanks for looking into this code.
> > We can set the MODE ONLY AT COMPILE TIME.
>
> How?
I am using the 485 mode by changing in the source code directly.
But planning to put it as a cdl option.
>
> > And i really missed the baud rate generation part.
>
> A lot depends on which mode you are using. Some modes do use the same
> baud as normal USART. Some not.
>
> > Can I add that & resubmit this again , will it be helpful?
>
> It is too early to say. Keep working on it and if it does become
> useful then yes. However, at the moment it is not useful.
>
> Andrew
>
THANKS FOR THE FEED BACK
Thanks & regards
vibi
>