serial: ttyS0 - how to use the IRQ ?hi!
hi!
i've written a program to send and read raw data through serial port (/dev/ttyS0). it works fine, but during the read() i have to poll until a get the expected amount of bytes in the buffer. i would like to use the IRQ to wake up my read() process when the buffer is ready to be read.
i would appreciate any suggestions.
thanks,
cardias.
|