Mark Junker <mjscod@gmx.de>

Don't detect a 16550A UART if it is a 16550.

svn path=/trunk/; revision=14344
This commit is contained in:
Hervé Poussineau 2005-03-27 11:13:25 +00:00
parent 5f113d7735
commit f0e7b26df9

View file

@ -62,7 +62,11 @@ SerialDetectUartType(
{ {
case 0x00: case 0x00:
return Uart16450; return Uart16450;
case 0x40:
case 0x80: case 0x80:
/* Not sure about this but the documentation says that 0x40
* indicates an unusable FIFO but my tests only worked
* with 0x80 */
return Uart16550; return Uart16550;
} }