commit | 769335787eb5b8d2d8501ad2cd1f856a93c6f9f1 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Fri Nov 12 04:13:06 2010 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Sun Nov 14 23:24:37 2010 +0100 |
tree | f176d3493045da0dd537420c934b1626339f34e2 | |
parent | e633d274927f4dba5cf236158159fac8b331e3f7 [diff] |
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>