lkml.org 
[lkml]   [2002]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.141 / U:1.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site