]> git.pld-linux.org Git - packages/ixgbe.git/blob - linux-3.7.patch
- rebuild for kernel-3.9.4-3
[packages/ixgbe.git] / linux-3.7.patch
1 --- ixgbe-3.11.33/src/ixgbe_main.c~     2012-10-04 17:39:15.000000000 +0200
2 +++ ixgbe-3.11.33/src/ixgbe_main.c      2012-12-20 13:58:51.727606335 +0100
3 @@ -9108,7 +9108,11 @@
4                 goto skip_bad_vf_detection;
5  
6         bdev = pdev->bus->self;
7 +#if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) )
8         while (bdev && (bdev->pcie_type != PCI_EXP_TYPE_ROOT_PORT))
9 +#else
10 +       while (bdev && (pci_pcie_type(bdev) != PCI_EXP_TYPE_ROOT_PORT))
11 +#endif
12                 bdev = bdev->bus->self;
13  
14         if (!bdev)
This page took 0.170005 seconds and 3 git commands to generate.