diff options
author | Chris Wang <Chris_Wang@wiwynn.com> | 2024-03-12 12:29:15 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2024-03-13 05:13:44 +0300 |
commit | 0598b574e8a02209ba089c9bfadd6c5a9cc0b3b0 (patch) | |
tree | 65880a5b76e995aa0e5e97712d6e982a79075127 /meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service | |
parent | 9c40b39ecccb09f54c5d31ece58bfbc017bbc5d8 (diff) | |
download | openbmc-0598b574e8a02209ba089c9bfadd6c5a9cc0b3b0.tar.xz |
meta-facebook: yosemite4: Support NIC endpoint setup
Setup the MCTP Endpoint for the NIC when inserted.
Remove the MCTP Endpoint for the NIC when unplugged.
Change-Id: I0c36cecda6509a64e4f26c70bf61590467571a7b
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Diffstat (limited to 'meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service')
-rw-r--r-- | meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service new file mode 100644 index 0000000000..db06940930 --- /dev/null +++ b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service @@ -0,0 +1,8 @@ +[Unit]
+Description=Setup MCTP endpoint for Slot%i NIC
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/configure-nic-mctp-endpoint.sh add %i
+SyslogIdentifier=setup-nic-endpoint-slot%i
+
|