[PATCH] sky2: add irq to entropy pool
authorStephen Hemminger <shemminger@osdl.org>
Mon, 30 Jan 2006 19:37:59 +0000 (11:37 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 7 Feb 2006 07:00:36 +0000 (02:00 -0500)
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>
drivers/net/sky2.c

index aff7b9dee38ec3b8841ce924028a76e577ea7fdb..62733a6ec7586e23795868286aaca232166e25f9 100644 (file)
@@ -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);