Thread (1 message) 1 message, 1 author, 2014-08-23

Re: [PATCH 1/2] igb_uio: fix compability on old kernel

From: Stephen Hemminger <hidden>
Date: 2014-08-23 15:14:53

On Fri, 22 Aug 2014 14:09:35 -0400
Robert Sanford [off-list ref] wrote:
This is what we came up with. It works for us. In our kernel headers'
linux/pci.h, pci_num_vf is enclosed within "#ifdef CONFIG_PCI_IOV/#endif";
pci_intx_mask_supported and pci_check_and_mask_intx are enclosed within
"#ifdef HAVE_PCI_SET_MWI/#endif".

What do you think?
Maybe we can just get rid of kernel version checks all together and
just use the HAVE_ checks.

I will test on stock 2.6.32.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help