* [PATCH] eth1394 MODULE_PARM conversion
@ 2004-11-13 21:07 Jan Dittmer
0 siblings, 0 replies; only message in thread
From: Jan Dittmer @ 2004-11-13 21:07 UTC (permalink / raw)
To: linux-kernel; +Cc: bcollins, jdittmer
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/11/13 21:45:13+01:00 jdittmer@ds666.starfleet
# MODULE_PARM conversion
#
# drivers/ieee1394/eth1394.c
# 2004/11/13 21:45:05+01:00 jdittmer@ds666.starfleet +2 -2
# Convert MODULE_PARM to module_param
#
diff -Nru a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c
--- a/drivers/ieee1394/eth1394.c 2004-11-13 22:07:29 +01:00
+++ b/drivers/ieee1394/eth1394.c 2004-11-13 22:07:29 +01:00
@@ -168,11 +168,11 @@
* consume in the event that some partial datagrams are never completed. This
* should probably change to a sysctl item or the like if possible.
*/
-MODULE_PARM(max_partial_datagrams, "i");
+static int max_partial_datagrams = 25;
+module_param(max_partial_datagrams, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(max_partial_datagrams,
"Maximum number of partially received fragmented datagrams "
"(default = 25).");
-static int max_partial_datagrams = 25;
static int ether1394_header(struct sk_buff *skb, struct net_device *dev,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-13 21:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-13 21:07 [PATCH] eth1394 MODULE_PARM conversion Jan Dittmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox