diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-04-28 14:33:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-04-28 14:33:20 -0400 |
commit | f4d0ee983ec01e59a77e157ab702246f397b2a2b (patch) | |
tree | 7d80df9364db5bb892b70ee99e82395ac9859f88 /drivers/net | |
parent | 9acf6597c533f3d5c991f730c6a1be296679018e (diff) |
[TG3]: Set SA_SAMPLE_RANDOM in request_irq() calls.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/tg3.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 903d0ced7ddb..058c70c6f1ac 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -5830,7 +5830,7 @@ static int tg3_test_interrupt(struct tg3 *tp) | |||
5830 | free_irq(tp->pdev->irq, dev); | 5830 | free_irq(tp->pdev->irq, dev); |
5831 | 5831 | ||
5832 | err = request_irq(tp->pdev->irq, tg3_test_isr, | 5832 | err = request_irq(tp->pdev->irq, tg3_test_isr, |
5833 | SA_SHIRQ, dev->name, dev); | 5833 | SA_SHIRQ | SA_SAMPLE_RANDOM, dev->name, dev); |
5834 | if (err) | 5834 | if (err) |
5835 | return err; | 5835 | return err; |
5836 | 5836 | ||
@@ -5852,10 +5852,10 @@ static int tg3_test_interrupt(struct tg3 *tp) | |||
5852 | 5852 | ||
5853 | if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) | 5853 | if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) |
5854 | err = request_irq(tp->pdev->irq, tg3_msi, | 5854 | err = request_irq(tp->pdev->irq, tg3_msi, |
5855 | 0, dev->name, dev); | 5855 | SA_SAMPLE_RANDOM, dev->name, dev); |
5856 | else | 5856 | else |
5857 | err = request_irq(tp->pdev->irq, tg3_interrupt, | 5857 | err = request_irq(tp->pdev->irq, tg3_interrupt, |
5858 | SA_SHIRQ, dev->name, dev); | 5858 | SA_SHIRQ | SA_SAMPLE_RANDOM, dev->name, dev); |
5859 | 5859 | ||
5860 | if (err) | 5860 | if (err) |
5861 | return err; | 5861 | return err; |
@@ -5908,7 +5908,7 @@ static int tg3_test_msi(struct tg3 *tp) | |||
5908 | tp->tg3_flags2 &= ~TG3_FLG2_USING_MSI; | 5908 | tp->tg3_flags2 &= ~TG3_FLG2_USING_MSI; |
5909 | 5909 | ||
5910 | err = request_irq(tp->pdev->irq, tg3_interrupt, | 5910 | err = request_irq(tp->pdev->irq, tg3_interrupt, |
5911 | SA_SHIRQ, dev->name, dev); | 5911 | SA_SHIRQ | SA_SAMPLE_RANDOM, dev->name, dev); |
5912 | 5912 | ||
5913 | if (err) | 5913 | if (err) |
5914 | return err; | 5914 | return err; |
@@ -5965,10 +5965,10 @@ static int tg3_open(struct net_device *dev) | |||
5965 | } | 5965 | } |
5966 | if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) | 5966 | if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) |
5967 | err = request_irq(tp->pdev->irq, tg3_msi, | 5967 | err = request_irq(tp->pdev->irq, tg3_msi, |
5968 | 0, dev->name, dev); | 5968 | SA_SAMPLE_RANDOM, dev->name, dev); |
5969 | else | 5969 | else |
5970 | err = request_irq(tp->pdev->irq, tg3_interrupt, | 5970 | err = request_irq(tp->pdev->irq, tg3_interrupt, |
5971 | SA_SHIRQ, dev->name, dev); | 5971 | SA_SHIRQ | SA_SAMPLE_RANDOM, dev->name, dev); |
5972 | 5972 | ||
5973 | if (err) { | 5973 | if (err) { |
5974 | if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) { | 5974 | if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) { |