diff options
| author | Chunrong Guo <chunrong.guo@nxp.com> | 2019-11-29 13:46:49 +0800 | 
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-12-03 09:12:07 -0300 | 
| commit | 73028a95af7c7ad2a8e9b91c2e19244b7203cd3e (patch) | |
| tree | f364ff85020acd4c14339bfe99cd7069e538cda1 | |
| parent | 0be7020ff0276d8d417f6caff564053fd0ee10dc (diff) | |
| download | meta-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>
| -rw-r--r-- | recipes-core/udev/udev-rules-qoriq.bb | 5 | ||||
| -rw-r--r-- | recipes-core/udev/udev-rules-qoriq/73-fsl-enetc-networking.rules | 16 | 
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 af570009b..c328f4ccb 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 | " | 
| 11 | S = "${WORKDIR}" | 12 | S = "${WORKDIR}" | 
| 12 | 13 | ||
| @@ -14,7 +15,9 @@ RULE = "71-fsl-dpaa-persistent-networking.rules" | |||
| 14 | RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules" | 15 | RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules" | 
| 15 | RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules" | 16 | RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules" | 
| 16 | RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules" | 17 | RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules" | 
| 17 | RULE_qoriq-arm64 = "73-fsl-dpaa-persistent-networking.rules" | 18 | RULE_qoriq-arm64 = "73-fsl-dpaa-persistent-networking.rules \ | 
| 19 | 73-fsl-enetc-networking.rules \ | ||
| 20 | " | ||
| 18 | RULE_ls1046a = "73-fsl-dpaa-persistent-networking.rules \ | 21 | RULE_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 000000000..19f41634b --- /dev/null +++ b/recipes-core/udev/udev-rules-qoriq/73-fsl-enetc-networking.rules | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | # ENETC rules | ||
| 2 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.0", DRIVERS=="fsl_enetc", NAME:="eno0" | ||
| 3 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.1", DRIVERS=="fsl_enetc", NAME:="eno1" | ||
| 4 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.2", DRIVERS=="fsl_enetc", NAME:="eno2" | ||
| 5 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.6", DRIVERS=="fsl_enetc", NAME:="eno3" | ||
| 6 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.0", DRIVERS=="fsl_enetc_vf", NAME:="eno0vf0" | ||
| 7 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.1", DRIVERS=="fsl_enetc_vf", NAME:="eno0vf1" | ||
| 8 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.2", DRIVERS=="fsl_enetc_vf", NAME:="eno1vf0" | ||
| 9 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.3", DRIVERS=="fsl_enetc_vf", NAME:="eno1vf1" | ||
| 10 | # LS1028 switch rules | ||
| 11 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p0", NAME="swp0" | ||
| 12 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p1", NAME="swp1" | ||
| 13 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p2", NAME="swp2" | ||
| 14 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p3", NAME="swp3" | ||
| 15 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p4", NAME="swp4" | ||
| 16 | ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p5", NAME="swp5" | ||
