tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: (Semi-random) thoughts on device tree structure and devfs



mouse%Rodents-Montreal.ORG@localhost said:
> mainbus0 does not necessarily correspond to any physical bus.

Well, not physical in a sense that you can look at the wires, but
commonly it has a number of interface attributes which match the
capabilities of the the host bridge and some more platform
specific things, eg the firmware's autoconfiguration support.

> There is
> other precedent for things in the autoconf tree that do not correspond
> to anything physical, such as wsdisplay

Yes, devices in the autoconf tree are connected by interfaces (named
by interface attributes) which are primarily APIs. Sometimes they
correspond to some physical bus semantics, sometimes it is just
a software abstraction.

Anyway - the interface attributes of "mainbus" are fixed by the
platform which makes it a bad choice to attach random MI things at.

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.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index