Re: /proc/bus/pci

From: David S. Miller (davem@redhat.com)
Date: Thu Jun 05 2003 - 00:01:17 EST


   From: Linus Torvalds <torvalds@transmeta.com>
   Date: Wed, 4 Jun 2003 21:23:16 -0700 (PDT)
   
   On Wed, 4 Jun 2003, Albert Cahalan wrote:
> bus/pci/00/00.0 -> ../hose0/bus0/dev0/fn0/config-space
   
   Why do we have that stupid "hose" name? Only because of strange alpha
   naming, or did somebody else also use that incredibly silly name?
   
   Please talk about "domains", at least it makes some sense as a name.

I agree.
   
   I'm also hoping that /proc/bus will eventually go away, so I don't
   see a major problem with not understanding multiple domains at that
   level.
   
   On a /sys/bus/xxx level we actually should already be able to handle
   multiple domains, but the naming is broken. However, in /sys we should be
   able to nicely handling non-zero domains by just extending the name space
   a bit.
   
My only concern is what file lookup algorithm we should be encouraging
things like xfree86 to use. Check /sys then /proc/bus?
-
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/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:26 EST