Messages in this thread Patch in this message | | | Subject | [PATCH] eth1394 MODULE_PARM conversion | From | Jan Dittmer <> | Date | Sat, 13 Nov 2004 22:07:29 +0100 |
| |
# 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, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |