]> 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)
commit11fb0345a8aedf44f7fc9aa45fd1b21b526385d4
treebead08348d3103b8b1632b3845af725fa8a3945e
parent8546ac6f5ac9debe13b15bcb82f750c79082e3d2
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