Re: [git pull] PCI fixes
From: Yinghai Lu
Date: Fri Jan 06 2012 - 20:14:54 EST
On Fri, Jan 6, 2012 at 12:46 PM, Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> wrote:
>
> There was some talk awhile back of pulling the SR-IOV resources out of
> the pci_dev resource array (adding a separate member to track them only
> if CONFIG_PCI_IOV is enabled), that would probably be the way to go.
> Then fix up whatever resource walking code that cares about IOV BARs
> (there isn't much I think).
>
> Any thoughts Yinghai?
We can add helpers like
for_each_resource_for_dev()
for_each_resource_for_dev_bridge()
Thanks
Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/