Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 299791 Details for
Bug 439920
entropy generation in bnx2 driver not consistent with other network drivers on RHEL4
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
bnx2 irqf_sample_random patch
linux-2.6.9-bnx2-entropy_u6.patch (text/plain), 1.45 KB, created by
Greg Marsden
on 2008-03-31 23:38:51 UTC
(
hide
)
Description:
bnx2 irqf_sample_random patch
Filename:
MIME Type:
Creator:
Greg Marsden
Created:
2008-03-31 23:38:51 UTC
Size:
1.45 KB
patch
obsolete
>--- linux-2.6.9/drivers/net/bnx2.c.orig 2007-10-02 19:30:58.000000000 -0700 >+++ linux-2.6.9/drivers/net/bnx2.c 2007-10-02 19:54:04.000000000 -0700 >@@ -57,7 +57,7 @@ > > #define DRV_MODULE_NAME "bnx2" > #define PFX DRV_MODULE_NAME ": " >-#define DRV_MODULE_VERSION "1.5.11-rh" >+#define DRV_MODULE_VERSION "1.5.11ora" > #define DRV_MODULE_RELDATE "June 4, 2007" > > #define RUN_AT(x) (jiffies + (x)) >@@ -82,6 +82,11 @@ > module_param(disable_msi, int, 0); > MODULE_PARM_DESC(disable_msi, "Disable Message Signaled Interrupt (MSI)"); > >+static int entropy = 0; >+ >+module_param(entropy, int, 0); >+MODULE_PARM_DESC(entropy, "Allow bnx2 to populate the /dev/random entropy pool"); >+ > typedef enum { > BCM5706 = 0, > NC370T, >@@ -4677,6 +4682,18 @@ > struct net_device *dev = bp->dev; > int rc = 0; > >+ if (entropy) { >+ if (bp->flags & USING_MSI_FLAG) { >+ irq_handler_t fn = bnx2_msi; >+ >+ if (bp->flags & ONE_SHOT_MSI_FLAG) >+ fn = bnx2_msi_1shot; >+ >+ rc = request_irq(bp->pdev->irq, fn, SA_SAMPLE_RANDOM, dev->name, dev); >+ } else >+ rc = request_irq(bp->pdev->irq, bnx2_interrupt, >+ IRQF_SHARED|SA_SAMPLE_RANDOM, dev->name, dev); >+ } else { > if (bp->flags & USING_MSI_FLAG) { > irq_handler_t fn = bnx2_msi; > >@@ -4687,6 +4704,7 @@ > } else > rc = request_irq(bp->pdev->irq, bnx2_interrupt, > IRQF_SHARED, dev->name, dev); >+ } > return rc; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 439920
:
299791
|
328714