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)
commit25456e5ceea57e99091f5ff44d71012b31651391
treebead08348d3103b8b1632b3845af725fa8a3945e
parent319d013af0d47e1137ac02f94ad069312514ddfa
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