You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.9 KiB
44 lines
1.9 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../linux/eth-naming.patch |
|
# Copyright (C) 2015 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 --- |
|
|
|
diff -ur linux-2.6.16/drivers/net/wireless/hostap/hostap_hw.c linux-2.6.16/drivers/net/wireless-unified/hostap/hostap_hw.c |
|
--- linux-2.6.16/drivers/net/wireless/hostap/hostap_hw.c 2006-03-20 06:53:29.000000000 +0100 |
|
+++ linux-2.6.16/drivers/net/wireless-unified/hostap/hostap_hw.c 2006-06-06 17:26:58.000000000 +0200 |
|
@@ -82,10 +82,10 @@ |
|
module_param_array(dtim_period, int, NULL, 0444); |
|
MODULE_PARM_DESC(dtim_period, "DTIM period"); |
|
|
|
-static char dev_template[16] = "wlan%d"; |
|
+static char dev_template[16] = "eth%d"; |
|
module_param_string(dev_template, dev_template, sizeof(dev_template), 0444); |
|
MODULE_PARM_DESC(dev_template, "Prefix for network device name (default: " |
|
- "wlan%d)"); |
|
+ "eth%d)"); |
|
|
|
#ifdef final_version |
|
#define EXTRA_EVENTS_WTERR 0 |
|
--- linux-3.18/drivers/net/wireless/airo.c.orig 2014-12-07 23:21:05.000000000 +0100 |
|
+++ linux-3.18/drivers/net/wireless/airo.c 2015-02-11 18:36:26.014467875 +0100 |
|
@@ -2685,7 +2685,7 @@ |
|
struct net_device *ethdev) |
|
{ |
|
int err; |
|
- struct net_device *dev = alloc_netdev(0, "wifi%d", NET_NAME_UNKNOWN, |
|
+ struct net_device *dev = alloc_netdev(0, "eth%d", NET_NAME_UNKNOWN, |
|
wifi_setup); |
|
if (!dev) |
|
return NULL;
|
|
|