diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-01-30 14:37:59 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-07 02:00:36 -0500 |
commit | db992c970dcfbbf24e6a681e66d22ddda62452c4 (patch) | |
tree | 1a3186762cf68745e346bb55f9453bcdf3753602 | |
parent | f9a66c7f5fa2262656a1a38ae9b57a2a89980f36 (diff) |
[PATCH] sky2: add irq to entropy pool
The sky2 interrupt can be used to add entropy.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r-- | drivers/net/sky2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index aff7b9dee38e..62733a6ec758 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c | |||
@@ -3184,7 +3184,8 @@ static int __devinit sky2_probe(struct pci_dev *pdev, | |||
3184 | } | 3184 | } |
3185 | } | 3185 | } |
3186 | 3186 | ||
3187 | err = request_irq(pdev->irq, sky2_intr, SA_SHIRQ, DRV_NAME, hw); | 3187 | err = request_irq(pdev->irq, sky2_intr, SA_SHIRQ | SA_SAMPLE_RANDOM, |
3188 | DRV_NAME, hw); | ||
3188 | if (err) { | 3189 | if (err) { |
3189 | printk(KERN_ERR PFX "%s: cannot assign irq %d\n", | 3190 | printk(KERN_ERR PFX "%s: cannot assign irq %d\n", |
3190 | pci_name(pdev), pdev->irq); | 3191 | pci_name(pdev), pdev->irq); |