Messages in this thread | | | Date | Fri, 17 May 2002 14:47:55 +0400 | From | Ivan Kokshaysky <> | Subject | Re: pci segments/domains |
| |
On Thu, May 16, 2002 at 03:33:34PM -0400, Jeff Garzik wrote: > I wouldn't mind making the PCI domain support a bit more explicit, > though. I think it's fair to be able to obtain a pointer to "struct > pci_domain", which would most likely be defined in asm/pci.h for each arch.
We already have it - void *sysdata. Host-to-PCI (domain) controllers might be totally different even inside any given architecture, so trying to make this more generic would be pointless - you will end up with a pointer to arch/device specific data anyway. I can think of the only case where domain info might be interesting - if some device wants to know whether it can talk to another device directly. We have pci_controller_num(pdev) for this.
Ivan. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |