Re: Modem in polled mode

Bradley D. LaRonde (brad@ltc.com)
Wed, 11 Aug 1999 01:42:18 -0400


Look at drivers/char/serial.c.

Regards,
Brad

----- Original Message -----
From: Girish D Kale <girish@sasi.com>
To: <linux-kernel@vger.rutgers.edu>
Sent: Wednesday, August 11, 1999 12:00 AM
Subject: Modem in polled mode

>
> Hello,
>
> I am using an ISA modem on a linux m/c. I have opened a
> device eg. /dev/ttyS3 from the user level using open
> function.
>
> However because of some limitation, I want to operate the
> modem in a polled mode. I have the following problems :
>
> 1) Can I disable the interrupts on the modem (UART - IER
> register) from the user level using some call (eg ioctl or
> anything like this)
> 2) If the interrupts are disabled, how do I read the data in
> the UART FIFO.
>
> Please help.
>
> Thanks,
> Girish
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/