diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-06-27 09:24:58 +0000 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-06-28 10:50:11 +0800 |
commit | 2644ed071df1dc11b49c2d0c317dc40fdeaafd1c (patch) | |
tree | 439167653455539745faa086665cbb487ea4ff6b /recipes-core | |
parent | da802b01c7f0b62337d2f808856a671a86bb9760 (diff) | |
download | meta-fsl-ppc-2644ed071df1dc11b49c2d0c317dc40fdeaafd1c.tar.gz |
udev-extraconf: fix the name conflict of macless and PCIe Ethernet port in slot3
Currently both macless0 port and PCIe Ethernet port in slot3 use "eth2",
update udev rules to rename macless0 to eth4.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/udev/udev-extraconf/71-fsl-dpaa-persistent-networking.rules | 5 | ||||
-rw-r--r-- | recipes-core/udev/udev-extraconf/72-fsl-dpaa-persistent-networking.rules | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/recipes-core/udev/udev-extraconf/71-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-extraconf/71-fsl-dpaa-persistent-networking.rules index 50bc446..9bd6785 100644 --- a/recipes-core/udev/udev-extraconf/71-fsl-dpaa-persistent-networking.rules +++ b/recipes-core/udev/udev-extraconf/71-fsl-dpaa-persistent-networking.rules | |||
@@ -16,8 +16,11 @@ SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5f0000", NAME="fm2- | |||
16 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ff7e0000", NAME="fm1-gb0" | 16 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ff7e0000", NAME="fm1-gb0" |
17 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ff7e2000", NAME="fm1-gb1" | 17 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ff7e2000", NAME="fm1-gb1" |
18 | 18 | ||
19 | # Unify the PCIe Etherenet port -maxinum PCIe slots is 4 | 19 | # Unify the PCIe Etherenet port, maxinum PCIe slots is 4 |
20 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe200000.pcie", DRIVERS=="fsl-pci", NAME="eth0" | 20 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe200000.pcie", DRIVERS=="fsl-pci", NAME="eth0" |
21 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe201000.pcie", DRIVERS=="fsl-pci", NAME="eth1" | 21 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe201000.pcie", DRIVERS=="fsl-pci", NAME="eth1" |
22 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe202000.pcie", DRIVERS=="fsl-pci", NAME="eth2" | 22 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe202000.pcie", DRIVERS=="fsl-pci", NAME="eth2" |
23 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe203000.pcie", DRIVERS=="fsl-pci", NAME="eth3" | 23 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe203000.pcie", DRIVERS=="fsl-pci", NAME="eth3" |
24 | |||
25 | # Rename macless0 port to "eth4" | ||
26 | SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="eth4" | ||
diff --git a/recipes-core/udev/udev-extraconf/72-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-extraconf/72-fsl-dpaa-persistent-networking.rules index cfc2853..3529bc4 100644 --- a/recipes-core/udev/udev-extraconf/72-fsl-dpaa-persistent-networking.rules +++ b/recipes-core/udev/udev-extraconf/72-fsl-dpaa-persistent-networking.rules | |||
@@ -20,8 +20,11 @@ SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5ee000", NAME="fm2- | |||
20 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5f0000", NAME="fm2-mac9" | 20 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5f0000", NAME="fm2-mac9" |
21 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5f2000", NAME="fm2-mac10" | 21 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5f2000", NAME="fm2-mac10" |
22 | 22 | ||
23 | # Unify the PCIe Etherenet port -maxinum PCIe slots is 4 | 23 | # Unify the PCIe Etherenet port, maxinum PCIe slots is 4 |
24 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe240000.pcie", DRIVERS=="fsl-pci", NAME="eth0" | 24 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe240000.pcie", DRIVERS=="fsl-pci", NAME="eth0" |
25 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe250000.pcie", DRIVERS=="fsl-pci", NAME="eth1" | 25 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe250000.pcie", DRIVERS=="fsl-pci", NAME="eth1" |
26 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe260000.pcie", DRIVERS=="fsl-pci", NAME="eth2" | 26 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe260000.pcie", DRIVERS=="fsl-pci", NAME="eth2" |
27 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe270000.pcie", DRIVERS=="fsl-pci", NAME="eth3" | 27 | SUBSYSTEM=="net", KERNEL=="eth*", KERNELS=="ffe270000.pcie", DRIVERS=="fsl-pci", NAME="eth3" |
28 | |||
29 | # Rename macless0 to "eth4" | ||
30 | SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="eth4" | ||