Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] sky2: save/restore base hardware irq during suspend/resume

The hardware should be fully shut off during suspend, and the base
irq mask restored during resume.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Stephen Hemminger and committed by
Linus Torvalds
8ab8fca2 26ec43f1

+3
+3
drivers/net/sky2.c
··· 3442 3442 } 3443 3443 } 3444 3444 3445 + sky2_write32(hw, B0_IMSK, 0); 3445 3446 pci_save_state(pdev); 3446 3447 sky2_set_power_state(hw, pstate); 3447 3448 return 0; ··· 3460 3459 err = sky2_reset(hw); 3461 3460 if (err) 3462 3461 goto out; 3462 + 3463 + sky2_write32(hw, B0_IMSK, Y2_IS_BASE); 3463 3464 3464 3465 for (i = 0; i < hw->ports; i++) { 3465 3466 struct net_device *dev = hw->dev[i];