[U-Boot] [Patch v4] powerpc/eeprom: cleanup mac command
Tabi Timur-B04825
B04825 at freescale.com
Fri Oct 14 23:38:41 CEST 2011
On Fri, Oct 14, 2011 at 4:32 PM, Wolfgang Denk <wd at denx.de> wrote:
> These changes silently change the behaviour of the command. So far,
> an argument line "24" would be parsed as hex number (i. e. result in
> decimal value 36); with this change it suddenly becomes devcimal 24,
> which is quite unexpected.
Support for numbers larger than 9 is new, so very few people would be affected.
> There are very few exceptions wher eU-Boot uses and expects decimal
> numbers, and I strongly recommend not to add any new such
> inconsistencies.
I understand, except that in this case, it's counter-intuitive. No
one is going to think to do this:
mac ports b
to set the number of ports to 11, but that's what you have to do.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the U-Boot
mailing list