meta-facebook: yosemite4: Control NIC main/aux mode
Support NIC 1 switch to main mode when one of slot1 or slot2 Host's
ACPI power status reach to S3. NIC 2 targets to slot3 and slot4,
NIC 3 targets to slot5 and slot6, etc.
Support NIC 1 switch to aux mode when slot1 and slot2 Host's ACPI
power status are S4. NIC 3 targets to slot3 and slot4,
NIC 3 targets to slot5 and slot6, etc.
Tested:
- Power off corresponding Hosts and check the NIC's power status.
- Power on one of the corresponding Host and check the NIC's power
status.
- All NICs have been tested.
Change-Id: I2e76ce3d18f81328789bb9a5d5be4025832b21e7
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/images/fb-yosemite4-phosphor-image.inc b/meta-facebook/meta-yosemite4/recipes-phosphor/images/fb-yosemite4-phosphor-image.inc
index 79d109c..fe7a367 100644
--- a/meta-facebook/meta-yosemite4/recipes-phosphor/images/fb-yosemite4-phosphor-image.inc
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/images/fb-yosemite4-phosphor-image.inc
@@ -22,3 +22,7 @@
phosphor-gpio-monitor \
"
+# This enables the feature of dbus-monitor which defined in
+# `meta-phosphor/classes/obmc-phosphor-images.bbclass`
+IMAGE_FEATURES:append = " obmc-dbus-monitor"
+