"Hong Xu" <[EMAIL PROTECTED]> wrote:
> The point is I'm not sure all AT91 series will behave the same way.
> But since AVR32 has less cases, it's a good idea to use #else to
> handle AT91 variants. So at least till now, this patch makes sense.

When I said "let's stop the overengineering", I meant let's not attempt
to handle cases that don't exist yet :-)

If there turns out to be lots of differences within chip families, we
should probably consider handling it some other way than through adding
lots of #ifdefs. For example by adding a macb_set_usrio() hook in an
arch/platform/chip/whatever-specific file. But until we actually _need_
that, I think we should go for the simplest solution possible.

Note that AT91 boards that don't actually have ethernet, or use some
other implementation, are not interesting in this context since they
shouldn't enable the macb driver in the first place.

Haavard

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to