From 045357ee28b84e880346cd5e3d508c15e1a89509 Mon Sep 17 00:00:00 2001 From: James Mckenzie Date: Sun, 6 Dec 2009 02:04:49 +0000 Subject: [PATCH] Fix autodetection of AMT serial ports, intel have only implemented the bottom 16 bits of the BAR --- master/serial-card | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/serial-card b/master/serial-card index 0e9903f..b78de11 100644 --- a/master/serial-card +++ b/master/serial-card @@ -49,7 +49,7 @@ index 1f88907..60c373b 100644 + pci_conf_write32 (b, d, f, PCI_BASE_ADDRESS_0, bar0); + + /* Not 8 bytes */ -+ if (len != 0xfffffff9) ++ if ((len & 0xffff) != 0xfff9) + continue; + + uart->io_base = bar0 & 0xfffe; -- 2.39.5