The sky2 interrupt can be used to add entropy.

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>

--- sky2-1.0.orig/drivers/net/sky2.c
+++ sky2-1.0/drivers/net/sky2.c
@@ -3165,7 +3165,8 @@ static int __devinit sky2_probe(struct p
        }
}

-       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);

--

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to