X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/df49c5b247620075704ccf6bbc303c598f4e869d..4fa8e1979c3f76117e52c0068eba3bce898eca48:/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch diff --git a/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch b/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch index fab43b953..e7d282330 100644 --- a/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch +++ b/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -2136,6 +2136,17 @@ static struct ssb_sprom bcm63xx_sprom = +@@ -2128,6 +2128,17 @@ static struct ssb_sprom bcm63xx_sprom = .boardflags_lo = 0x2848, .boardflags_hi = 0x0000, }; @@ -18,7 +18,7 @@ #endif /* -@@ -2330,8 +2341,9 @@ void __init board_prom_init(void) +@@ -2403,8 +2414,9 @@ int __init board_register_devices(void) if (!board_get_mac_address(bcm63xx_sprom.il0mac)) { memcpy(bcm63xx_sprom.et0mac, bcm63xx_sprom.il0mac, ETH_ALEN); memcpy(bcm63xx_sprom.et1mac, bcm63xx_sprom.il0mac, ETH_ALEN); @@ -29,7 +29,7 @@ + printk(KERN_ERR PFX "failed to register fallback SPROM\n"); } #endif - } + --- a/drivers/ssb/pci.c +++ b/drivers/ssb/pci.c @@ -662,7 +662,6 @@ static int sprom_extract(struct ssb_bus