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