diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-23 09:21:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 09:21:04 +0100 |
commit | 69322b5367e4b94ba834d7a3b205f31f1bf02b54 (patch) | |
tree | 68c6a05e633f72f9d252e4b50a462d4d87c5608a /packages/linux-kernel/build-intel-ixgbe.sh | |
parent | 19039d6622f45dab5b85303ebb504d09e2ce07df (diff) | |
parent | 6ba7c507620e7616559727a5874c783f7a5fc627 (diff) | |
download | vyos-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-x | packages/linux-kernel/build-intel-ixgbe.sh | 4 |
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 |