Backport access to pcidev->is_pcie member for kernels < 2.6.24
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 13 Jan 2010 19:06:55 +0000 (11:06 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 13 Jan 2010 19:06:55 +0000 (11:06 -0800)
commit6ba1755cb78cb4d3c2a5f50c564233ff780775f9
tree7ca39870952d8e4505d01755e6ca526ac95be0d7
parent7a0ec9c03bd7d5d76aa5f1eafd74b2a4c23f81e6
Backport access to pcidev->is_pcie member for kernels < 2.6.24

Older kernels than 2.6.24 do not have the is_pcie member as part of
the struct pci_dev, to help with that we use the compat-2.6.24.c supplied
compat_is_pcie() when needed.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
patches/20-pcidev.patch [new file with mode: 0644]