summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-intel-ixgbe.sh
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-23 09:21:04 +0100
committerGitHub <noreply@github.com>2024-03-23 09:21:04 +0100
commit69322b5367e4b94ba834d7a3b205f31f1bf02b54 (patch)
tree68c6a05e633f72f9d252e4b50a462d4d87c5608a /packages/linux-kernel/build-intel-ixgbe.sh
parent19039d6622f45dab5b85303ebb504d09e2ce07df (diff)
parent6ba7c507620e7616559727a5874c783f7a5fc627 (diff)
downloadvyos-build-69322b5367e4b94ba834d7a3b205f31f1bf02b54.tar.gz
vyos-build-69322b5367e4b94ba834d7a3b205f31f1bf02b54.zip
Merge pull request #539 from vyos/mergify/bp/sagitta/pr-538
ixgbe: T6155: always enable allow_unsupported_sfp for all NICs by default (backport #538)
Diffstat (limited to 'packages/linux-kernel/build-intel-ixgbe.sh')
-rwxr-xr-xpackages/linux-kernel/build-intel-ixgbe.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/linux-kernel/build-intel-ixgbe.sh b/packages/linux-kernel/build-intel-ixgbe.sh
index 4f6d974b..36e403ad 100755
--- a/packages/linux-kernel/build-intel-ixgbe.sh
+++ b/packages/linux-kernel/build-intel-ixgbe.sh
@@ -57,6 +57,10 @@ echo "I: remove pci_enable_pcie_error_reporting() code no longer present in Kern
sed -i '/.*pci_disable_pcie_error_reporting(pdev);/d' ixgbe_main.c
sed -i '/.*pci_enable_pcie_error_reporting(pdev);/d' ixgbe_main.c
+# See https://vyos.dev/T6155
+echo "I: always enable allow_unsupported_sfp for all NICs by default"
+patch -l -p1 < ../../patches/ixgbe/allow_unsupported_sfp.patch
+
echo "I: Compile Kernel module for Intel ${DRIVER_NAME} driver"
make KSRC=${KERNEL_DIR} INSTALL_MOD_PATH=${DEBIAN_DIR} INSTALL_FW_PATH=${DEBIAN_DIR} -j $(getconf _NPROCESSORS_ONLN) install