]> git.pld-linux.org Git - packages/igb.git/blobdiff - linux-3.7.patch
- rebuild for kernel-3.7.9-2
[packages/igb.git] / linux-3.7.patch
index 719367389e31fa6b0f32d520b31525aba9f36391..ba07f6d74db3563f875aa94f2c0708cfb552d5ba 100644 (file)
@@ -1,11 +1,14 @@
 --- igb-4.0.17/src/igb_main.c~ 2012-10-08 17:37:31.000000000 +0200
 +++ igb-4.0.17/src/igb_main.c  2012-12-20 13:47:16.403675607 +0100
-@@ -7833,7 +7833,7 @@
+@@ -7833,7 +7833,11 @@
                goto skip_bad_vf_detection;
  
        bdev = pdev->bus->self;
--      while (bdev && (bdev->pcie_type != PCI_EXP_TYPE_ROOT_PORT))
++#if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) )
+       while (bdev && (bdev->pcie_type != PCI_EXP_TYPE_ROOT_PORT))
++#else
 +      while (bdev && (pci_pcie_type(bdev) != PCI_EXP_TYPE_ROOT_PORT))
++#endif
                bdev = bdev->bus->self;
  
        if (!bdev)
This page took 0.096164 seconds and 4 git commands to generate.