Skip to content

Commit

Permalink
[PATCH] sky2: add irq to entropy pool
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Feb 7, 2006
1 parent f9a66c7 commit db992c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -3184,7 +3184,8 @@ static int __devinit sky2_probe(struct pci_dev *pdev,
}
}

err = request_irq(pdev->irq, sky2_intr, SA_SHIRQ, DRV_NAME, hw);
err = request_irq(pdev->irq, sky2_intr, SA_SHIRQ | SA_SAMPLE_RANDOM,
DRV_NAME, hw);
if (err) {
printk(KERN_ERR PFX "%s: cannot assign irq %d\n",
pci_name(pdev), pdev->irq);
Expand Down

0 comments on commit db992c9

Please sign in to comment.