From: adams@pdv2.fmr.maschinenbau.th-darmstadt.de (Adams) Subject: Re: Serial IRQ polling Date: 16 Dec 1992 01:38:12 GMT
In article <1gi6saINNaq4@life.ai.mit.edu> jimc@hal.gnu.ai.mit.edu (James Carpenter) writes:
> Does Linux poll serial ports (i.e. can I use COM2 and COM4 at the same time
> if they are both on IRQ 3). I have looked at the serial code but it just
> gets me dizzy. And I do not see any mention of polling (which is what I
> always thought was the correct phrase). But is Linux suppose to do this?
> And if so PLEASE tell me that there is a trick to enabling it because
> nothing I've tried works.
There is no reasonable way to poll a device in a multi user or
realtime environment. Attaching to a timer
will lead to a desastrous performance loss, and hooking the
CPU will disable multitasking.
If there would be enough interest, it would be neither too hard nor
too expensive to throw an expansion card together, handling 2-4 serial
ports without any intervention of CPU..... Those by commercial vendors
cost up to 4000 DM, devices used sum up to 150 DM ....
(Remember: 16 bit wide ethernet cards, together with DOS setup software
cost about 260,-- DM)
best adams