summaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2014-02-18 14:49:05 +0100
committerDavid S. Miller <davem@davemloft.net>2014-02-18 22:40:01 +0100
commit7e9da48161506bb24d6072be9dfcd62ac8d95b88 (patch)
tree40bf21be28fac330c7881ff804f605334953cbdd /drivers/net/xen-netfront.c
parentr8152: combine PHY reset with set_speed (diff)
downloadlinux-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