From a9603e068bdd7b6311d1fcec1e6b62980ac846d8 Mon Sep 17 00:00:00 2001 From: Nagaraju Goruganti Date: Tue, 29 May 2018 04:59:53 -0500 Subject: Add witherspoon specific channel.yaml channel.yaml keeps the info about number of available Ethernet channels on the given machine. Resolves openbmc/openbmc#3191 Change-Id: I904e02a96bb6f295c6456b8a8ba26e756c218df0 Signed-off-by: Nagaraju Goruganti --- .../recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend | 5 +++++ .../recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor') diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend index 748fa73f5..a314d163b 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend @@ -2,4 +2,9 @@ FILESEXTRAPATHS_append_witherspoon := ":${THISDIR}/${PN}" SRC_URI_append_witherspoon = " \ file://occ_sensors.hardcoded.yaml \ file://hwmon_sensors.hardcoded.yaml \ + file://channel.yaml \ " + +EXTRA_OECONF_append_witherspoon = " \ + CHANNEL_YAML_GEN=${WORKDIR}/channel.yaml \ + " diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml new file mode 100644 index 000000000..627f4965f --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml @@ -0,0 +1,4 @@ +# Channel Number (must be unique) is the key +1: + # ifName the ethernet device name (used in the dbus path) + ifName: eth0 -- cgit v1.2.3