From: "Tonu Aas" Newsgroups: comp.os.msdos.djgpp References: <3e23e78b$1 AT news DOT infonet DOT ee> Subject: Re: Libnet serial port problem Date: Wed, 15 Jan 2003 10:11:17 +0200 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: ids.ids.ee Message-ID: <3e2520c5$1@news.infonet.ee> X-Trace: news.infonet.ee 1042620613 ids.ids.ee (15 Jan 2003 10:50:13 +0200) Organization: INFONET.EE To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > If they use the same IRQ(COM1, COM3 or COM2 COM4) then its normal. > > No. Just bad software. There are enough status bits on the UART chip to > see which one has raised the interrupt. It just slows down a little > bite, because you have to ask all possible UART that are sharing the > same IRQ. You expect that UARTS can share IRQ-s. I dont know, but on older machines they dont. At least ISA bus IO cards dont. So its not "Just bad software" but can be also bad harware as most PC platform hardware is. I think that this libnet is some older library and it doesnt handle IRQ sharing also. Only bullet-proof solution is to not use the same IRQ or not to use IRQ at all :[ Tõnu.