[lkml]   [2001]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Cannot access PCI device
Zehetbauer Thomas writes:

> 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:17    [W:0.046 / U:8.180 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site