Messages in this thread | | | Subject | RE: [PATCH 3/3] PCI: Add pci_read_base() API | Date | Tue, 29 Jul 2008 10:36:49 +0800 | From | "Zhao, Yu" <> |
| |
On Tuesday, July 29, 2008 9:50 AM, Matthew Wilcox <mailto:matthew@wil.cx> wrote:
> On Tue, Jul 29, 2008 at 09:22:03AM +0800, Zhao, Yu wrote: >> Greetings, >> >> It would be nice if people can have an enhanced > pci_update_resource to update non-standard BARs probed by > pci_read_base. > > Yes, that would be a natural addition to the API. However, we don't > tend to add APIs until we have a use case for them. Do you have > anything in the pipeline that could use this feature? I'm quite happy > to write the code for you if you do.
There is a new PCIe extended capability SR-IOV, which defines 6 additional BARs encapsulated inside the capability. I'm writing code to support it, and will be using your APIs to probe and update these non-standard BARs.
The SR-IOV specification can be found at: http://www.pcisig.com/members/downloads/specifications/iov/sr-iov1.0_11Sep07.pdf
Thanks.
> > -- > Intel are signing my paycheques ... these opinions are still mine > "Bill, look, we understand that you're interested in selling us this > operating system, but compare it to ours. We can't possibly take such > a retrograde step."
| |