r8169:disable rtl8168ep cmac engine
authorChun-Hao Lin <hau@realtek.com>
Tue, 2 Dec 2014 08:48:31 +0000 (16:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:43:26 +0000 (20:43 -0500)
commit003609da5e270a2f5db6c3b00b82e3c342201f34
tree096b4f0fd582e28650ba426a12e88eb0937245ca
parentd6e572911a4cb2b9fcd1c26a38d5317a3971f2fd
r8169:disable rtl8168ep cmac engine

Cmac engine is the bridge between driver and dash firmware.
Other os may not disable cmac when leave. And r8169 did not allocate any
resources for cmac engine. Disable it to prevent abnormal system behavior.

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