diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-03-21 14:33:51 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2019-03-22 10:35:31 -0500 |
commit | 605b2e9cc42d6f805ce26fe152ed529c040f29d5 (patch) | |
tree | 70123b8d5b6a7f175987d66fb1c7f56e17fb32a4 | |
parent | 5dd783bfab6c73851fa31d50e6184a9511f20bcd (diff) | |
download | phosphor-mrw-tools-605b2e9cc42d6f805ce26fe152ed529c040f29d5.tar.gz phosphor-mrw-tools-605b2e9cc42d6f805ce26fe152ed529c040f29d5.zip |
Fix callout I2C path
In the 5.0 Linux kernel, an I2C device path segment changed:
i2c@1e78a000 -> bus@1e78a000
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I6eec4ca9d570d7c6eceac0338c88967a78907b48
-rwxr-xr-x | gen_callouts.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_callouts.pl b/gen_callouts.pl index 5398aa5..5083557 100755 --- a/gen_callouts.pl +++ b/gen_callouts.pl @@ -36,7 +36,7 @@ my @inventory = Inventory::getInventory($targets); # paths -my $i2cPath = "/sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c\@1e78a000/1e78a100.i2c-bus/i2c-<port>/<port>-00<address>"; +my $i2cPath = "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus\@1e78a000/1e78a100.i2c-bus/i2c-<port>/<port>-00<address>"; my $fsiMasterPath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/raw"; my $fsiSlavePath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/00:00:00:0a/fsi1/slave\@<link>:00/raw"; |