Re: pci.h stubs

From: H. Peter Anvin
Date: Wed Jun 27 2007 - 14:34:32 EST


Alan Cox wrote:
On Wed, 27 Jun 2007 10:54:30 -0600
Matthew Wilcox <matthew@xxxxxx> wrote:

On Wed, Jun 27, 2007 at 12:41:41PM -0400, H. Peter Anvin wrote:
Note that EDD has no way of referencing anything but the zero domain (which is presumably the one which is addressed by I/O ports CF8/CFC on the BSP.) So in this particular case I would say pci_get_bus_and_slot() is fine.
Except that you're not guaranteed to get the bus that's in domain zero.

Which is trivial to fix

Yes, and that's probably the only sane definition of that API.

-hpa
-
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/