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
4 goto skip_bad_vf_detection;
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))
10 + while (bdev && (pci_pcie_type(bdev) != PCI_EXP_TYPE_ROOT_PORT))
12 bdev = bdev->bus->self;