diff options
author | Michael Chan <mchan@broadcom.com> | 2007-04-06 17:35:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-06 17:35:37 -0700 |
commit | b8fa2f3a82069304acac1f9e957d491585f4f49a (patch) | |
tree | 8fc4023a131d17fc74835bf0c955280e35a3afdf /kernel | |
parent | 161980f4c6b846625efe6227420175cb41477de3 (diff) |
[TG3]: Fix crash during tg3_init_one().
The driver will crash when the chip has been initialized by EFI before
tg3_init_one(). In this case, the driver will call tg3_chip_reset()
before allocating consistent memory.
The bug is fixed by checking for tp->hw_status before accessing it
during tg3_chip_reset().
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions