Fix MAC address setting in DM9000 driver.
authorstefano babic <sbabic@denx.de>
Tue, 21 Aug 2007 13:50:33 +0000 (15:50 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 29 Aug 2007 00:13:09 +0000 (02:13 +0200)
commit5f470948570526e9186f053a3003da7719604e90
tree040bd2412a7e5497b4c55eaf5e24a1bac03ff5ff
parent4a8527ef086ec7c89f40674ef024ae6f988a614a
Fix MAC address setting in DM9000 driver.

The logic to check if there is a correct MAC address in the DM9000
EEPROM, added in the last patch, is wrong. Now the MAC address is
always taken from the environment, even if a suitable MAC is present
in the EEPROM.

Signed-off-by: Stefano Babic <sbabic@denx.de>
drivers/dm9000x.c