Re: More than 10 IDE interfaces

Martin Dalecki (dalecki@evision-ventures.com)
Wed, 17 Apr 2002 12:21:27 +0200


Stephen Samuel wrote:
> It might be trowing bad money after good to do it, but why
> not just put together a simple translation table.
>
> rather than
> drivenum=(driveletter - 'a')
> and
> driveletter=(drivenum+'a')
>
> have translation tables, so that
> drivenum= chartodrivenum[driveletter]
> and
> driveletter= drivenumtoletter[drivenum]
> If you're willing to map (almost) all of the printable
> characters, you could get 46 controllers and 92 drives
> (I'd refuse to map ', ", \ or space)
>
>
> You'd still be limited to one character, but it would, at least
> make it easy to have 26 controllers and 52 drives (and that's
> just using upper and lower case characters!)

Hmm this propasal is not without reaons but the main obstacle
is currently just the option parsing code in ide. At some
point in time I just intend to rewrite it and to support
namings along the way of /dev/hdXX, where XX are simply digits.
The old names will be preserved as "backwards compatibility".

OK?
If you wish you could of course look in to this yourself, since
it's not *that* difficult. I would be really glad if someone did this.

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