Commit db992c97 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Jeff Garzik

[PATCH] sky2: add irq to entropy pool

The sky2 interrupt can be used to add entropy.
Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent f9a66c7f
...@@ -3184,7 +3184,8 @@ static int __devinit sky2_probe(struct pci_dev *pdev, ...@@ -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) { if (err) {
printk(KERN_ERR PFX "%s: cannot assign irq %d\n", printk(KERN_ERR PFX "%s: cannot assign irq %d\n",
pci_name(pdev), pdev->irq); pci_name(pdev), pdev->irq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment