> Hi! I am trying to access a custom PCI device on a Walnut Rev. D system
> running Hard Hat Linux Rev. 1.2 with Montavista kernel snapshot
> 01.04.12. The following code is beeing executed in the probe function of
> a kernel module and works well on Linux 2.4.2/Intel but returns useless
> values on PowerPC.
What kernel version is this? We have fixed a few bugs in the PCI code
on PPC lately.
> ### begin ppc result ###
> Found PCI device 10ee:4030 (Xilinx, Inc.)
> pci_resource_start=10000000
> pci_resource_end=0
> PCI_BASE_ADDRESS_0=ffff0000
This looks bogus, it looks like the firmware hasn't assigned an
address to this device. Current PPC kernels should assign a
reasonable address in this case - this is something that has been
fixed since 2.4.2 came out.
Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/