Hi, guys,

  I was able to make the following change to compile the igb driver on kernel 
3.7 (not yet fully tested, and not tried with a later kernel):

--- ../PF_RING-5.6.0/drivers/DNA/igb-3.4.7-DNA/src/igb_main.c   2013-03-16 
07:16:43.000000000 -0700
+++ drivers/DNA/igb-3.4.7-DNA/src/igb_main.c    2013-08-01 14:39:05.000000000 
-0700
@@ -8595,7 +8595,7 @@
                goto skip_bad_vf_detection;

        bdev = pdev->bus->self;
-       while (bdev && (bdev->pcie_type != PCI_EXP_TYPE_ROOT_PORT))
+       while (bdev && (pci_pcie_type(bdev) != PCI_EXP_TYPE_ROOT_PORT))
                bdev = bdev->bus->self;

        if (!bdev)

Brian C. Wiles | Director of Software Development
O1 Communications
5190 Golden Foothill Pkwy,
El Dorado Hills, CA 95762
office: 916.235.2032
email: [email protected]<mailto:[email protected]> | web: www.o1.com<http://www.o1.com/>

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to