]> git.pld-linux.org Git - packages/igb.git/blame_incremental - linux-3.7.patch
- rebuild for kernel-3.7.10-4
[packages/igb.git] / linux-3.7.patch
... / ...
CommitLineData
1--- igb-4.0.17/src/igb_main.c~ 2012-10-08 17:37:31.000000000 +0200
2+++ igb-4.0.17/src/igb_main.c 2012-12-20 13:47:16.403675607 +0100
3@@ -7833,7 +7833,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.024279 seconds and 4 git commands to generate.