Thomas Moestl 89eef2de47 It seems that clearing the MCR_IE bit in the modem control register
does not reliably prevent the triggering of interrupts for all supported
configurations. Thus, the FIFO size probe could cause an interrupt,
which could lead to an interrupt storm in the shared interrupt case.

To prevent this, change ns8250_bus_probe() to use the overflow bit in
the line status register instead of the RX ready bit in the interrupt
identification register to detect whether the FIFO has filled up.
This allows us to clear all bits in the interrupt enable register during
the probe, which should prevent interrupts reliably.
Additionally, the detected FIFO size may be a bit more accurate, because
the overflow bit is only set when the FIFO did actually fill up, while
interrupts would trigger a bit early.

Reviewed and tested on a lot of hardware by:	marcel
2004-05-26 21:59:01 +00:00
..
2004-05-13 19:15:21 +00:00
2004-05-23 10:57:11 +00:00
2004-05-11 20:46:05 +00:00
2004-05-24 04:46:54 +00:00
2004-05-26 20:18:58 +00:00
2004-05-24 19:39:56 +00:00
2004-02-21 21:10:55 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2004-03-21 18:16:49 +00:00
2004-04-02 16:41:16 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2004-02-21 21:10:55 +00:00
2004-05-25 07:42:45 +00:00
2003-08-24 17:55:58 +00:00
2004-05-13 11:33:44 +00:00
2004-02-21 21:10:55 +00:00
2004-02-21 21:10:55 +00:00
2004-04-14 02:20:01 +00:00
2004-02-21 21:10:55 +00:00
2004-05-17 17:16:58 +00:00
2004-05-23 17:09:07 +00:00
2003-08-24 17:55:58 +00:00