If you're going to do something like this, ie. true hierarchy, why not
make one tree which is "system", right? Use /proc/bus/${controllernum}
ala:
/proc/bus/0/type --> "sbus", "pci", "zorro", etc.
/proc/bus/0/* --> for type == "pci" ${bus}/${dev}.${fn}
for type == "sbus" ${slot}
...
How about this?
Later,
David S. Miller
davem@redhat.com
-
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/