Daniel Schmitt wrote:
> Larry, I don't think that sprom_do_read is able to read _ANY_ valid data
> because if I do it today it results it

Is there any reason to suspect a timing issue? I'm not familiar with
your platform. If that is the issue, perhaps might try (my mailer will
mangle this, but you get the idea):

Index: wireless-testing/drivers/ssb/pci.c
===================================================================
--- wireless-testing.orig/drivers/ssb/pci.c
+++ wireless-testing/drivers/ssb/pci.c
@@ -246,8 +246,10 @@ static int sprom_do_read(struct ssb_bus
 {
        int i;

-       for (i = 0; i < bus->sprom_size; i++)
+       for (i = 0; i < bus->sprom_size; i++) {
                sprom[i] = ioread16(bus->mmio + SSB_SPROM_BASE + (i * 2));
+               udelay(5);
+       }

        return 0;
 }


_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to