diff options
| author | Ting Liu <ting.liu@nxp.com> | 2016-06-30 17:06:23 +0800 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-08-12 11:41:02 -0300 |
| commit | 578ab5d071729c9677d928467a2b48bcb0017139 (patch) | |
| tree | 4c0dea1ef4febf6d61bb0979a578a4266b4c4f62 | |
| parent | 37332a9d2cbe42f15aa371750a0eb4533fdfae9d (diff) | |
| download | meta-freescale-578ab5d071729c9677d928467a2b48bcb0017139.tar.gz | |
udev-rules-qoriq: add dpaa networking rules for ls1043a
Signed-off-by: Ting Liu <ting.liu@nxp.com>
| -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" | ||
