* Andon Tschauschev <[EMAIL PROTECTED]> [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.

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [EMAIL PROTECTED]  • http://www.coresystems.de/

-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to