Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1814 - (show annotations) (download)
Tue Jun 26 17:12:14 2012 UTC (11 years, 10 months ago) by niro
File size: 877 byte(s)
tagged 'udev-185-r1'
1 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