]> git.baikalelectronics.ru Git - kernel.git/commit
r8169:call "rtl8168_driver_start" "rtl8168_driver_stop" only when hardware dash funct...
authorChun-Hao Lin <hau@realtek.com>
Wed, 1 Oct 2014 15:17:21 +0000 (23:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2014 19:33:18 +0000 (15:33 -0400)
commit89966bd1ee87130ec34221eafe3718b84fda2c00
tree9fcd41d8b90f476177a615aee6a4822b645ef2bc
parenta602941a918131178ad2cb64b9db6d5891d3f14b
r8169:call "rtl8168_driver_start" "rtl8168_driver_stop" only when hardware dash function is enabled

These two functions are used to inform dash firmware that driver is been
brought up or brought down. So call these two functions only when hardware dash
function is enabled.

Signed-off-by: Chun-Hao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c