* Corey Osgood corey.osgood@gmail.com [070615 21:51]:
In the future, "svn diff" is much easier to use and more readable.
- device_t dev;
- /* enable the decoding of superio ranges to the LPC interface */
- dev = pci_locate_device(PCI_ID(0x8086, 0x24c0), 0);
- pci_write_config16(dev, 0xE6, 0x3cff);
Please add this line:
pci_write_config16(dev, 0xE0, 0x10);
and see if it helps. If it doesn't, remove that block entirely, and try again (this shouldn't be necessary for basic early serial anyways)
Why do you think so? The ICH4 has LPC decodes and Serial port decodes disabled on poweron. Or the datasheets lie. (Both is possible, in any case)