On Monday 13 November 2006 23:45, Vincent Danjean wrote:
> Index: dscape-ieee80211/src/wireless-dev/ssb/ssb.c
> ===================================================================
> --- dscape-ieee80211.orig/src/wireless-dev/ssb/ssb.c  2006-11-13 
> 02:00:02.000000000 +0100
> +++ dscape-ieee80211/src/wireless-dev/ssb/ssb.c       2006-11-13 
> 01:58:55.000000000 +0100
> @@ -590,6 +590,7 @@
>       int err;
>       int attempts = 0;
>       u32 cur_core;
> +     static int last_core = 1;
> 
>       while (1) {
>               err = ssb_pci_write_config32(ssb, SSB_BAR0_WIN,
> @@ -610,6 +611,10 @@
>                       goto error;
>               udelay(10);
>       }
> +     char* mmio=(char*)((coreidx-last_core)*SSB_CORE_SIZE + 
> (char*)ssb->mmio);
> +     ssb->mmio=mmio;
> +     last_core=coreidx;
> +     printk(KERN_DEBUG PFX "switched to core %i, mmio set to %p\n", coreidx, 
> ssb->mmio);
>       return 0;
>  error:
>       printk(KERN_ERR PFX "Failed to switch to core %u\n", coreidx);

I am working on a port of bcm43xx to this machine.
The issue is really more complicated than this mmio hack.

If you want to have some hack that actually works on the wrt,
please lookup the mail archives.

-- 
Greetings Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to