Magellan Linux

Annotation of /tags/udev-185-r1/patches/udev-166-r2-alx-rename-ipw2x00-to-wlan0.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1752 - (hide annotations) (download)
Wed Apr 25 15:42:16 2012 UTC (12 years ago) by niro
Original Path: trunk/udev/patches/udev-166-r2-alx-rename-ipw2x00-to-wlan0.patch
File size: 877 byte(s)
-added ipw2x00 wlan0 patch
1 niro 1752 diff -Naur config-udev-166-r2/udev-persistent-net-generator.rules.magellan config-udev-166-r2-alx/udev-persistent-net-generator.rules.magellan
2     --- config-udev-166-r2/udev-persistent-net-generator.rules.magellan 2012-04-03 16:50:54.000000000 +0200
3     +++ config-udev-166-r2-alx/udev-persistent-net-generator.rules.magellan 2012-04-25 18:37:59.865982523 +0200
4     @@ -98,6 +98,10 @@
5     # ibmveth likes to use "locally administered" MAC addresses
6     DRIVERS=="ibmveth", ENV{MATCHADDR}="$attr{address}", ENV{COMMENT}="ibmveth ($id)"
7    
8     +# rename them to wlan0 to be compat with the alx web-frontend
9     +DRIVERS=="ipw2100", ENV{INTERFACE_NAME}="wlan0"
10     +DRIVERS=="ipw2200", ENV{INTERFACE_NAME}="wlan0"
11     +
12     # S/390 uses id matches only, do not use MAC address match
13     SUBSYSTEMS=="ccwgroup", ENV{COMMENT}="S/390 $driver device at $id", ENV{MATCHID}="$id", ENV{MATCHDRV}="$driver", ENV{MATCHADDR}=""
14