summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2019-11-29 13:46:49 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2019-12-03 09:12:07 -0300
commit73028a95af7c7ad2a8e9b91c2e19244b7203cd3e (patch)
treef364ff85020acd4c14339bfe99cd7069e538cda1 /recipes-core
parent0be7020ff0276d8d417f6caff564053fd0ee10dc (diff)
downloadmeta-freescale-73028a95af7c7ad2a8e9b91c2e19244b7203cd3e.tar.gz
udev-rules-qoriq: add 73-fsl-enetc-networking.rules to qoriq-arm64
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/udev/udev-rules-qoriq.bb5
-rw-r--r--recipes-core/udev/udev-rules-qoriq/73-fsl-enetc-networking.rules16
2 files changed, 20 insertions, 1 deletions
diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb
index af570009..c328f4cc 100644
--- a/recipes-core/udev/udev-rules-qoriq.bb
+++ b/recipes-core/udev/udev-rules-qoriq.bb
@@ -7,6 +7,7 @@ SRC_URI = "\
7 file://72-fsl-dpaa-persistent-networking.rules \ 7 file://72-fsl-dpaa-persistent-networking.rules \
8 file://73-fsl-dpaa-persistent-networking.rules \ 8 file://73-fsl-dpaa-persistent-networking.rules \
9 file://74-ls1046a-xfi2-networking.rules \ 9 file://74-ls1046a-xfi2-networking.rules \
10 file://73-fsl-enetc-networking.rules \
10" 11"
11S = "${WORKDIR}" 12S = "${WORKDIR}"
12 13
@@ -14,7 +15,9 @@ RULE = "71-fsl-dpaa-persistent-networking.rules"
14RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules" 15RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules"
15RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules" 16RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules"
16RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules" 17RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules"
17RULE_qoriq-arm64 = "73-fsl-dpaa-persistent-networking.rules" 18RULE_qoriq-arm64 = "73-fsl-dpaa-persistent-networking.rules \
19 73-fsl-enetc-networking.rules \
20"
18RULE_ls1046a = "73-fsl-dpaa-persistent-networking.rules \ 21RULE_ls1046a = "73-fsl-dpaa-persistent-networking.rules \
19 74-ls1046a-xfi2-networking.rules \ 22 74-ls1046a-xfi2-networking.rules \
20" 23"
diff --git a/recipes-core/udev/udev-rules-qoriq/73-fsl-enetc-networking.rules b/recipes-core/udev/udev-rules-qoriq/73-fsl-enetc-networking.rules
new file mode 100644
index 00000000..19f41634
--- /dev/null
+++ b/recipes-core/udev/udev-rules-qoriq/73-fsl-enetc-networking.rules
@@ -0,0 +1,16 @@
1# ENETC rules
2ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.0", DRIVERS=="fsl_enetc", NAME:="eno0"
3ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.1", DRIVERS=="fsl_enetc", NAME:="eno1"
4ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.2", DRIVERS=="fsl_enetc", NAME:="eno2"
5ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.6", DRIVERS=="fsl_enetc", NAME:="eno3"
6ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.0", DRIVERS=="fsl_enetc_vf", NAME:="eno0vf0"
7ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.1", DRIVERS=="fsl_enetc_vf", NAME:="eno0vf1"
8ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.2", DRIVERS=="fsl_enetc_vf", NAME:="eno1vf0"
9ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.3", DRIVERS=="fsl_enetc_vf", NAME:="eno1vf1"
10# LS1028 switch rules
11ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p0", NAME="swp0"
12ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p1", NAME="swp1"
13ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p2", NAME="swp2"
14ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p3", NAME="swp3"
15ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p4", NAME="swp4"
16ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p5", NAME="swp5"