From af96f1fd66cddaaa140a1d39f55ea46361650b2e Mon Sep 17 00:00:00 2001 From: Volodymyr Samotiy Date: Mon, 20 Aug 2018 14:21:09 +0300 Subject: [PATCH] [mellanox]: Fix problem with system EEPROM in "hw-mgmt" Signed-off-by: Volodymyr Samotiy --- .../Add-modprobe-config-for-at24-module.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 platform/mellanox/hw-management/Add-modprobe-config-for-at24-module.patch diff --git a/platform/mellanox/hw-management/Add-modprobe-config-for-at24-module.patch b/platform/mellanox/hw-management/Add-modprobe-config-for-at24-module.patch new file mode 100644 index 000000000000..37d57da4e937 --- /dev/null +++ b/platform/mellanox/hw-management/Add-modprobe-config-for-at24-module.patch @@ -0,0 +1,21 @@ +From 2f70f5df445820fb86e3bd7f95707e0fb97b553f Mon Sep 17 00:00:00 2001 +From: Volodymyr Samotiy +Date: Thu, 16 Aug 2018 17:21:37 +0300 +Subject: Add modprobe config for "at24" module + +Signed-off-by: Volodymyr Samotiy +--- + usr/etc/modprobe.d/mellanox-system-whitelist.conf | 1 + + 1 file changed, 1 insertion(+) + create mode 100644 usr/etc/modprobe.d/mellanox-system-whitelist.conf + +diff --git a/usr/etc/modprobe.d/mellanox-system-whitelist.conf b/usr/etc/modprobe.d/mellanox-system-whitelist.conf +new file mode 100644 +index 0000000..a3eef57 +--- /dev/null ++++ b/usr/etc/modprobe.d/mellanox-system-whitelist.conf +@@ -0,0 +1 @@ ++options at24 io_limit=32 +-- +1.9.1 +