On Fri, Nov 9, 2012 at 10:47 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > On Mon, Nov 5, 2012 at 12:20 PM, Donald Dutile <ddutile@xxxxxxxxxx> wrote: >> >> static const struct attribute_group *pci_dev_attr_groups[] = { >> &pci_dev_attr_group, >> +#ifdef CONFIG_PCI_IOV >> + &sriov_dev_attr_group, >> +#endif > > should move sriov_dev_attr_group related code to > drivers/pci/iov.c > or driver/pci/iov_sysfs.c > > and kill those CONFIG_IOV. Bjorn, please check attached patch that separate sriov_dev_attr_group out. it is against to your pci/don-sriov branch. Thanks Yinghai
Attachment:
iov_sysfs.patch
Description: Binary data