How-to disable irq4 serial ints
I am forced to use a legacy assembler serial driver that handles a special comm port device and preps data for a dos text gui.
Problem is, if the serial device on /dev/ttyS0 is receiving data and generating ints, this serial servicing tsr crashes during its init. But if the port is quiet it starts fine.
So, I ask for suggestions on ways to temporarily disable irq 4 interrupts from happening, until after this tsr starts ???
Thanks in advance
TonyB
--
__ __ _ I N C. http://www.sysdev.org
/ __|\\// __|| \ __ __ / [email protected] \__ \ \/\__ \||)|/ O_)\/ / \/ System Tools / Utilities |___/ || ___/|_ /\___|\_/ WIntel / Linux Device Drivers
Quoted 3 lines · On Thu, 9 Jun 2005 19:49:28 -0800 Hufnus <[email protected]> wrote:
So, I ask for suggestions on ways to temporarily disable irq 4 interrupts from happening, until after this tsr starts ???
Basically I was wondering, if masking the PIC with a 0x04 by doing I/O to port 0x21 would work in dosemu emulation or if there is a better way to do this?
TonyB
--
__ __ _ I N C. http://www.sysdev.org
/ __|\\// __|| \ __ __ / [email protected] \__ \ \/\__ \||)|/ O_)\/ / \/ System Tools / Utilities |___/ || ___/|_ /\___|\_/ WIntel / Linux Device Drivers