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.
		
		
		
		
		
			
		
			
				
					
					
						
							91 lines
						
					
					
						
							3.2 KiB
						
					
					
				
			
		
		
	
	
							91 lines
						
					
					
						
							3.2 KiB
						
					
					
				| # --- T2-COPYRIGHT-NOTE-BEGIN --- | |
| # This copyright note is auto-generated by ./scripts/Create-CopyPatch. | |
| #  | |
| # T2 SDE: package/.../madwifi/eth-naming.patch | |
| # 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. | |
| # --- T2-COPYRIGHT-NOTE-END --- | |
|  | |
| diff -ur madwifi-ng-r1614-20060601/ath/if_ath.c madwifi-ng-r1614-20060601-unified/ath/if_ath.c | |
| --- madwifi-ng-r1614-20060601/ath/if_ath.c	2006-05-31 23:05:08.000000000 +0200 | |
| +++ madwifi-ng-r1614-20060601-unified/ath/if_ath.c	2006-06-06 17:07:02.000000000 +0200 | |
| @@ -895,7 +895,7 @@ | |
|  	 | |
|  	if (autocreatemode != -1) { | |
|  		rtnl_lock(); | |
| -		error = ieee80211_create_vap(ic, "ath%d", dev, | |
| +		error = ieee80211_create_vap(ic, "eth%d", dev, | |
|  				autocreatemode, IEEE80211_CLONE_BSSID); | |
|  		rtnl_unlock(); | |
|  		if (error) | |
| diff -ur madwifi-ng-r1614-20060601/tools/80211debug.c madwifi-ng-r1614-20060601-unified/tools/80211debug.c | |
| --- madwifi-ng-r1614-20060601/tools/80211debug.c	2006-03-10 14:23:50.000000000 +0100 | |
| +++ madwifi-ng-r1614-20060601-unified/tools/80211debug.c	2006-06-06 17:01:39.000000000 +0200 | |
| @@ -38,7 +38,7 @@ | |
|   | |
|  /* | |
|   * 80211debug [-i interface] flags | |
| - * (default interface is ath0). | |
| + * (default interface is eth1). | |
|   */ | |
|  #include <sys/types.h> | |
|   | |
| @@ -183,7 +183,7 @@ | |
|  int | |
|  main(int argc, char *argv[]) | |
|  { | |
| -	const char *ifname = "ath0"; | |
| +	const char *ifname = "eth1"; | |
|  	const char *cp, *tp; | |
|  	const char *sep; | |
|  	int op, i; | |
| diff -ur madwifi-ng-r1614-20060601/tools/80211stats.c madwifi-ng-r1614-20060601-unified/tools/80211stats.c | |
| --- madwifi-ng-r1614-20060601/tools/80211stats.c	2006-05-27 08:21:18.000000000 +0200 | |
| +++ madwifi-ng-r1614-20060601-unified/tools/80211stats.c	2006-06-06 17:02:27.000000000 +0200 | |
| @@ -250,7 +250,7 @@ | |
|  	struct iwreq iwr; | |
|  	int allnodes = 0; | |
|   | |
| -	const char *ifname = "ath0"; | |
| +	const char *ifname = "eth1"; | |
|   | |
|  	s = socket(AF_INET, SOCK_DGRAM, 0); | |
|  	if (s < 0) | |
| diff -ur madwifi-ng-r1614-20060601/tools/athdebug.c madwifi-ng-r1614-20060601-unified/tools/athdebug.c | |
| --- madwifi-ng-r1614-20060601/tools/athdebug.c	2006-05-05 06:17:59.000000000 +0200 | |
| +++ madwifi-ng-r1614-20060601-unified/tools/athdebug.c	2006-06-06 17:01:55.000000000 +0200 | |
| @@ -183,9 +183,9 @@ | |
|  main(int argc, char *argv[]) | |
|  { | |
|  #ifdef __linux__ | |
| -	const char *ifname = "wifi0"; | |
| +	const char *ifname = "eth1"; | |
|  #else | |
| -	const char *ifname = "ath0"; | |
| +	const char *ifname = "eth1"; | |
|  #endif | |
|  	const char *cp, *tp; | |
|  	const char *sep; | |
| diff -ur madwifi-ng-r1614-20060601/tools/athstats.c madwifi-ng-r1614-20060601-unified/tools/athstats.c | |
| --- madwifi-ng-r1614-20060601/tools/athstats.c	2006-05-05 06:20:50.000000000 +0200 | |
| +++ madwifi-ng-r1614-20060601-unified/tools/athstats.c	2006-06-06 17:02:06.000000000 +0200 | |
| @@ -231,9 +231,9 @@ | |
|  main(int argc, char *argv[]) | |
|  { | |
|  #ifdef __linux__ | |
| -	const char *ifname = "wifi0"; | |
| +	const char *ifname = "eth1"; | |
|  #else | |
| -	const char *ifname = "ath0"; | |
| +	const char *ifname = "eth1"; | |
|  #endif | |
|  	int s; | |
|  	struct ifreq ifr;
 | |
| 
 |