From: Stephen Hemminger Date: Mon, 30 Jan 2006 19:37:59 +0000 (-0800) Subject: [PATCH] sky2: add irq to entropy pool X-Git-Tag: v2.6.16-rc3~139^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=db992c970dcfbbf24e6a681e66d22ddda62452c4;p=linux-2.6-omap-h63xx.git [PATCH] sky2: add irq to entropy pool The sky2 interrupt can be used to add entropy. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index aff7b9dee38..62733a6ec75 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -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);