]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Split APE driver state change out of boot reset signature update
authorNithin Sujir <nsujir@broadcom.com>
Thu, 23 May 2013 11:11:22 +0000 (11:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 May 2013 05:23:29 +0000 (22:23 -0700)
commitf138e9979ecacbae3a94d984e81529231cd754fc
treea1761f4f704f1b15d5fa110304414cc276ea72ab
parent5563b5788bd3aab7be2cfcc0e56299aba7af2cfe
tg3: Split APE driver state change out of boot reset signature update

Unlike the boot signature that needs to be set before every reset, the
ape state only needs to be updated to tell the firmware that the driver
is now taking/releasing control of the hardware. Move the calls to
tg3_ape_driver_state_change() to better, more appropriate places.

Also, the firmware does not distinguish between SUSPEND and START states
anymore. Remove the SUSPEND case in the switch.

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