tg3: Refactor the 2nd type of cpu pause
authorNithin Sujir <nsujir@broadcom.com>
Wed, 6 Mar 2013 17:02:31 +0000 (17:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Mar 2013 20:31:31 +0000 (15:31 -0500)
commitf4bffb28d66c735a11859024fa0cae60711d313e
tree27e6c98bdc3e3aef591f4854559ac2046e7985ed
parent837c45bb4eaf367ac738c8d746990da33b3402ee
tg3: Refactor the 2nd type of cpu pause

For completeness and consistency, add common function
tg3_pause_cpu_and_set_pc(). This is only for existing fw and not used for the
57766.

Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c