VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4] ]
Subject: Re: Serial Interrupt Question


Author:
Dimitry Katkov
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 08:17:41 02/23/00 Wed
In reply to: Don Haig 's message, "Re: Serial Interrupt Question" on 06:47:37 02/21/00 Mon

The patch is very simple:
add the following code before accessing line status register in interrupt service routine (file /usr/src/linux/drivers/serial.c)

{
int Elan_uart;
unsigned char tmp_indx;
tmp_indx = inb(0x22);
outb(0xD1, 0x22);
Elan_uart = inb(0x23);
outb(tmp_indx, 0x22);
if((Elan_uart & 1) && (((info->port)>>4)==((((~Elan_uart)&2)<<3)|0x2f)))udelay((unsigned long)120);
}

Pathed file serial.c can be found in
http://www.compulab.co.il/download/486-linuxkit.zip

Best regards,
Dimitry.

P.S. I hope this patch will be included in the next kernel release.

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
Re: Serial Interrupt QuestionDon Haig10:04:47 02/28/00 Mon
Re: Serial Interrupt QuestionJustin Wu08:52:43 08/08/01 Wed


[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.