# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../rt2500/eth-naming.patch # Copyright (C) 2006 The OpenSDE Project # Copyright (C) 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- --- rt2500-1.1.0-b4/Module/rtmp_main.c.orig 2006-08-23 07:40:36.000000000 +0200 +++ rt2500-1.1.0-b4/Module/rtmp_main.c 2006-08-23 07:41:44.000000000 +0200 @@ -60,7 +60,7 @@ static char *ifname = NULL ; MODULE_PARM(ifname, "s"); -MODULE_PARM_DESC(ifname, "Network device name (default ra%d)"); +MODULE_PARM_DESC(ifname, "Network device name (default eth%d)"); #else int debug = 0; /* Default is off. */ module_param(debug, int, 0); @@ -68,7 +68,7 @@ static char *ifname = NULL ; module_param(ifname, charp, 0); -MODULE_PARM_DESC(ifname, "Network device name (default ra%d)"); +MODULE_PARM_DESC(ifname, "Network device name (default eth%d)"); #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) */ // Following information will be show when you run 'modinfo' @@ -267,7 +267,7 @@ // register_netdev() will call dev_alloc_name() for us // TODO: Remove the following line to keep the default eth%d name if (ifname == NULL) - strcpy(net_dev->name, "ra%d"); + strcpy(net_dev->name, "eth%d"); else strncpy(net_dev->name, ifname, IFNAMSIZ);