diff options
| -rw-r--r-- | recipes-core/udev/udev-rules-qoriq.bb | 10 | ||||
| -rw-r--r-- | recipes-core/udev/udev-rules-qoriq/71-fsl-dpaa-persistent-networking.rules (renamed from recipes-core/udev/udev-rules-qoriq/qoriq-ppc/71-fsl-dpaa-persistent-networking.rules) | 0 | ||||
| -rw-r--r-- | recipes-core/udev/udev-rules-qoriq/72-fsl-dpaa-persistent-networking.rules (renamed from recipes-core/udev/udev-rules-qoriq/qoriq-ppc/72-fsl-dpaa-persistent-networking.rules) | 0 | ||||
| -rw-r--r-- | recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules | 11 |
4 files changed, 17 insertions, 4 deletions
diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb index 195ed3dc6..62f2371fc 100644 --- a/recipes-core/udev/udev-rules-qoriq.bb +++ b/recipes-core/udev/udev-rules-qoriq.bb | |||
| @@ -5,18 +5,20 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d | |||
| 5 | SRC_URI = "\ | 5 | SRC_URI = "\ |
| 6 | file://71-fsl-dpaa-persistent-networking.rules \ | 6 | file://71-fsl-dpaa-persistent-networking.rules \ |
| 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 | " | 9 | " |
| 9 | RULE_qoriq-ppc = "71-fsl-dpaa-persistent-networking.rules" | 10 | S = "${WORKDIR}" |
| 11 | |||
| 12 | RULE = "71-fsl-dpaa-persistent-networking.rules" | ||
| 10 | RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules" | 13 | RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules" |
| 11 | RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules" | 14 | RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules" |
| 12 | RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules" | 15 | RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules" |
| 13 | RULE_t1023 = "72-fsl-dpaa-persistent-networking.rules" | 16 | RULE_t1023 = "72-fsl-dpaa-persistent-networking.rules" |
| 14 | 17 | RULE_ls1043ardb = "73-fsl-dpaa-persistent-networking.rules" | |
| 15 | S = "${WORKDIR}" | ||
| 16 | 18 | ||
| 17 | do_install () { | 19 | do_install () { |
| 18 | install -d ${D}${sysconfdir}/udev/rules.d/ | 20 | install -d ${D}${sysconfdir}/udev/rules.d/ |
| 19 | install -m 0644 ${WORKDIR}/${RULE} ${D}${sysconfdir}/udev/rules.d/ | 21 | install -m 0644 ${WORKDIR}/${RULE} ${D}${sysconfdir}/udev/rules.d/ |
| 20 | } | 22 | } |
| 21 | 23 | ||
| 22 | COMPATIBLE_MACHINE = "(qoriq-ppc)" | 24 | COMPATIBLE_MACHINE = "(qoriq)" |
diff --git a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/71-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-rules-qoriq/71-fsl-dpaa-persistent-networking.rules index 6c6dc354f..6c6dc354f 100644 --- a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/71-fsl-dpaa-persistent-networking.rules +++ b/recipes-core/udev/udev-rules-qoriq/71-fsl-dpaa-persistent-networking.rules | |||
diff --git a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/72-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-rules-qoriq/72-fsl-dpaa-persistent-networking.rules index d0eec9ce1..d0eec9ce1 100644 --- a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/72-fsl-dpaa-persistent-networking.rules +++ b/recipes-core/udev/udev-rules-qoriq/72-fsl-dpaa-persistent-networking.rules | |||
diff --git a/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules new file mode 100644 index 000000000..a96b9458e --- /dev/null +++ b/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # Rules for handling naming the DPAA FMan ethernet ports in a consistent way | ||
| 2 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae0000", NAME="fm1-mac1" | ||
| 3 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae2000", NAME="fm1-mac2" | ||
| 4 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae4000", NAME="fm1-mac3" | ||
| 5 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae6000", NAME="fm1-mac4" | ||
| 6 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae8000", NAME="fm1-mac5" | ||
| 7 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1aea000", NAME="fm1-mac6" | ||
| 8 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1af0000", NAME="fm1-mac9" | ||
| 9 | |||
| 10 | # Rename macless0 to "macless0" | ||
| 11 | SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="macless0" | ||
