Commit:     3621cec5b5847348248e749c647219f409550f2f
Parent:     df30a740e4647b035e44a94e6977ad42a94cb850
Author:     Brice Goglin <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 18 11:51:22 2006 +0100
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Dec 26 16:28:20 2006 -0500

    myri10ge: make msi configurable at runtime through sysfs
    Now that IRQ are requested is called on open() and freed on close(),
    we can safely switch from/to MSI without unloading the module.
    We are guaranteed to correctly free IRQ even if the sysfs file got
    written in the meantime since the MSI initialization is stored in
    Signed-off-by: Brice Goglin <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/net/myri10ge/myri10ge.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 53325ba..1ce3c9e 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -228,7 +228,7 @@ module_param(myri10ge_small_bytes, int, S_IRUGO | S_IWUSR);
 MODULE_PARM_DESC(myri10ge_small_bytes, "Threshold of small packets\n");
 static int myri10ge_msi = 1;   /* enable msi by default */
-module_param(myri10ge_msi, int, S_IRUGO);
+module_param(myri10ge_msi, int, S_IRUGO | S_IWUSR);
 MODULE_PARM_DESC(myri10ge_msi, "Enable Message Signalled Interrupts\n");
 static int myri10ge_intr_coal_delay = 25;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to