Re: Devlinks. Code. (Dcache abuse?)

Neil Brown (neilb@cse.unsw.edu.au)
Tue, 20 Nov 2001 12:06:01 +1100 (EST)


On Monday November 19, viro@math.psu.edu wrote:
>
>
> On Mon, 19 Nov 2001, Neil Brown wrote:
> > I was thinking:
> >
> > devid/9005/00cf/0
>
> And that you would call a text? We are just trading two numbers for
> a bunch of them.

I disagree with the word "just". A bunch of numbers, with no fixed
limit, is *much* more usable than that 17 bits we now have, or the 33
bits that we might get.

Look at the naming used for MIBs, as in SNMP. It's just a list of
numbers, but it is very flexable and expressive. Not that I think
mib names are elegant. But they are expressive. Structure needs to
be imposed to get elegance.

So even if it were just a bunch of numbers it would be significantly
better. Allowing words is just icing on the cake.

> Better yet, how about a driver that treats several
> cards as identical?

What is so interesting about that. I'm not really interested in what
driver is being used. Just in what the hardware is, and what the
interface is. modutils might care about the driver, but devlinks
don't.

NeilBrown
-
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/