Re: [PATCH] 2.5.17 /dev/ports

Martin Dalecki (dalecki@evision-ventures.com)
Thu, 23 May 2002 22:53:30 +0200


Uz.ytkownik Pete Zaitcev napisa?:
>>From: Christer Weinigel <wingel@acolyte.hack.org>
>>Date: Thu, 23 May 2002 23:22:39 +0200 (CEST)
>
>
>>Martin Dalecki <dalecki@evision-ventures.com> wrote:
>>
>>
>>>"I will submitt my dual 8255 PIO ISA card driver from 1.xx days
>>>immediately for kernel inclusion"
>>
>>Please do *grin* I will probably have to write a driver for just such
>>a card (a PC104 card though, but that's just a differenct connector),
>>so I'd love to have such a driver. [...]
>
>
> The 8255 is way too flexible for a single driver to be possible,
> IMHO. Also, it is used in devices which plug into a variety of
> upstream APIs, which makes the factorization not worth the effort.
> E.g. what if you have 8255 driving a 9 track tape and 8255 driving
> HP-IB bus? I think it would hardly be reasonable to unify those.
> OTOH, If Martin submits a header file with register breakdown,
> it may be useful (unlike a continuation of /dev/port discussion).

Well I wasn't serious about this submission thing precisely
for the above reasons. From long past times I can remember
that those beasts could be configured to have A B C D or whichever
ports, which could be neraly infinitely permuted to provide
many not usefull combinations of 4 or 8 bit bus buffers.
The externall visible register address or data lines where very
likely to be permutted between the chip and the data part of the ISA bus,
just becouse the layouter of the card did feel like beeing creative.
(So even register values won't help you!)
And last but not least they could be coupled in bunches.
So the chances for a genrically usefull driver are indeed not big.

And last but not least: The source for a driver for a 1.0.xx kernel
isn't very usefull nowadays.
And admittedly, well most lekely I don't have the code around
any longer... but it was just about 400 lines I can remember.

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