commit | 7e9da48161506bb24d6072be9dfcd62ac8d95b88 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Tue Feb 18 21:49:05 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 18 16:40:01 2014 -0500 |
tree | 40bf21be28fac330c7881ff804f605334953cbdd | |
parent | aa66a5f1af163b6c90fca5a06c7fdab121b70cd2 [diff] |
r8152: move some functions from probe to open Add up method for rtl_ops and asign relative functions. Move clear_bp() and hw_phy_cfg() from init method to up method of rtl_ops. Call rtl_ops.up() for ndo_open() and rtl_ops.down for ndo_stop(). Replace allocating the memory in probe() with in ndo_open(). Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>