diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2010-11-12 04:13:06 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-14 23:24:37 +0100 |
commit | 4b29bdb0ed08412d225a8be94f61fc6c37a59dd5 (patch) | |
tree | f176d3493045da0dd537420c934b1626339f34e2 /arch/powerpc | |
parent | fe7f1883b704452224af9e8db002a4261a26540d (diff) | |
download | u-boot-imx-4b29bdb0ed08412d225a8be94f61fc6c37a59dd5.zip u-boot-imx-4b29bdb0ed08412d225a8be94f61fc6c37a59dd5.tar.gz u-boot-imx-4b29bdb0ed08412d225a8be94f61fc6c37a59dd5.tar.bz2 |
net: e1000: Add initialized eth_device & e1000_hw structure
nic and hw structures are allocated via malloc i.e. return memory
is not zero initialized. Because of this few structure member like
"function pointers" are initialized with garbage values.
It may cause problem. for eg. during eth_initialize, dev->write_hwaddr
is used.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Fixed typo.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions