[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] MDM UART support



Hi Hans,

Dr. Johann Pfefferl wrote:
> Hello,
> 
> in the macro XILINX_MDMUART_PLATFORM_INITIALISER the "id" field of the
> data structure must be set to a different value. For example
> 
> .id = (n+6)

Hmm, I wonder if it wouldn't be better instead for the uartlite driver
itself to keep track of IDs handed out, and just increment them itself.
 Statically forcing a +N nmodifier is fragile, if anyone ever adds more
uartlite placeholders in thew platform init code, it will break.

What do you think?

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/