On Wednesday 18 November 2009 15:34:23 Oncaphillis wrote:
> On 11/18/2009 08:54 AM, Peter Stuge wrote:
> > Oncaphillis wrote:
> >
> >> So as far as I understand both the early kernel as well as lspci
> >> think that the mmio area of the Broadcom chip is located at
> >> 57100000 only ssb gets the wrong address. It gets set in ssbioremap
> >> via pci_iomap.
> >>
> > After the call to pci_iomap, the physical address (57100000) gets
> > mapped into a virtual address within the process address space.
> >
> > So it's fine.
> >
>
> Thanks for clarification. Based on the assumption that the IO mapping
> is correct I had a closer look at sprom_do_read:
>
> <snip>
>
> int i;
> for (i = 0; i < bus->sprom_size; i++) {
> printk(KERN_DEBUG "In sprom_do_read idx:%d\n",i);
> sprom[i] = ioread16(bus->mmio + SSB_SPROM_BASE + (i * 2));
> }
>
> </snip>
>
> The first ioread16 actually succeeds, only the second one fails.
What does the first ioread16 return then?
--
Greetings, Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev