diff options
author | hayeswang <hayeswang@realtek.com> | 2014-02-18 14:49:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-18 22:40:01 +0100 |
commit | 7e9da48161506bb24d6072be9dfcd62ac8d95b88 (patch) | |
tree | 40bf21be28fac330c7881ff804f605334953cbdd /drivers/net/xen-netfront.c | |
parent | r8152: combine PHY reset with set_speed (diff) | |
download | linux-7e9da48161506bb24d6072be9dfcd62ac8d95b88.tar.xz linux-7e9da48161506bb24d6072be9dfcd62ac8d95b88.zip |
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>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions