mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
ixgbe: T5619: remove pci_*_pcie_error_reporting() code to work with Kernel 6.6
This fixes commit 0f80a22b5 ("T5619: Add out-of-tree Intel ixgbe driver") to
work with the latest 6.6 code base.
For more information see
https://lore.kernel.org/lkml/f90837d0-810e-5772-7841-28d47c44d260@intel.com
This commit is contained in:
parent
738ce141fb
commit
36065ae874
@ -10,6 +10,7 @@ packages = [
|
|||||||
"grub-pc",
|
"grub-pc",
|
||||||
"vyos-linux-firmware",
|
"vyos-linux-firmware",
|
||||||
"vyos-intel-qat",
|
"vyos-intel-qat",
|
||||||
|
"vyos-intel-ixgbe",
|
||||||
"openvpn-dco",
|
"openvpn-dco",
|
||||||
"telegraf"
|
"telegraf"
|
||||||
]
|
]
|
||||||
|
|||||||
@ -14,7 +14,7 @@ fi
|
|||||||
|
|
||||||
. ${KERNEL_VAR_FILE}
|
. ${KERNEL_VAR_FILE}
|
||||||
|
|
||||||
url="https://sourceforge.net/projects/e1000/files/ixgbe%20stable/5.19.6/ixgbe-5.19.6.tar.gz"
|
url="https://sourceforge.net/projects/e1000/files/ixgbe%20stable/5.19.9/ixgbe-5.19.9.tar.gz"
|
||||||
|
|
||||||
cd ${CWD}
|
cd ${CWD}
|
||||||
|
|
||||||
@ -52,8 +52,13 @@ if [ -z $KERNEL_DIR ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# See https://lore.kernel.org/lkml/f90837d0-810e-5772-7841-28d47c44d260@intel.com/
|
||||||
|
echo "I: remove pci_enable_pcie_error_reporting() code no longer present in Kernel"
|
||||||
|
sed -i '/.*pci_disable_pcie_error_reporting(pdev);/d' ixgbe_main.c
|
||||||
|
sed -i '/.*pci_enable_pcie_error_reporting(pdev);/d' ixgbe_main.c
|
||||||
|
|
||||||
echo "I: Compile Kernel module for Intel ${DRIVER_NAME} driver"
|
echo "I: Compile Kernel module for Intel ${DRIVER_NAME} driver"
|
||||||
make INSTALL_MOD_PATH=${DEBIAN_DIR} INSTALL_FW_PATH=${DEBIAN_DIR} -j $(getconf _NPROCESSORS_ONLN) install
|
make KSRC=${KERNEL_DIR} INSTALL_MOD_PATH=${DEBIAN_DIR} INSTALL_FW_PATH=${DEBIAN_DIR} -j $(getconf _NPROCESSORS_ONLN) install
|
||||||
|
|
||||||
if [ "x$?" != "x0" ]; then
|
if [ "x$?" != "x0" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user