In kernel code, to disable UART receive is just to discard the char received from RHR.
Disable RX interrupt is unavailabe because the data shall be put into FIFO through shift register.
Is there any method to disable UART receive in hardware mode?
Even there is any data on RX line, the UART controller doesn't receive it to shift register or FIFO?