* Andon Tschauschev atschauschev@yahoo.com [070522 14:38]:
Hello, pmbase_value = pci_read_long(LPCBridge, 0x40);
This neads to read
pmbase_value = pci_read_long(LPCBridge, 0x40) & 0xfffffffe ;
I have not checked the data sheets but I would bet the lowest bit is enable.
From datasheet ICH3M, according to PMBASE: 31:16 -- reserved 15:7 -- Base address 6:1 -- reserved 0 -- Resource Indicator -- RO. tied to 1 to indicate I/O space
Should it be pmbase_value = pci_read_long(LPCBridge, 0x40) & 0xff80;
yes.
Is shifting necessary, too (see attached file)?
Does it say which bits of the base address the bits 15:7 correspond to?
I would assume no shift is required.