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)
commitee7a1beb9759c94aea67dd887faf5e447a5c6710
tree9fcd41d8b90f476177a615aee6a4822b645ef2bc
parent2a9b4d9670e71784896d95c41c9b0acd50db1dbb
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