diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-06-27 09:20:02 +0000 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-06-28 10:49:49 +0800 |
commit | da802b01c7f0b62337d2f808856a671a86bb9760 (patch) | |
tree | cee69854f08f3f6282775605f6231b226bb8a11b /recipes-core | |
parent | 6dca8ef6e5ef8262e9b66f3b4165b31c9917ac0a (diff) | |
download | meta-fsl-ppc-da802b01c7f0b62337d2f808856a671a86bb9760.tar.gz |
udev-extraconf: unify the name of PCIe Ethernet port for DPAA targets
In kernel-3.8, PCIe Ethernet port is the last one to be brought up,
so the name of PCIe Ethernet card is ethN(N is variant) instead of eth0.
The udev rules update is to unify the PCIe Ethernet port of DPAA targets:
Ethernet card in PCIe slot0: eth0
Ethernet card in PCIe slot1: eth1
Ethernet card in PCIe slot2: eth2
Ethernet card in PCIe slot3: eth3
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Change-Id: Ia2a9cc3eb5b6c49e911bb6cc067a2d2d3cfaec0a
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/udev/udev-extraconf/71-fsl-dpaa-persistent-networking.rules | 6 | ||||
-rw-r--r-- | recipes-core/udev/udev-extraconf/72-fsl-dpaa-persistent-networking.rules | 6 |
2 files changed, 12 insertions, 0 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 356c172..50bc446 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 | |||
@@ -15,3 +15,9 @@ SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5f0000", NAME="fm2- | |||
15 | # P1023 has its Fman @ different offsets | 15 | # P1023 has its Fman @ different offsets |
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 | |||
19 | # Unify the PCIe Etherenet port -maxinum PCIe slots is 4 | ||
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" | ||
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" | ||
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 34e72a3..cfc2853 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 | |||
@@ -19,3 +19,9 @@ SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5ec000", NAME="fm2- | |||
19 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5ee000", NAME="fm2-mac8" | 19 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5ee000", NAME="fm2-mac8" |
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 | |||
23 | # Unify the PCIe Etherenet port -maxinum PCIe slots is 4 | ||
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" | ||
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" | ||