]> 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)
commit176c20d76f8ea910067a0de12ab7bc75a49ba911
tree9fcd41d8b90f476177a615aee6a4822b645ef2bc
parentbfa0462704bf5f1d57bf35dcf7e573d3c209f0ca
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