tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] pcictl: simplify its usage
macallan%NetBSD.org@localhost said:
> Most halfway recent PowerMacs have multiple PCI domains
> [...]
Good example that also mainstream hardware is affected, but I somehow
dislike the term "PCI domain". It is just a bus, and we've had eg
"scsictl" for ages which doesn't care whether a SCSI bus hangs on
a different host adapter or not.
(A quick google search didn't yield any indication that a "PCI domain"
exists outside of Linux.)
> Works fine, my only gripe is that there is no sane & reliable way for
> userland to find out if /dev/pci<a> is a subordinate of /dev/pci<b>.
Agreed. In an ideal world, no user program would need to care
about that. But with X servers and xen we somehow need to arrange
with the real world which is full of abstraction violations.
Anyway, the existing kernel interfaces allow to find out the
complete topology, so I'd add kernel code only after thorough
consideration.
best regards
Matthias
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index