]> git.pld-linux.org Git - packages/igb.git/blame - linux-3.7.patch
- rebuild for kernel-3.7.9-2
[packages/igb.git] / linux-3.7.patch
CommitLineData
34c5237e
JR
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
82fe9b58 3@@ -7833,7 +7833,11 @@
34c5237e
JR
4 goto skip_bad_vf_detection;
5
6 bdev = pdev->bus->self;
82fe9b58
JR
7+#if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) )
8 while (bdev && (bdev->pcie_type != PCI_EXP_TYPE_ROOT_PORT))
9+#else
34c5237e 10+ while (bdev && (pci_pcie_type(bdev) != PCI_EXP_TYPE_ROOT_PORT))
82fe9b58 11+#endif
34c5237e
JR
12 bdev = bdev->bus->self;
13
14 if (!bdev)
This page took 0.023775 seconds and 4 git commands to generate.