From: James Mckenzie Date: Sun, 6 Dec 2009 02:04:49 +0000 (+0000) Subject: Fix autodetection of AMT serial ports, intel have only implemented the bottom 16... X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=045357ee28b84e880346cd5e3d508c15e1a89509;p=xenclient%2Fxen-pq.git Fix autodetection of AMT serial ports, intel have only implemented the bottom 16 bits of the BAR --- 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;