summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/gpio
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-09-05 17:09:47 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-09-12 19:39:28 +0300
commit082a2a3c7f546d188b949a47003b78aa12503d24 (patch)
tree4d083b56741fe805a6ac0f6b83af91fee9a057dd /meta-phosphor/common/recipes-phosphor/gpio
parentc194219294ac479b5aa823295ea8a5d54b978448 (diff)
downloadopenbmc-082a2a3c7f546d188b949a47003b78aa12503d24.tar.xz
Pass driver names to gpio-presence service
New code in phosphor-gpio-presence has the ability to bind and unbind device drivers around card adds and removes if necessary. This commit passes in this driver information for the power supplies. Resolves openbmc/openbmc#2205 Change-Id: I7190219d549dc65cbb5498896b511a80a897aa8d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/gpio')
-rw-r--r--meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service b/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service
index 758a21f7f3..df758246ff 100644
--- a/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service
+++ b/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service
@@ -6,7 +6,7 @@ ConditionPathExists={envfiledir}/obmc/gpio/phosphor-power-supply-%i.conf
[Service]
EnvironmentFile={envfiledir}/obmc/gpio/phosphor-power-supply-%i.conf
-ExecStart=/usr/bin/env phosphor-gpio-presence --path=${{DEVPATH}} --inventory=${{INVENTORY}} --key=${{KEY}} --name=${{NAME}}
+ExecStart=/usr/bin/env phosphor-gpio-presence --path=${{DEVPATH}} --inventory=${{INVENTORY}} --key=${{KEY}} --name=${{NAME}} --drivers=${{DRIVERS}}
SyslogIdentifier=phosphor-gpio-presence
[Install]