Changeset 10966
- Timestamp:
- 11/20/08 11:35:35 (5 years ago)
- Location:
- src/linux/ar531x/linux-2.6.23
- Files:
-
- 3 edited
-
arch/mips/atheros/ar5312/board.c (modified) (2 diffs)
-
arch/mips/atheros/board.c (modified) (2 diffs)
-
drivers/mtd/maps/ar531x_flash.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/linux/ar531x/linux-2.6.23/arch/mips/atheros/ar5312/board.c
r10872 r10966 301 301 302 302 if (radio) { 303 // printk("radio mask %X \n",*((u32 *) radio));304 303 if (mips_machtype == MACH_ATHEROS_AR5312) { 305 // printk("init wmac 0\n");306 304 if (*((u32 *) radio) & AR531X_RADIO0_MASK) { 307 305 ar5312_wmac[0].dev.platform_data = init_wmac(0); … … 310 308 } 311 309 if (*((u32 *) radio) & AR531X_RADIO1_MASK) { 312 // printk("init wmac 1\n");313 310 ar5312_wmac[1].dev.platform_data = init_wmac(1); 314 311 ar5312_devs[dev++] = &ar5312_wmac[1]; -
src/linux/ar531x/linux-2.6.23/arch/mips/atheros/board.c
r10200 r10966 57 57 if (!found) { 58 58 addr = NULL; 59 if (strstr((char*)(0xbfc00010),"CA804.SOB") || strstr((char*)(0xbfc00010),"CE801.SOB") || strstr((char*)(0xbfc00010),"OVISCA401") || strstr((char*)(0xbfc00010),"OVISCE401") )59 if (strstr((char*)(0xbfc00010),"CA804.SOB") || strstr((char*)(0xbfc00010),"CE801.SOB") || strstr((char*)(0xbfc00010),"OVISCA401") || strstr((char*)(0xbfc00010),"OVISCE401") || strstr((char*)(0xbfc00010),"RCAAO1") || strstr((char*)(0xbfc00010),"RDAT81.SOB")) 60 60 { 61 61 … … 75 75 default_config.pciId=0x13; 76 76 default_config.memCap=0x800f; 77 if (strstr((char*)(0xbfc00010),"RCAAO1") || strstr((char*)(0xbfc00010),"RDAT81.SOB")) 78 { 79 default_config.config=0 | BD_ENET1 | BD_UART0 | BD_RSTFACTORY | BD_SYSLED | BD_WLAN1 | BD_WLAN1_2G_EN | BD_WLAN1_5G_EN; 80 } 81 82 77 83 memcpy(wmac,(char*)0xbfc00044,6); 78 84 x=0x100; -
src/linux/ar531x/linux-2.6.23/drivers/mtd/maps/ar531x_flash.c
r9635 r10966 176 176 goto out; 177 177 178 if (strstr(buf+0x10,"CA804.SOB") || strstr(buf+0x10,"CE801.SOB") || strstr(buf+0x10,"OVISCA401") || strstr(buf+0x10,"OVISCE401") ) {178 if (strstr(buf+0x10,"CA804.SOB") || strstr(buf+0x10,"CE801.SOB") || strstr(buf+0x10,"OVISCA401") || strstr(buf+0x10,"OVISCE401") || strstr(buf+0x10,"RCAAO1") || strstr((char*)(0xbfc00010),"RDAT81.SOB")) { 179 179 image_info = buf+0x56; 180 ar531x_partitions[2].size = 0x400000- 0x70000; /* Velikost kernelu */180 ar531x_partitions[2].size = mymtd->size - 0x70000; /* Velikost kernelu */ 181 181 int offset = 0x0; 182 182 char *buf = 0xbfc00000; … … 188 188 ar531x_partitions[3].offset=offset; 189 189 ar531x_partitions[3].size = ar531x_partitions[2].size-(offset-0x50000); 190 ar531x_partitions[5].offset=mymtd->size-mymtd->erasesize; 191 ar531x_partitions[4].offset=mymtd->size-(mymtd->erasesize*2); 190 192 break; 191 193 }
Note: See TracChangeset
for help on using the changeset viewer.
