Re: PCI to PCI Bridge initialization fails or is corrupted

From: Don L. Belcher <don_at_siad.net>
Date: Sat, 29 Sep 2007 13:11:39 -0700
Kurt Jaeger wrote:

>Hi!
>
>  
>
>>If somebody could point out to me where the prefetch decode
>>occurs in the code, this would be a big help.
>>    
>>
>
>I assume you have
>
>sys/dev/pci/pci_pci.c, version 1.49
>  
>
Yes this is the version I currently have.

>http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/pci/pci_pci.c?rev=1.49;content-type=text%2Fplain
>
>In line 183f, sc->pmembase is set:
>
>	sc->pmembase  = PCI_PPBMEMBASE(pci_read_config(dev, PCIR_PMBASEH_1, 4),
>            pci_read_config(dev, PCIR_PMBASEL_1, 2));
>
>and if sc->pmembase is set, the function call to pcib_is_prefetch_open()
>leads to the result you are looking for in line 267:
>
>        if (pcib_is_prefetch_open(sc)) 
>            device_printf(dev, "  prefetched decode 0x%jx-0x%jx\n",
>              (uintmax_t)sc->pmembase, (uintmax_t)sc->pmemlimit);
>
>But why the pci_read_config() returns something different, I do not know.
>
>  
>
What I meant was where is the hardware initialize at
(for the prefetch decode), this code is working as far
I could tell. The prefetch decode in the hardware is
set to 0.

Would any body know if following errors could be causing the failure?
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7f00000 (3) failed
Received on Sat Sep 29 2007 - 18:14:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC