]> git.baikalelectronics.ru Git - kernel.git/commit
atl1c: refine start/enable code for MAC module
authorHuang, Xiong <xiong@qca.qualcomm.com>
Wed, 25 Apr 2012 20:41:00 +0000 (20:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2012 09:03:33 +0000 (05:03 -0400)
commit0a854d8f9995e6b125d6820abfe985893b69ce5b
treebead08348d3103b8b1632b3845af725fa8a3945e
parent8d111688b605ac481948b10170c6f641c2285008
atl1c: refine start/enable code for MAC module

merge TXQ/RXQ/MAC start/enable code to one function as they
are started/enabled at the same time, just like stop/disable them
in the function of atl1c_stop_mac.

Signed-off-by: xiong <xiong@qca.qualcomm.com>
Tested-by: Liu David <dwliu@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c