backports: handle new sriov_configure pointer in struct pci_driver
authorStefan Assmann <sassmann@kpanic.de>
Fri, 16 May 2014 11:21:13 +0000 (13:21 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:14 +0000 (00:16 +0200)
commit35798e8fbe9e16f3338f6427f914f01b6ce3c47b
treeee1a9a449f4193b52f4a5a5c8416f0320252da53
parent4120d5eb141565d4ed58ea606bf8f68d995ea521
backports: handle new sriov_configure pointer in struct pci_driver

In kernel 3.8 struct pci_driver got a new function pointer sriov_configure.
Address this by putting ifdef around the code.

commit 1789382a72a537447d65ea4131d8bcc1ad85ce7b
Author: Donald Dutile <ddutile@redhat.com>
Date:   Mon Nov 5 15:20:36 2012 -0500

    PCI: SRIOV control and status via sysfs

git describe --contains 1789382a72a537447d65ea4131d8bcc1ad85ce7b
v3.8-rc1~128^2~6^2~4

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/0032-sriov_configure/INFO [new file with mode: 0644]
patches/collateral-evolutions/network/0032-sriov_configure/igb_sriov_configure.patch [new file with mode: 0644]