projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9a66c7
)
[PATCH] sky2: add irq to entropy pool
author
Stephen Hemminger
<shemminger@osdl.org>
Mon, 30 Jan 2006 19:37:59 +0000
(11:37 -0800)
committer
Jeff 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sky2.c
b/drivers/net/sky2.c
index aff7b9dee38ec3b8841ce924028a76e577ea7fdb..62733a6ec7586e23795868286aaca232166e25f9 100644
(file)
--- 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);