<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi, <br>&nbsp; Hope this is the correct list for driver related queries for ppc boards<br><br>I was porting a network driver for a ppc 405EX based embedded system (kilauea config).<br>The module builds fine and loads and I see the probe routine get called correctly.<br>However when I try remapping the BAR0 address from the PCI config space, the ioremap fails.<br>A little debugging showed that the address passed to ioremap was zero.<br>I pass the address to the ioremap via pci_resource_start(pdev, 0) where pdev is a type struct pci_dev *.<br><br>I dumped the contents of the pdev and saw that the vendor-id, device id etc were correct, however the BAR0 address seemed to be all zeroes.<br><br>The question that I had was<br>1. Is there any kernel config that needs to be done for PCI devices to
 be able to remap the BAR0 addresses.<br>2. Any other kernel parameter that needs to be tweaked?<br><br>Thanks,<br>Abg<br><br><br><br></div></div><br>



      </body></html>