commit | 20571d8894d1ee5a181e34e8d07ed8472acd30c4 | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Tue May 29 13:43:34 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue May 29 22:31:08 2012 -0400 |
tree | a5c3dc1258b3ae81aee1476c2d8f4b0b2d06aa12 | |
parent | acaf8276823302983d681c2cedaaf01918406935 [diff] |
r6040: Do a Proper deinit at errorpath and also when driver unloads (calling r6040_remove_one) so if mdiobus_alloc fails, the errorpath doesnt do a netif_napi_del and also doesn't set the priv data of the driver to NULL. at the driver unload stage the driver doesn't remove the NAPI context, and doesnt' set the priv data to NULL, and also doesn't call the pci_iounmap. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>