Changeset 8d80c5d in freewrt for target/linux
- Timestamp:
- Jul 25, 2006, 8:09:21 AM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- e3ccdaa
- Parents:
- a803edd
- File:
-
- 1 edited
-
target/linux/brcm-2.4/patches/001-bcm47xx.patch (modified) (69 diffs)
Legend:
- Unmodified
- Added
- Removed
-
target/linux/brcm-2.4/patches/001-bcm47xx.patch
ra803edd r8d80c5d 1 diff -Nur linux-2.4.32/arch/mips/Makefile linux-2.4.32-freewrt/arch/mips/Makefile2 --- linux-2.4.32/arch/mips/Makefile Wed Jan 19 15:09:26 20053 +++ linux-2.4.32-freewrt/arch/mips/Makefile Sun Jul 23 22:47:41 20064 @@ -715,6 +715,19 @@5 endif6 7 #8 +# Broadcom BCM947XX variants9 +#10 +ifdef CONFIG_BCM947XX11 +LIBS += arch/mips/bcm947xx/generic/brcm.o arch/mips/bcm947xx/bcm947xx.o12 +SUBDIRS += arch/mips/bcm947xx/generic arch/mips/bcm947xx13 +LOADADDR := 0x8000100014 +15 +zImage: vmlinux16 + $(MAKE) -C arch/$(ARCH)/bcm947xx/compressed17 +export LOADADDR18 +endif19 +20 +#21 # Choosing incompatible machines durings configuration will result in22 # error messages during linking. Select a default linkscript if23 # none has been choosen above.24 @@ -767,6 +780,7 @@25 $(MAKE) -C arch/$(ARCH)/tools clean26 $(MAKE) -C arch/mips/baget clean27 $(MAKE) -C arch/mips/lasat clean28 + $(MAKE) -C arch/mips/bcm947xx/compressed clean29 30 archmrproper:31 @$(MAKEBOOT) mrproper32 diff -Nur linux-2.4.32/arch/mips/bcm947xx/Makefile linux-2.4.32-freewrt/arch/mips/bcm947xx/Makefile33 --- linux-2.4.32/arch/mips/bcm947xx/Makefile Thu Jan 1 01:00:00 197034 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/Makefile Sun Jul 23 23:08:09 200635 @@ -0,0 +1,15 @@36 +#37 +# Makefile for the BCM947xx specific kernel interface routines38 +# under Linux.39 +#40 +41 +EXTRA_CFLAGS+=-I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER42 +43 +O_TARGET := bcm947xx.o44 +45 +export-objs := export.o46 +obj-y := prom.o setup.o time.o sbmips.o gpio.o47 +obj-y += nvram.o nvram_linux.o export.o48 +obj-$(CONFIG_PCI) += sbpci.o pcibios.o49 +50 +include $(TOPDIR)/Rules.make51 1 diff -Nur linux-2.4.32/arch/mips/bcm947xx/compressed/Makefile linux-2.4.32-freewrt/arch/mips/bcm947xx/compressed/Makefile 52 --- linux-2.4.32/arch/mips/bcm947xx/compressed/Makefile Thu Jan 1 01:00:00 197053 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/compressed/Makefile Sun Jul 23 22:47:41 20062 --- linux-2.4.32/arch/mips/bcm947xx/compressed/Makefile 1970-01-01 01:00:00.000000000 +0100 3 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/compressed/Makefile 2006-07-25 09:53:19.000000000 +0200 54 4 @@ -0,0 +1,33 @@ 55 5 +# … … 87 37 + rm -f vmlinuz piggy 88 38 diff -Nur linux-2.4.32/arch/mips/bcm947xx/export.c linux-2.4.32-freewrt/arch/mips/bcm947xx/export.c 89 --- linux-2.4.32/arch/mips/bcm947xx/export.c Thu Jan 1 01:00:00 197090 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/export.c Mon Jul 24 01:27:08 200691 @@ -0,0 +1, 56@@39 --- linux-2.4.32/arch/mips/bcm947xx/export.c 1970-01-01 01:00:00.000000000 +0100 40 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/export.c 2006-07-25 09:54:55.000000000 +0200 41 @@ -0,0 +1,7 @@ 92 42 +#include <linux/module.h> 93 43 + … … 97 47 + 98 48 +_export(bcm947xx_sbh) 99 +100 +_export(sb_attach)101 +_export(sb_kattach)102 +_export(sb_boardtype)103 +_export(sb_boardvendor)104 +_export(sb_bus)105 +_export(sb_chip)106 +_export(sb_chiprev)107 +_export(sb_chipcrev)108 +_export(sb_chippkg)109 +_export(sb_core_disable)110 +_export(sb_core_reset)111 +_export(sb_core_tofixup)112 +_export(sb_coreflags)113 +_export(sb_coreflagshi)114 +_export(sb_coreidx)115 +_export(sb_corerev)116 +_export(sb_coreunit)117 +_export(sb_detach)118 +_export(sb_gpiosetcore)119 +_export(sb_gpiocontrol)120 +_export(sb_gpioin)121 +_export(sb_gpioout)122 +_export(sb_gpioouten)123 +_export(sb_iscoreup)124 +_export(sb_pci_setup)125 +_export(sb_pcirev)126 +_export(sb_pcmcia_init)127 +_export(sb_pcmciarev)128 +_export(sb_register_intr_callback)129 +_export(sb_setcore)130 +_export(sb_osh)131 +132 +_export(getvar)133 +_export(getintvar)134 +_export(bcm_strtoul)135 +_export(bcm_ctype)136 +_export(bcm_toupper)137 +_export(bcm_ether_ntoa)138 +139 +_export(nvram_get)140 +_export(nvram_getall)141 +_export(nvram_set)142 +_export(nvram_unset)143 +_export(nvram_commit)144 +145 +_export(srom_read)146 +_export(srom_write)147 +148 diff -Nur linux-2.4.32/arch/mips/bcm947xx/generic/Makefile linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/Makefile149 --- linux-2.4.32/arch/mips/bcm947xx/generic/Makefile Thu Jan 1 01:00:00 1970150 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/Makefile Sun Jul 23 22:47:41 2006151 @@ -0,0 +1,15 @@152 +#153 +# Makefile for the BCM947xx specific kernel interface routines154 +# under Linux.155 +#156 +157 +.S.s:158 + $(CPP) $(AFLAGS) $< -o $*.s159 +.S.o:160 + $(CC) $(AFLAGS) -c $< -o $*.o161 +162 +O_TARGET := brcm.o163 +164 +obj-y := int-handler.o irq.o165 +166 +include $(TOPDIR)/Rules.make167 49 diff -Nur linux-2.4.32/arch/mips/bcm947xx/generic/int-handler.S linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/int-handler.S 168 --- linux-2.4.32/arch/mips/bcm947xx/generic/int-handler.S Thu Jan 1 01:00:00 1970169 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/int-handler.S Sun Jul 23 22:47:41 200650 --- linux-2.4.32/arch/mips/bcm947xx/generic/int-handler.S 1970-01-01 01:00:00.000000000 +0100 51 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/int-handler.S 2006-07-25 09:53:19.000000000 +0200 170 52 @@ -0,0 +1,51 @@ 171 53 +/* … … 221 103 + END(brcmIRQ) 222 104 diff -Nur linux-2.4.32/arch/mips/bcm947xx/generic/irq.c linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/irq.c 223 --- linux-2.4.32/arch/mips/bcm947xx/generic/irq.c Thu Jan 1 01:00:00 1970224 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/irq.c Sun Jul 23 22:47:41 2006105 --- linux-2.4.32/arch/mips/bcm947xx/generic/irq.c 1970-01-01 01:00:00.000000000 +0100 106 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/irq.c 2006-07-25 09:53:19.000000000 +0200 225 107 @@ -0,0 +1,130 @@ 226 108 +/* … … 354 236 +#endif 355 237 +} 238 diff -Nur linux-2.4.32/arch/mips/bcm947xx/generic/Makefile linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/Makefile 239 --- linux-2.4.32/arch/mips/bcm947xx/generic/Makefile 1970-01-01 01:00:00.000000000 +0100 240 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/generic/Makefile 2006-07-25 09:53:19.000000000 +0200 241 @@ -0,0 +1,15 @@ 242 +# 243 +# Makefile for the BCM947xx specific kernel interface routines 244 +# under Linux. 245 +# 246 + 247 +.S.s: 248 + $(CPP) $(AFLAGS) $< -o $*.s 249 +.S.o: 250 + $(CC) $(AFLAGS) -c $< -o $*.o 251 + 252 +O_TARGET := brcm.o 253 + 254 +obj-y := int-handler.o irq.o 255 + 256 +include $(TOPDIR)/Rules.make 356 257 diff -Nur linux-2.4.32/arch/mips/bcm947xx/gpio.c linux-2.4.32-freewrt/arch/mips/bcm947xx/gpio.c 357 --- linux-2.4.32/arch/mips/bcm947xx/gpio.c Thu Jan 1 01:00:00 1970358 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/gpio.c Sun Jul 23 22:47:41 2006258 --- linux-2.4.32/arch/mips/bcm947xx/gpio.c 1970-01-01 01:00:00.000000000 +0100 259 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/gpio.c 2006-07-25 09:53:19.000000000 +0200 359 260 @@ -0,0 +1,158 @@ 360 261 +/* … … 517 418 +module_exit(gpio_exit); 518 419 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/bcmdevs.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmdevs.h 519 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmdevs.h Thu Jan 1 01:00:00 1970520 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmdevs.h Sun Jul 23 22:47:41 2006420 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmdevs.h 1970-01-01 01:00:00.000000000 +0100 421 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmdevs.h 2006-07-25 09:53:19.000000000 +0200 521 422 @@ -0,0 +1,369 @@ 522 423 +/* … … 890 791 +#endif /* _BCMDEVS_H */ 891 792 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/bcmendian.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmendian.h 892 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmendian.h Thu Jan 1 01:00:00 1970893 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmendian.h Sun Jul 23 22:47:41 2006793 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmendian.h 1970-01-01 01:00:00.000000000 +0100 794 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmendian.h 2006-07-25 09:53:19.000000000 +0200 894 795 @@ -0,0 +1,168 @@ 895 796 +/* … … 1062 963 +#endif /* _BCMENDIAN_H_ */ 1063 964 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/bcmnvram.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmnvram.h 1064 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmnvram.h Thu Jan 1 01:00:00 19701065 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmnvram.h Sun Jul 23 22:47:41 2006965 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmnvram.h 1970-01-01 01:00:00.000000000 +0100 966 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmnvram.h 2006-07-25 09:53:19.000000000 +0200 1066 967 @@ -0,0 +1,132 @@ 1067 968 +/* … … 1198 1099 +#endif /* _bcmnvram_h_ */ 1199 1100 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/bcmsrom.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmsrom.h 1200 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmsrom.h Thu Jan 1 01:00:00 19701201 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmsrom.h Sun Jul 23 22:47:41 20061101 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmsrom.h 1970-01-01 01:00:00.000000000 +0100 1102 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmsrom.h 2006-07-25 09:53:19.000000000 +0200 1202 1103 @@ -0,0 +1,22 @@ 1203 1104 +/* … … 1224 1125 +#endif /* _bcmsrom_h_ */ 1225 1126 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/bcmutils.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmutils.h 1226 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmutils.h Thu Jan 1 01:00:00 19701227 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmutils.h Sun Jul 23 22:47:41 20061127 --- linux-2.4.32/arch/mips/bcm947xx/include/bcmutils.h 1970-01-01 01:00:00.000000000 +0100 1128 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/bcmutils.h 2006-07-25 09:53:19.000000000 +0200 1228 1129 @@ -0,0 +1,239 @@ 1229 1130 +/* … … 1467 1368 +#endif /* _bcmutils_h_ */ 1468 1369 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/hnddma.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/hnddma.h 1469 --- linux-2.4.32/arch/mips/bcm947xx/include/hnddma.h Thu Jan 1 01:00:00 19701470 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/hnddma.h Sun Jul 23 22:47:41 20061370 --- linux-2.4.32/arch/mips/bcm947xx/include/hnddma.h 1970-01-01 01:00:00.000000000 +0100 1371 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/hnddma.h 2006-07-25 09:53:19.000000000 +0200 1471 1372 @@ -0,0 +1,184 @@ 1472 1373 +/* … … 1655 1556 +#endif /* _hnddma_h_ */ 1656 1557 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/hndmips.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/hndmips.h 1657 --- linux-2.4.32/arch/mips/bcm947xx/include/hndmips.h Thu Jan 1 01:00:00 19701658 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/hndmips.h Sun Jul 23 22:47:41 20061558 --- linux-2.4.32/arch/mips/bcm947xx/include/hndmips.h 1970-01-01 01:00:00.000000000 +0100 1559 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/hndmips.h 2006-07-25 09:53:19.000000000 +0200 1659 1560 @@ -0,0 +1,16 @@ 1660 1561 +/* … … 1675 1576 +#include "sbmips.h" 1676 1577 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/linux_osl.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/linux_osl.h 1677 --- linux-2.4.32/arch/mips/bcm947xx/include/linux_osl.h Thu Jan 1 01:00:00 19701678 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/linux_osl.h Sun Jul 23 22:47:41 20061578 --- linux-2.4.32/arch/mips/bcm947xx/include/linux_osl.h 1970-01-01 01:00:00.000000000 +0100 1579 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/linux_osl.h 2006-07-25 09:53:19.000000000 +0200 1679 1580 @@ -0,0 +1,341 @@ 1680 1581 +/* … … 2020 1921 +#endif /* _linux_osl_h_ */ 2021 1922 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/linuxver.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/linuxver.h 2022 --- linux-2.4.32/arch/mips/bcm947xx/include/linuxver.h Thu Jan 1 01:00:00 19702023 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/linuxver.h Sun Jul 23 22:47:41 20061923 --- linux-2.4.32/arch/mips/bcm947xx/include/linuxver.h 1970-01-01 01:00:00.000000000 +0100 1924 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/linuxver.h 2006-07-25 09:53:19.000000000 +0200 2024 1925 @@ -0,0 +1,399 @@ 2025 1926 +/* … … 2423 2324 +#endif /* _linuxver_h_ */ 2424 2325 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/mipsinc.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/mipsinc.h 2425 --- linux-2.4.32/arch/mips/bcm947xx/include/mipsinc.h Thu Jan 1 01:00:00 19702426 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/mipsinc.h Sun Jul 23 22:47:41 20062326 --- linux-2.4.32/arch/mips/bcm947xx/include/mipsinc.h 1970-01-01 01:00:00.000000000 +0100 2327 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/mipsinc.h 2006-07-25 09:53:19.000000000 +0200 2427 2328 @@ -0,0 +1,524 @@ 2428 2329 +/* … … 2951 2852 +#endif /* _MISPINC_H */ 2952 2853 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/osl.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/osl.h 2953 --- linux-2.4.32/arch/mips/bcm947xx/include/osl.h Thu Jan 1 01:00:00 19702954 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/osl.h Sun Jul 23 22:47:41 20062854 --- linux-2.4.32/arch/mips/bcm947xx/include/osl.h 1970-01-01 01:00:00.000000000 +0100 2855 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/osl.h 2006-07-25 09:53:19.000000000 +0200 2955 2856 @@ -0,0 +1,39 @@ 2956 2857 +/* … … 2994 2895 +#endif /* _osl_h_ */ 2995 2896 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/pcicfg.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/pcicfg.h 2996 --- linux-2.4.32/arch/mips/bcm947xx/include/pcicfg.h Thu Jan 1 01:00:00 19702997 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/pcicfg.h Sun Jul 23 22:47:41 20062897 --- linux-2.4.32/arch/mips/bcm947xx/include/pcicfg.h 1970-01-01 01:00:00.000000000 +0100 2898 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/pcicfg.h 2006-07-25 09:53:19.000000000 +0200 2998 2899 @@ -0,0 +1,369 @@ 2999 2900 +/* … … 3367 3268 +#endif 3368 3269 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbchipc.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbchipc.h 3369 --- linux-2.4.32/arch/mips/bcm947xx/include/sbchipc.h Thu Jan 1 01:00:00 19703370 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbchipc.h Sun Jul 23 22:47:41 20063270 --- linux-2.4.32/arch/mips/bcm947xx/include/sbchipc.h 1970-01-01 01:00:00.000000000 +0100 3271 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbchipc.h 2006-07-25 09:53:19.000000000 +0200 3371 3272 @@ -0,0 +1,394 @@ 3372 3273 +/* … … 3765 3666 +#endif /* _SBCHIPC_H */ 3766 3667 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbconfig.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbconfig.h 3767 --- linux-2.4.32/arch/mips/bcm947xx/include/sbconfig.h Thu Jan 1 01:00:00 19703768 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbconfig.h Sun Jul 23 22:47:41 20063668 --- linux-2.4.32/arch/mips/bcm947xx/include/sbconfig.h 1970-01-01 01:00:00.000000000 +0100 3669 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbconfig.h 2006-07-25 09:53:19.000000000 +0200 3769 3670 @@ -0,0 +1,324 @@ 3770 3671 +/* … … 4093 3994 +#endif /* _SBCONFIG_H */ 4094 3995 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbextif.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbextif.h 4095 --- linux-2.4.32/arch/mips/bcm947xx/include/sbextif.h Thu Jan 1 01:00:00 19704096 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbextif.h Sun Jul 23 22:47:41 20063996 --- linux-2.4.32/arch/mips/bcm947xx/include/sbextif.h 1970-01-01 01:00:00.000000000 +0100 3997 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbextif.h 2006-07-25 09:53:19.000000000 +0200 4097 3998 @@ -0,0 +1,242 @@ 4098 3999 +/* … … 4339 4240 +#endif /* _SBEXTIF_H */ 4340 4241 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbmemc.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbmemc.h 4341 --- linux-2.4.32/arch/mips/bcm947xx/include/sbmemc.h Thu Jan 1 01:00:00 19704342 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbmemc.h Sun Jul 23 22:47:41 20064242 --- linux-2.4.32/arch/mips/bcm947xx/include/sbmemc.h 1970-01-01 01:00:00.000000000 +0100 4243 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbmemc.h 2006-07-25 09:53:19.000000000 +0200 4343 4244 @@ -0,0 +1,147 @@ 4344 4245 +/* … … 4490 4391 +#endif /* _SBMEMC_H */ 4491 4392 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbmips.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbmips.h 4492 --- linux-2.4.32/arch/mips/bcm947xx/include/sbmips.h Thu Jan 1 01:00:00 19704493 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbmips.h Sun Jul 23 22:47:41 20064393 --- linux-2.4.32/arch/mips/bcm947xx/include/sbmips.h 1970-01-01 01:00:00.000000000 +0100 4394 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbmips.h 2006-07-25 09:53:19.000000000 +0200 4494 4395 @@ -0,0 +1,60 @@ 4495 4396 +/* … … 4554 4455 +#endif /* _SBMIPS_H */ 4555 4456 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbpci.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbpci.h 4556 --- linux-2.4.32/arch/mips/bcm947xx/include/sbpci.h Thu Jan 1 01:00:00 19704557 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbpci.h Sun Jul 23 22:47:41 20064457 --- linux-2.4.32/arch/mips/bcm947xx/include/sbpci.h 1970-01-01 01:00:00.000000000 +0100 4458 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbpci.h 2006-07-25 09:53:19.000000000 +0200 4558 4459 @@ -0,0 +1,117 @@ 4559 4460 +/* … … 4675 4576 +#endif /* _SBPCI_H */ 4676 4577 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbpcmcia.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbpcmcia.h 4677 --- linux-2.4.32/arch/mips/bcm947xx/include/sbpcmcia.h Thu Jan 1 01:00:00 19704678 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbpcmcia.h Sun Jul 23 22:47:41 20064578 --- linux-2.4.32/arch/mips/bcm947xx/include/sbpcmcia.h 1970-01-01 01:00:00.000000000 +0100 4579 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbpcmcia.h 2006-07-25 09:53:19.000000000 +0200 4679 4580 @@ -0,0 +1,139 @@ 4680 4581 +/* … … 4818 4719 +#endif /* _SBPCMCIA_H */ 4819 4720 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbsdram.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbsdram.h 4820 --- linux-2.4.32/arch/mips/bcm947xx/include/sbsdram.h Thu Jan 1 01:00:00 19704821 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbsdram.h Sun Jul 23 22:47:41 20064721 --- linux-2.4.32/arch/mips/bcm947xx/include/sbsdram.h 1970-01-01 01:00:00.000000000 +0100 4722 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbsdram.h 2006-07-25 09:53:19.000000000 +0200 4822 4723 @@ -0,0 +1,75 @@ 4823 4724 +/* … … 4897 4798 +#endif /* _SBSDRAM_H */ 4898 4799 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbsocram.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbsocram.h 4899 --- linux-2.4.32/arch/mips/bcm947xx/include/sbsocram.h Thu Jan 1 01:00:00 19704900 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbsocram.h Sun Jul 23 22:47:41 20064800 --- linux-2.4.32/arch/mips/bcm947xx/include/sbsocram.h 1970-01-01 01:00:00.000000000 +0100 4801 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbsocram.h 2006-07-25 09:53:19.000000000 +0200 4901 4802 @@ -0,0 +1,37 @@ 4902 4803 +/* … … 4938 4839 +#endif /* _SBSOCRAM_H */ 4939 4840 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sbutils.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbutils.h 4940 --- linux-2.4.32/arch/mips/bcm947xx/include/sbutils.h Thu Jan 1 01:00:00 19704941 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbutils.h Sun Jul 23 22:47:41 20064841 --- linux-2.4.32/arch/mips/bcm947xx/include/sbutils.h 1970-01-01 01:00:00.000000000 +0100 4842 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sbutils.h 2006-07-25 09:53:19.000000000 +0200 4942 4843 @@ -0,0 +1,91 @@ 4943 4844 +/* … … 5033 4934 +#endif /* _sbutils_h_ */ 5034 4935 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/sflash.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sflash.h 5035 --- linux-2.4.32/arch/mips/bcm947xx/include/sflash.h Thu Jan 1 01:00:00 19705036 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sflash.h Sun Jul 23 22:47:41 20064936 --- linux-2.4.32/arch/mips/bcm947xx/include/sflash.h 1970-01-01 01:00:00.000000000 +0100 4937 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/sflash.h 2006-07-25 09:53:19.000000000 +0200 5037 4938 @@ -0,0 +1,36 @@ 5038 4939 +/* … … 5073 4974 +#endif /* _sflash_h_ */ 5074 4975 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/trxhdr.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/trxhdr.h 5075 --- linux-2.4.32/arch/mips/bcm947xx/include/trxhdr.h Thu Jan 1 01:00:00 19705076 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/trxhdr.h Sun Jul 23 22:47:41 20064976 --- linux-2.4.32/arch/mips/bcm947xx/include/trxhdr.h 1970-01-01 01:00:00.000000000 +0100 4977 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/trxhdr.h 2006-07-25 09:53:19.000000000 +0200 5077 4978 @@ -0,0 +1,33 @@ 5078 4979 +/* … … 5110 5011 +typedef struct trx_header TRXHDR, *PTRXHDR; 5111 5012 diff -Nur linux-2.4.32/arch/mips/bcm947xx/include/typedefs.h linux-2.4.32-freewrt/arch/mips/bcm947xx/include/typedefs.h 5112 --- linux-2.4.32/arch/mips/bcm947xx/include/typedefs.h Thu Jan 1 01:00:00 19705113 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/typedefs.h Sun Jul 23 22:47:41 20065013 --- linux-2.4.32/arch/mips/bcm947xx/include/typedefs.h 1970-01-01 01:00:00.000000000 +0100 5014 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/include/typedefs.h 2006-07-25 09:53:19.000000000 +0200 5114 5015 @@ -0,0 +1,322 @@ 5115 5016 +/* … … 5435 5336 + 5436 5337 +#endif /* _TYPEDEFS_H_ */ 5338 diff -Nur linux-2.4.32/arch/mips/bcm947xx/Makefile linux-2.4.32-freewrt/arch/mips/bcm947xx/Makefile 5339 --- linux-2.4.32/arch/mips/bcm947xx/Makefile 1970-01-01 01:00:00.000000000 +0100 5340 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/Makefile 2006-07-25 09:55:22.000000000 +0200 5341 @@ -0,0 +1,15 @@ 5342 +# 5343 +# Makefile for the BCM947xx specific kernel interface routines 5344 +# under Linux. 5345 +# 5346 + 5347 +EXTRA_CFLAGS+=-I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER 5348 + 5349 +O_TARGET := bcm947xx.o 5350 + 5351 +export-objs := nvram_linux.o setup.o export.o 5352 +obj-y := prom.o setup.o time.o sbmips.o gpio.o 5353 +obj-y += nvram.o nvram_linux.o export.o 5354 +obj-$(CONFIG_PCI) += sbpci.o pcibios.o 5355 + 5356 +include $(TOPDIR)/Rules.make 5437 5357 diff -Nur linux-2.4.32/arch/mips/bcm947xx/nvram.c linux-2.4.32-freewrt/arch/mips/bcm947xx/nvram.c 5438 --- linux-2.4.32/arch/mips/bcm947xx/nvram.c Thu Jan 1 01:00:00 19705439 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/nvram.c Sun Jul 23 22:47:41 20065358 --- linux-2.4.32/arch/mips/bcm947xx/nvram.c 1970-01-01 01:00:00.000000000 +0100 5359 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/nvram.c 2006-07-25 09:53:19.000000000 +0200 5440 5360 @@ -0,0 +1,321 @@ 5441 5361 +/* … … 5761 5681 +} 5762 5682 diff -Nur linux-2.4.32/arch/mips/bcm947xx/nvram_linux.c linux-2.4.32-freewrt/arch/mips/bcm947xx/nvram_linux.c 5763 --- linux-2.4.32/arch/mips/bcm947xx/nvram_linux.c Thu Jan 1 01:00:00 19705764 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/nvram_linux.c Mon Jul 24 01:09:50 20065765 @@ -0,0 +1,61 1@@5683 --- linux-2.4.32/arch/mips/bcm947xx/nvram_linux.c 1970-01-01 01:00:00.000000000 +0100 5684 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/nvram_linux.c 2006-07-25 09:53:19.000000000 +0200 5685 @@ -0,0 +1,617 @@ 5766 5686 +/* 5767 5687 + * NVRAM variable manipulation (Linux kernel half) … … 6153 6073 +} 6154 6074 + 6075 +EXPORT_SYMBOL(nvram_get); 6076 +EXPORT_SYMBOL(nvram_getall); 6077 +EXPORT_SYMBOL(nvram_set); 6078 +EXPORT_SYMBOL(nvram_unset); 6079 +EXPORT_SYMBOL(nvram_commit); 6080 + 6155 6081 +/* User mode interface below */ 6156 6082 + … … 6376 6302 +module_exit(dev_nvram_exit); 6377 6303 diff -Nur linux-2.4.32/arch/mips/bcm947xx/pcibios.c linux-2.4.32-freewrt/arch/mips/bcm947xx/pcibios.c 6378 --- linux-2.4.32/arch/mips/bcm947xx/pcibios.c Thu Jan 1 01:00:00 19706379 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/pcibios.c Sun Jul 23 22:47:41 20066304 --- linux-2.4.32/arch/mips/bcm947xx/pcibios.c 1970-01-01 01:00:00.000000000 +0100 6305 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/pcibios.c 2006-07-25 09:53:19.000000000 +0200 6380 6306 @@ -0,0 +1,355 @@ 6381 6307 +/* … … 6735 6661 + 6736 6662 diff -Nur linux-2.4.32/arch/mips/bcm947xx/prom.c linux-2.4.32-freewrt/arch/mips/bcm947xx/prom.c 6737 --- linux-2.4.32/arch/mips/bcm947xx/prom.c Thu Jan 1 01:00:00 19706738 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/prom.c Sun Jul 23 22:47:41 20066663 --- linux-2.4.32/arch/mips/bcm947xx/prom.c 1970-01-01 01:00:00.000000000 +0100 6664 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/prom.c 2006-07-25 09:53:19.000000000 +0200 6739 6665 @@ -0,0 +1,41 @@ 6740 6666 +/* … … 6780 6706 +} 6781 6707 diff -Nur linux-2.4.32/arch/mips/bcm947xx/sbmips.c linux-2.4.32-freewrt/arch/mips/bcm947xx/sbmips.c 6782 --- linux-2.4.32/arch/mips/bcm947xx/sbmips.c Thu Jan 1 01:00:00 19706783 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/sbmips.c Sun Jul 23 22:47:41 20066708 --- linux-2.4.32/arch/mips/bcm947xx/sbmips.c 1970-01-01 01:00:00.000000000 +0100 6709 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/sbmips.c 2006-07-25 09:53:19.000000000 +0200 6784 6710 @@ -0,0 +1,1033 @@ 6785 6711 +/* … … 7817 7743 +} 7818 7744 diff -Nur linux-2.4.32/arch/mips/bcm947xx/sbpci.c linux-2.4.32-freewrt/arch/mips/bcm947xx/sbpci.c 7819 --- linux-2.4.32/arch/mips/bcm947xx/sbpci.c Thu Jan 1 01:00:00 19707820 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/sbpci.c Sun Jul 23 22:47:41 20067745 --- linux-2.4.32/arch/mips/bcm947xx/sbpci.c 1970-01-01 01:00:00.000000000 +0100 7746 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/sbpci.c 2006-07-25 09:53:19.000000000 +0200 7821 7747 @@ -0,0 +1,588 @@ 7822 7748 +/* … … 8409 8335 +} 8410 8336 diff -Nur linux-2.4.32/arch/mips/bcm947xx/setup.c linux-2.4.32-freewrt/arch/mips/bcm947xx/setup.c 8411 --- linux-2.4.32/arch/mips/bcm947xx/setup.c Thu Jan 1 01:00:00 19708412 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/setup.c Mon Jul 24 01:10:12 20068337 --- linux-2.4.32/arch/mips/bcm947xx/setup.c 1970-01-01 01:00:00.000000000 +0100 8338 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/setup.c 2006-07-25 09:55:36.000000000 +0200 8413 8339 @@ -0,0 +1,197 @@ 8414 8340 +/* … … 8610 8536 + 8611 8537 diff -Nur linux-2.4.32/arch/mips/bcm947xx/time.c linux-2.4.32-freewrt/arch/mips/bcm947xx/time.c 8612 --- linux-2.4.32/arch/mips/bcm947xx/time.c Thu Jan 1 01:00:00 19708613 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/time.c Sun Jul 23 22:47:41 20068538 --- linux-2.4.32/arch/mips/bcm947xx/time.c 1970-01-01 01:00:00.000000000 +0100 8539 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/time.c 2006-07-25 09:53:19.000000000 +0200 8614 8540 @@ -0,0 +1,102 @@ 8615 8541 +/* … … 8716 8642 +} 8717 8643 diff -Nur linux-2.4.32/arch/mips/config-shared.in linux-2.4.32-freewrt/arch/mips/config-shared.in 8718 --- linux-2.4.32/arch/mips/config-shared.in Wed Jan 19 15:09:27 20058719 +++ linux-2.4.32-freewrt/arch/mips/config-shared.in Sun Jul 23 22:47:41 20068644 --- linux-2.4.32/arch/mips/config-shared.in 2005-01-19 15:09:27.000000000 +0100 8645 +++ linux-2.4.32-freewrt/arch/mips/config-shared.in 2006-07-25 09:53:19.000000000 +0200 8720 8646 @@ -205,6 +205,14 @@ 8721 8647 fi … … 8773 8699 define_bool CONFIG_DEBUG_INFO y 8774 8700 diff -Nur linux-2.4.32/arch/mips/kernel/cpu-probe.c linux-2.4.32-freewrt/arch/mips/kernel/cpu-probe.c 8775 --- linux-2.4.32/arch/mips/kernel/cpu-probe.c Wed Jan 19 15:09:29 20058776 +++ linux-2.4.32-freewrt/arch/mips/kernel/cpu-probe.c Sun Jul 23 22:47:41 20068701 --- linux-2.4.32/arch/mips/kernel/cpu-probe.c 2005-01-19 15:09:29.000000000 +0100 8702 +++ linux-2.4.32-freewrt/arch/mips/kernel/cpu-probe.c 2006-07-25 09:53:19.000000000 +0200 8777 8703 @@ -174,7 +174,7 @@ 8778 8704 … … 8884 8810 case PRID_COMP_LEGACY: 8885 8811 cpu_probe_legacy(c); 8886 @@ -582,6 +606,9 @@ 8887 break; 8812 @@ -583,6 +607,9 @@ 8888 8813 case PRID_COMP_ALCHEMY: 8889 8814 cpu_probe_alchemy(c); 8890 +break;8815 break; 8891 8816 + case PRID_COMP_BROADCOM: 8892 8817 + cpu_probe_broadcom(c); 8893 break;8818 + break; 8894 8819 case PRID_COMP_SIBYTE: 8895 8820 cpu_probe_sibyte(c); 8821 break; 8896 8822 diff -Nur linux-2.4.32/arch/mips/kernel/head.S linux-2.4.32-freewrt/arch/mips/kernel/head.S 8897 --- linux-2.4.32/arch/mips/kernel/head.S Wed Jan 19 15:09:29 20058898 +++ linux-2.4.32-freewrt/arch/mips/kernel/head.S Sun Jul 23 22:47:41 20068823 --- linux-2.4.32/arch/mips/kernel/head.S 2005-01-19 15:09:29.000000000 +0100 8824 +++ linux-2.4.32-freewrt/arch/mips/kernel/head.S 2006-07-25 09:53:19.000000000 +0200 8899 8825 @@ -28,12 +28,20 @@ 8900 8826 #include <asm/mipsregs.h> … … 8920 8846 EXPORT(stext) 8921 8847 diff -Nur linux-2.4.32/arch/mips/kernel/proc.c linux-2.4.32-freewrt/arch/mips/kernel/proc.c 8922 --- linux-2.4.32/arch/mips/kernel/proc.c Wed Jan 19 15:09:29 20058923 +++ linux-2.4.32-freewrt/arch/mips/kernel/proc.c Sun Jul 23 22:47:41 20068924 @@ -78, 8 +78,9@@8848 --- linux-2.4.32/arch/mips/kernel/proc.c 2005-01-19 15:09:29.000000000 +0100 8849 +++ linux-2.4.32-freewrt/arch/mips/kernel/proc.c 2006-07-25 09:53:19.000000000 +0200 8850 @@ -78,9 +78,10 @@ 8925 8851 [CPU_AU1550] "Au1550", 8926 8852 [CPU_24K] "MIPS 24K", … … 8929 8855 + [CPU_BCM3302] "BCM3302", 8930 8856 }; 8857 8931 8858 - 8932 8933 8859 static int show_cpuinfo(struct seq_file *m, void *v) 8934 8860 { 8861 unsigned int version = current_cpu_data.processor_id; 8935 8862 diff -Nur linux-2.4.32/arch/mips/kernel/setup.c linux-2.4.32-freewrt/arch/mips/kernel/setup.c 8936 --- linux-2.4.32/arch/mips/kernel/setup.c Wed Jan 19 15:09:29 20058937 +++ linux-2.4.32-freewrt/arch/mips/kernel/setup.c Sun Jul 23 22:47:41 20068863 --- linux-2.4.32/arch/mips/kernel/setup.c 2005-01-19 15:09:29.000000000 +0100 8864 +++ linux-2.4.32-freewrt/arch/mips/kernel/setup.c 2006-07-25 09:53:19.000000000 +0200 8938 8865 @@ -495,6 +495,7 @@ 8939 8866 void swarm_setup(void); … … 8957 8884 } 8958 8885 diff -Nur linux-2.4.32/arch/mips/kernel/traps.c linux-2.4.32-freewrt/arch/mips/kernel/traps.c 8959 --- linux-2.4.32/arch/mips/kernel/traps.c Wed Jan 19 15:09:29 20058960 +++ linux-2.4.32-freewrt/arch/mips/kernel/traps.c Sun Jul 23 22:47:41 20068886 --- linux-2.4.32/arch/mips/kernel/traps.c 2005-01-19 15:09:29.000000000 +0100 8887 +++ linux-2.4.32-freewrt/arch/mips/kernel/traps.c 2006-07-25 09:53:19.000000000 +0200 8961 8888 @@ -913,6 +913,7 @@ 8962 8889 void __init trap_init(void) … … 8975 8902 /* 8976 8903 * Setup default vectors 8977 @@ -979,6 +981,12 @@ 8978 set_except_vector(12, handle_ov); 8904 @@ -980,6 +982,12 @@ 8979 8905 set_except_vector(13, handle_tr); 8980 8906 set_except_vector(22, handle_mdmx); 8981 + 8907 8982 8908 + if (current_cpu_data.cputype == CPU_SB1) { 8983 8909 + /* Enable timer interrupt and scd mapped interrupt */ … … 8985 8911 + set_c0_status(0xc00); 8986 8912 + } 8987 8913 + 8988 8914 if (cpu_has_fpu && !cpu_has_nofpuex) 8989 8915 set_except_vector(15, handle_fpe); 8916 8917 diff -Nur linux-2.4.32/arch/mips/Makefile linux-2.4.32-freewrt/arch/mips/Makefile 8918 --- linux-2.4.32/arch/mips/Makefile 2005-01-19 15:09:26.000000000 +0100 8919 +++ linux-2.4.32-freewrt/arch/mips/Makefile 2006-07-25 09:53:19.000000000 +0200 8920 @@ -715,6 +715,19 @@ 8921 endif 8922 8923 # 8924 +# Broadcom BCM947XX variants 8925 +# 8926 +ifdef CONFIG_BCM947XX 8927 +LIBS += arch/mips/bcm947xx/generic/brcm.o arch/mips/bcm947xx/bcm947xx.o 8928 +SUBDIRS += arch/mips/bcm947xx/generic arch/mips/bcm947xx 8929 +LOADADDR := 0x80001000 8930 + 8931 +zImage: vmlinux 8932 + $(MAKE) -C arch/$(ARCH)/bcm947xx/compressed 8933 +export LOADADDR 8934 +endif 8935 + 8936 +# 8937 # Choosing incompatible machines durings configuration will result in 8938 # error messages during linking. Select a default linkscript if 8939 # none has been choosen above. 8940 @@ -767,6 +780,7 @@ 8941 $(MAKE) -C arch/$(ARCH)/tools clean 8942 $(MAKE) -C arch/mips/baget clean 8943 $(MAKE) -C arch/mips/lasat clean 8944 + $(MAKE) -C arch/mips/bcm947xx/compressed clean 8945 8946 archmrproper: 8947 @$(MAKEBOOT) mrproper 8990 8948 diff -Nur linux-2.4.32/arch/mips/mm/c-r4k.c linux-2.4.32-freewrt/arch/mips/mm/c-r4k.c 8991 --- linux-2.4.32/arch/mips/mm/c-r4k.c Wed Jan 19 15:09:29 20058992 +++ linux-2.4.32-freewrt/arch/mips/mm/c-r4k.c Sun Jul 23 22:47:41 20068949 --- linux-2.4.32/arch/mips/mm/c-r4k.c 2005-01-19 15:09:29.000000000 +0100 8950 +++ linux-2.4.32-freewrt/arch/mips/mm/c-r4k.c 2006-07-25 09:53:19.000000000 +0200 8993 8951 @@ -1114,3 +1114,47 @@ 8994 8952 build_clear_page(); … … 9040 8998 + 9041 8999 diff -Nur linux-2.4.32/arch/mips/pci/Makefile linux-2.4.32-freewrt/arch/mips/pci/Makefile 9042 --- linux-2.4.32/arch/mips/pci/Makefile Wed Jan 19 15:09:29 20059043 +++ linux-2.4.32-freewrt/arch/mips/pci/Makefile Sun Jul 23 22:47:41 20069000 --- linux-2.4.32/arch/mips/pci/Makefile 2005-01-19 15:09:29.000000000 +0100 9001 +++ linux-2.4.32-freewrt/arch/mips/pci/Makefile 2006-07-25 09:53:19.000000000 +0200 9044 9002 @@ -13,7 +13,9 @@ 9045 9003 obj-$(CONFIG_MIPS_MSC) += ops-msc.o … … 9053 9011 include $(TOPDIR)/Rules.make 9054 9012 diff -Nur linux-2.4.32/drivers/char/serial.c linux-2.4.32-freewrt/drivers/char/serial.c 9055 --- linux-2.4.32/drivers/char/serial.c Wed Nov 16 20:12:54 20059056 +++ linux-2.4.32-freewrt/drivers/char/serial.c Sun Jul 23 22:47:41 20069013 --- linux-2.4.32/drivers/char/serial.c 2005-11-16 20:12:54.000000000 +0100 9014 +++ linux-2.4.32-freewrt/drivers/char/serial.c 2006-07-25 09:53:19.000000000 +0200 9057 9015 @@ -422,6 +422,10 @@ 9058 9016 return inb(info->port+1); … … 9124 9082 cval >>= 8; 9125 9083 diff -Nur linux-2.4.32/drivers/net/Config.in linux-2.4.32-freewrt/drivers/net/Config.in 9126 --- linux-2.4.32/drivers/net/Config.in Wed Jan 19 15:09:56 20059127 +++ linux-2.4.32-freewrt/drivers/net/Config.in Sun Jul 23 22:47:41 20069084 --- linux-2.4.32/drivers/net/Config.in 2005-01-19 15:09:56.000000000 +0100 9085 +++ linux-2.4.32-freewrt/drivers/net/Config.in 2006-07-25 09:53:19.000000000 +0200 9128 9086 @@ -2,6 +2,8 @@ 9129 9087 # Network device configuration … … 9135 9093 9136 9094 tristate 'Dummy net driver support' CONFIG_DUMMY 9137 diff -Nur linux-2.4.32/drivers/net/Makefile linux-2.4.32-freewrt/drivers/net/Makefile9138 --- linux-2.4.32/drivers/net/Makefile Wed Jan 19 15:09:56 20059139 +++ linux-2.4.32-freewrt/drivers/net/Makefile Sun Jul 23 22:47:41 20069140 @@ -3,6 +3,8 @@9141 # Makefile for the Linux network (ethercard) device drivers.9142 #9143 9144 +EXTRA_CFLAGS := -I$(TOPDIR)/arch/mips/bcm947xx/include9145 +9146 obj-y :=9147 obj-m :=9148 obj-n :=9149 @@ -39,6 +41,8 @@9150 obj-$(CONFIG_ISDN) += slhc.o9151 endif9152 9153 +subdir-$(CONFIG_HND) += hnd9154 +subdir-$(CONFIG_WL) += wl9155 subdir-$(CONFIG_NET_PCMCIA) += pcmcia9156 subdir-$(CONFIG_NET_WIRELESS) += wireless9157 subdir-$(CONFIG_TULIP) += tulip9158 @@ -68,6 +72,13 @@9159 obj-$(CONFIG_SUNBMAC) += sunbmac.o9160 obj-$(CONFIG_MYRI_SBUS) += myri_sbus.o9161 obj-$(CONFIG_SUNGEM) += sungem.o9162 +9163 +ifeq ($(CONFIG_HND),y)9164 + obj-y += hnd/hnd.o9165 +endif9166 +ifeq ($(CONFIG_WL),y)9167 + obj-y += wl/wl.o9168 +endif9169 9170 obj-$(CONFIG_MACE) += mace.o9171 obj-$(CONFIG_BMAC) += bmac.o9172 diff -Nur linux-2.4.32/drivers/net/hnd/Makefile linux-2.4.32-freewrt/drivers/net/hnd/Makefile9173 --- linux-2.4.32/drivers/net/hnd/Makefile Thu Jan 1 01:00:00 19709174 +++ linux-2.4.32-freewrt/drivers/net/hnd/Makefile Sun Jul 23 23:08:53 20069175 @@ -0,0 +1,15 @@9176 +#9177 +# Makefile for the BCM47xx specific kernel interface routines9178 +# under Linux.9179 +#9180 +9181 +EXTRA_CFLAGS += -I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER9182 +9183 +O_TARGET := hnd.o9184 +9185 +HND_OBJS := bcmutils.o hnddma.o linux_osl.o sbutils.o bcmsrom.o9186 +9187 +obj-y := $(HND_OBJS)9188 +obj-m := $(O_TARGET)9189 +9190 +include $(TOPDIR)/Rules.make9191 9095 diff -Nur linux-2.4.32/drivers/net/hnd/bcmsrom.c linux-2.4.32-freewrt/drivers/net/hnd/bcmsrom.c 9192 --- linux-2.4.32/drivers/net/hnd/bcmsrom.c Thu Jan 1 01:00:00 19709193 +++ linux-2.4.32-freewrt/drivers/net/hnd/bcmsrom.c Sun Jul 23 22:47:41 20069096 --- linux-2.4.32/drivers/net/hnd/bcmsrom.c 1970-01-01 01:00:00.000000000 +0100 9097 +++ linux-2.4.32-freewrt/drivers/net/hnd/bcmsrom.c 2006-07-25 09:53:19.000000000 +0200 9194 9098 @@ -0,0 +1,716 @@ 9195 9099 +/* … … 9910 9814 + 9911 9815 diff -Nur linux-2.4.32/drivers/net/hnd/bcmutils.c linux-2.4.32-freewrt/drivers/net/hnd/bcmutils.c 9912 --- linux-2.4.32/drivers/net/hnd/bcmutils.c Thu Jan 1 01:00:00 19709913 +++ linux-2.4.32-freewrt/drivers/net/hnd/bcmutils.c Sun Jul 23 22:47:41 20069816 --- linux-2.4.32/drivers/net/hnd/bcmutils.c 1970-01-01 01:00:00.000000000 +0100 9817 +++ linux-2.4.32-freewrt/drivers/net/hnd/bcmutils.c 2006-07-25 09:53:19.000000000 +0200 9914 9818 @@ -0,0 +1,862 @@ 9915 9819 +/* … … 10776 10680 + 10777 10681 diff -Nur linux-2.4.32/drivers/net/hnd/hnddma.c linux-2.4.32-freewrt/drivers/net/hnd/hnddma.c 10778 --- linux-2.4.32/drivers/net/hnd/hnddma.c Thu Jan 1 01:00:00 197010779 +++ linux-2.4.32-freewrt/drivers/net/hnd/hnddma.c Sun Jul 23 22:47:41 200610682 --- linux-2.4.32/drivers/net/hnd/hnddma.c 1970-01-01 01:00:00.000000000 +0100 10683 +++ linux-2.4.32-freewrt/drivers/net/hnd/hnddma.c 2006-07-25 09:53:19.000000000 +0200 10780 10684 @@ -0,0 +1,865 @@ 10781 10685 +/* … … 11645 11549 +} 11646 11550 diff -Nur linux-2.4.32/drivers/net/hnd/linux_osl.c linux-2.4.32-freewrt/drivers/net/hnd/linux_osl.c 11647 --- linux-2.4.32/drivers/net/hnd/linux_osl.c Thu Jan 1 01:00:00 197011648 +++ linux-2.4.32-freewrt/drivers/net/hnd/linux_osl.c Sun Jul 23 22:47:41 200611551 --- linux-2.4.32/drivers/net/hnd/linux_osl.c 1970-01-01 01:00:00.000000000 +0100 11552 +++ linux-2.4.32-freewrt/drivers/net/hnd/linux_osl.c 2006-07-25 09:53:19.000000000 +0200 11649 11553 @@ -0,0 +1,640 @@ 11650 11554 +/* … … 12288 12192 + 12289 12193 +#endif /* BINOSL */ 12194 diff -Nur linux-2.4.32/drivers/net/hnd/Makefile linux-2.4.32-freewrt/drivers/net/hnd/Makefile 12195 --- linux-2.4.32/drivers/net/hnd/Makefile 1970-01-01 01:00:00.000000000 +0100 12196 +++ linux-2.4.32-freewrt/drivers/net/hnd/Makefile 2006-07-25 09:53:19.000000000 +0200 12197 @@ -0,0 +1,19 @@ 12198 +# 12199 +# Makefile for the BCM47xx specific kernel interface routines 12200 +# under Linux. 12201 +# 12202 + 12203 +EXTRA_CFLAGS += -I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER 12204 + 12205 +O_TARGET := hnd.o 12206 + 12207 +HND_OBJS := bcmutils.o hnddma.o linux_osl.o sbutils.o bcmsrom.o 12208 + 12209 +export-objs := shared_ksyms.o 12210 +obj-y := shared_ksyms.o $(HND_OBJS) 12211 +obj-m := $(O_TARGET) 12212 + 12213 +include $(TOPDIR)/Rules.make 12214 + 12215 +shared_ksyms.c: shared_ksyms.sh $(HND_OBJS) 12216 + sh -e $< $(HND_OBJS) > $@ 12290 12217 diff -Nur linux-2.4.32/drivers/net/hnd/sbutils.c linux-2.4.32-freewrt/drivers/net/hnd/sbutils.c 12291 --- linux-2.4.32/drivers/net/hnd/sbutils.c Thu Jan 1 01:00:00 197012292 +++ linux-2.4.32-freewrt/drivers/net/hnd/sbutils.c Sun Jul 23 22:47:41 200612218 --- linux-2.4.32/drivers/net/hnd/sbutils.c 1970-01-01 01:00:00.000000000 +0100 12219 +++ linux-2.4.32-freewrt/drivers/net/hnd/sbutils.c 2006-07-25 09:53:19.000000000 +0200 12293 12220 @@ -0,0 +1,2061 @@ 12294 12221 +/* … … 14353 14280 + 14354 14281 + 14282 diff -Nur linux-2.4.32/drivers/net/hnd/shared_ksyms.sh linux-2.4.32-freewrt/drivers/net/hnd/shared_ksyms.sh 14283 --- linux-2.4.32/drivers/net/hnd/shared_ksyms.sh 1970-01-01 01:00:00.000000000 +0100 14284 +++ linux-2.4.32-freewrt/drivers/net/hnd/shared_ksyms.sh 2006-07-25 09:53:19.000000000 +0200 14285 @@ -0,0 +1,21 @@ 14286 +#!/bin/sh 14287 +# 14288 +# Copyright 2004, Broadcom Corporation 14289 +# All Rights Reserved. 14290 +# 14291 +# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY 14292 +# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM 14293 +# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS 14294 +# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE. 14295 +# 14296 +# $Id: shared_ksyms.sh,v 1.1 2005/03/16 13:50:00 wbx Exp $ 14297 +# 14298 + 14299 +cat <<EOF 14300 +#include <linux/config.h> 14301 +#include <linux/module.h> 14302 +EOF 14303 + 14304 +for file in $* ; do 14305 + ${NM} $file | sed -ne 's/[0-9A-Fa-f]* [DT] \([^ ]*\)/extern void \1; EXPORT_SYMBOL(\1);/p' 14306 +done 14307 diff -Nur linux-2.4.32/drivers/net/Makefile linux-2.4.32-freewrt/drivers/net/Makefile 14308 --- linux-2.4.32/drivers/net/Makefile 2005-01-19 15:09:56.000000000 +0100 14309 +++ linux-2.4.32-freewrt/drivers/net/Makefile 2006-07-25 09:53:19.000000000 +0200 14310 @@ -3,6 +3,8 @@ 14311 # Makefile for the Linux network (ethercard) device drivers. 14312 # 14313 14314 +EXTRA_CFLAGS := -I$(TOPDIR)/arch/mips/bcm947xx/include 14315 + 14316 obj-y := 14317 obj-m := 14318 obj-n := 14319 @@ -39,6 +41,8 @@ 14320 obj-$(CONFIG_ISDN) += slhc.o 14321 endif 14322 14323 +subdir-$(CONFIG_HND) += hnd 14324 +subdir-$(CONFIG_WL) += wl 14325 subdir-$(CONFIG_NET_PCMCIA) += pcmcia 14326 subdir-$(CONFIG_NET_WIRELESS) += wireless 14327 subdir-$(CONFIG_TULIP) += tulip 14328 @@ -69,6 +73,13 @@ 14329 obj-$(CONFIG_MYRI_SBUS) += myri_sbus.o 14330 obj-$(CONFIG_SUNGEM) += sungem.o 14331 14332 +ifeq ($(CONFIG_HND),y) 14333 + obj-y += hnd/hnd.o 14334 +endif 14335 +ifeq ($(CONFIG_WL),y) 14336 + obj-y += wl/wl.o 14337 +endif 14338 + 14339 obj-$(CONFIG_MACE) += mace.o 14340 obj-$(CONFIG_BMAC) += bmac.o 14341 obj-$(CONFIG_GMAC) += gmac.o 14355 14342 diff -Nur linux-2.4.32/drivers/net/wireless/Config.in linux-2.4.32-freewrt/drivers/net/wireless/Config.in 14356 --- linux-2.4.32/drivers/net/wireless/Config.in Wed Nov 17 12:54:21 200414357 +++ linux-2.4.32-freewrt/drivers/net/wireless/Config.in Sun Jul 23 22:47:42 200614343 --- linux-2.4.32/drivers/net/wireless/Config.in 2004-11-17 12:54:21.000000000 +0100 14344 +++ linux-2.4.32-freewrt/drivers/net/wireless/Config.in 2006-07-25 09:53:19.000000000 +0200 14358 14345 @@ -13,6 +13,7 @@ 14359 14346 fi … … 14365 14352 dep_tristate ' Prism 2.5 PCI 802.11b adaptor support (EXPERIMENTAL)' CONFIG_PCI_HERMES $CONFIG_HERMES $CONFIG_EXPERIMENTAL 14366 14353 diff -Nur linux-2.4.32/drivers/net/wl/Makefile linux-2.4.32-freewrt/drivers/net/wl/Makefile 14367 --- linux-2.4.32/drivers/net/wl/Makefile Thu Jan 1 01:00:00 197014368 +++ linux-2.4.32-freewrt/drivers/net/wl/Makefile Sun Jul 23 22:47:42 200614354 --- linux-2.4.32/drivers/net/wl/Makefile 1970-01-01 01:00:00.000000000 +0100 14355 +++ linux-2.4.32-freewrt/drivers/net/wl/Makefile 2006-07-25 09:53:19.000000000 +0200 14369 14356 @@ -0,0 +1,26 @@ 14370 14357 +# … … 14395 14382 +include $(TOPDIR)/Rules.make 14396 14383 diff -Nur linux-2.4.32/drivers/parport/Config.in linux-2.4.32-freewrt/drivers/parport/Config.in 14397 --- linux-2.4.32/drivers/parport/Config.in Wed Feb 18 14:36:31 200414398 +++ linux-2.4.32-freewrt/drivers/parport/Config.in Sun Jul 23 22:47:42 200614384 --- linux-2.4.32/drivers/parport/Config.in 2004-02-18 14:36:31.000000000 +0100 14385 +++ linux-2.4.32-freewrt/drivers/parport/Config.in 2006-07-25 09:53:19.000000000 +0200 14399 14386 @@ -11,6 +11,7 @@ 14400 14387 tristate 'Parallel port support' CONFIG_PARPORT … … 14406 14393 define_tristate CONFIG_PARPORT_PC_CML1 m 14407 14394 diff -Nur linux-2.4.32/drivers/parport/Makefile linux-2.4.32-freewrt/drivers/parport/Makefile 14408 --- linux-2.4.32/drivers/parport/Makefile Sun Aug 8 01:26:05 200414409 +++ linux-2.4.32-freewrt/drivers/parport/Makefile Sun Jul 23 22:47:42 200614395 --- linux-2.4.32/drivers/parport/Makefile 2004-08-08 01:26:05.000000000 +0200 14396 +++ linux-2.4.32-freewrt/drivers/parport/Makefile 2006-07-25 09:53:19.000000000 +0200 14410 14397 @@ -22,6 +22,7 @@ 14411 14398 … … 14417 14404 obj-$(CONFIG_PARPORT_MFC3) += parport_mfc3.o 14418 14405 diff -Nur linux-2.4.32/drivers/parport/parport_splink.c linux-2.4.32-freewrt/drivers/parport/parport_splink.c 14419 --- linux-2.4.32/drivers/parport/parport_splink.c Thu Jan 1 01:00:00 197014420 +++ linux-2.4.32-freewrt/drivers/parport/parport_splink.c Sun Jul 23 22:47:42 200614406 --- linux-2.4.32/drivers/parport/parport_splink.c 1970-01-01 01:00:00.000000000 +0100 14407 +++ linux-2.4.32-freewrt/drivers/parport/parport_splink.c 2006-07-25 09:53:19.000000000 +0200 14421 14408 @@ -0,0 +1,345 @@ 14422 14409 +/* Low-level parallel port routines for the ASUS WL-500g built-in port … … 14765 14752 +module_exit(parport_splink_cleanup) 14766 14753 + 14767 diff -Nur linux-2.4.32/drivers/pcmcia/Makefile linux-2.4.32-freewrt/drivers/pcmcia/Makefile14768 --- linux-2.4.32/drivers/pcmcia/Makefile Wed Feb 18 14:36:31 200414769 +++ linux-2.4.32-freewrt/drivers/pcmcia/Makefile Sun Jul 23 22:47:42 200614770 @@ -65,6 +65,10 @@14771 au1000_ss-objs-$(CONFIG_PCMCIA_DB1X00) += au1000_db1x00.o14772 au1000_ss-objs-$(CONFIG_PCMCIA_XXS1500) += au1000_xxs1500.o14773 14774 +obj-$(CONFIG_PCMCIA_BCM4710) += bcm4710_ss.o14775 +bcm4710_ss-objs := bcm4710_generic.o14776 +bcm4710_ss-objs += bcm4710_pcmcia.o14777 +14778 obj-$(CONFIG_PCMCIA_SA1100) += sa1100_cs.o14779 obj-$(CONFIG_PCMCIA_M8XX) += m8xx_pcmcia.o14780 obj-$(CONFIG_PCMCIA_SIBYTE) += sibyte_generic.o14781 @@ -101,6 +105,9 @@14782 14783 au1x00_ss.o: $(au1000_ss-objs-y)14784 $(LD) -r -o $@ $(au1000_ss-objs-y)14785 +14786 +bcm4710_ss.o: $(bcm4710_ss-objs)14787 + $(LD) -r -o $@ $(bcm4710_ss-objs)14788 14789 yenta_socket.o: $(yenta_socket-objs)14790 $(LD) $(LD_RFLAG) -r -o $@ $(yenta_socket-objs)14791 14754 diff -Nur linux-2.4.32/drivers/pcmcia/bcm4710_generic.c linux-2.4.32-freewrt/drivers/pcmcia/bcm4710_generic.c 14792 --- linux-2.4.32/drivers/pcmcia/bcm4710_generic.c Thu Jan 1 01:00:00 197014793 +++ linux-2.4.32-freewrt/drivers/pcmcia/bcm4710_generic.c Sun Jul 23 22:47:42 200614755 --- linux-2.4.32/drivers/pcmcia/bcm4710_generic.c 1970-01-01 01:00:00.000000000 +0100 14756 +++ linux-2.4.32-freewrt/drivers/pcmcia/bcm4710_generic.c 2006-07-25 09:53:19.000000000 +0200 14794 14757 @@ -0,0 +1,912 @@ 14795 14758 +/* … … 15706 15669 +#endif /* defined(CONFIG_PROC_FS) */ 15707 15670 diff -Nur linux-2.4.32/drivers/pcmcia/bcm4710_pcmcia.c linux-2.4.32-freewrt/drivers/pcmcia/bcm4710_pcmcia.c 15708 --- linux-2.4.32/drivers/pcmcia/bcm4710_pcmcia.c Thu Jan 1 01:00:00 197015709 +++ linux-2.4.32-freewrt/drivers/pcmcia/bcm4710_pcmcia.c Sun Jul 23 22:47:42 200615671 --- linux-2.4.32/drivers/pcmcia/bcm4710_pcmcia.c 1970-01-01 01:00:00.000000000 +0100 15672 +++ linux-2.4.32-freewrt/drivers/pcmcia/bcm4710_pcmcia.c 2006-07-25 09:53:19.000000000 +0200 15710 15673 @@ -0,0 +1,266 @@ 15711 15674 +/* … … 15976 15939 + 15977 15940 diff -Nur linux-2.4.32/drivers/pcmcia/bcm4710pcmcia.h linux-2.4.32-freewrt/drivers/pcmcia/bcm4710pcmcia.h 15978 --- linux-2.4.32/drivers/pcmcia/bcm4710pcmcia.h Thu Jan 1 01:00:00 197015979 +++ linux-2.4.32-freewrt/drivers/pcmcia/bcm4710pcmcia.h Sun Jul 23 22:47:42 200615941 --- linux-2.4.32/drivers/pcmcia/bcm4710pcmcia.h 1970-01-01 01:00:00.000000000 +0100 15942 +++ linux-2.4.32-freewrt/drivers/pcmcia/bcm4710pcmcia.h 2006-07-25 09:53:19.000000000 +0200 15980 15943 @@ -0,0 +1,118 @@ 15981 15944 +/* … … 16097 16060 + 16098 16061 +#endif /* !defined(_BCM4710PCMCIA_H) */ 16062 diff -Nur linux-2.4.32/drivers/pcmcia/Makefile linux-2.4.32-freewrt/drivers/pcmcia/Makefile 16063 --- linux-2.4.32/drivers/pcmcia/Makefile 2004-02-18 14:36:31.000000000 +0100 16064 +++ linux-2.4.32-freewrt/drivers/pcmcia/Makefile 2006-07-25 09:53:19.000000000 +0200 16065 @@ -65,6 +65,10 @@ 16066 au1000_ss-objs-$(CONFIG_PCMCIA_DB1X00) += au1000_db1x00.o 16067 au1000_ss-objs-$(CONFIG_PCMCIA_XXS1500) += au1000_xxs1500.o 16068 16069 +obj-$(CONFIG_PCMCIA_BCM4710) += bcm4710_ss.o 16070 +bcm4710_ss-objs := bcm4710_generic.o 16071 +bcm4710_ss-objs += bcm4710_pcmcia.o 16072 + 16073 obj-$(CONFIG_PCMCIA_SA1100) += sa1100_cs.o 16074 obj-$(CONFIG_PCMCIA_M8XX) += m8xx_pcmcia.o 16075 obj-$(CONFIG_PCMCIA_SIBYTE) += sibyte_generic.o 16076 @@ -102,5 +106,8 @@ 16077 au1x00_ss.o: $(au1000_ss-objs-y) 16078 $(LD) -r -o $@ $(au1000_ss-objs-y) 16079 16080 +bcm4710_ss.o: $(bcm4710_ss-objs) 16081 + $(LD) -r -o $@ $(bcm4710_ss-objs) 16082 + 16083 yenta_socket.o: $(yenta_socket-objs) 16084 $(LD) $(LD_RFLAG) -r -o $@ $(yenta_socket-objs) 16099 16085 diff -Nur linux-2.4.32/include/asm-mips/bootinfo.h linux-2.4.32-freewrt/include/asm-mips/bootinfo.h 16100 --- linux-2.4.32/include/asm-mips/bootinfo.h Wed Feb 18 14:36:32 200416101 +++ linux-2.4.32-freewrt/include/asm-mips/bootinfo.h Sun Jul 23 22:47:42 200616086 --- linux-2.4.32/include/asm-mips/bootinfo.h 2004-02-18 14:36:32.000000000 +0100 16087 +++ linux-2.4.32-freewrt/include/asm-mips/bootinfo.h 2006-07-25 09:53:19.000000000 +0200 16102 16088 @@ -37,6 +37,7 @@ 16103 16089 #define MACH_GROUP_HP_LJ 20 /* Hewlett Packard LaserJet */ … … 16108 16094 /* 16109 16095 * Valid machtype values for group unknown (low order halfword of mips_machtype) 16110 @@ -192,6 +193,15 @@ 16111 #define MACH_CASIO_E55 5 /* CASIO CASSIOPEIA E-10/15/55/65 */ 16112 #define MACH_TANBAC_TB0226 6 /* TANBAC TB0226 (MBASE) */ 16096 @@ -194,6 +195,15 @@ 16113 16097 #define MACH_TANBAC_TB0229 7 /* TANBAC TB0229 (VR4131DIMM) */ 16114 + 16115 +/*16098 16099 /* 16116 16100 + * Valid machtypes for group Broadcom 16117 16101 + */ … … 16121 16105 +#define MACH_BCM947XX 3 16122 16106 +#define MACH_BCM933XX 4 16123 16124 /*16107 + 16108 +/* 16125 16109 * Valid machtype for group TITAN 16110 */ 16111 #define MACH_TITAN_YOSEMITE 1 /* PMC-Sierra Yosemite */ 16126 16112 diff -Nur linux-2.4.32/include/asm-mips/cpu.h linux-2.4.32-freewrt/include/asm-mips/cpu.h 16127 --- linux-2.4.32/include/asm-mips/cpu.h Wed Jan 19 15:10:11 200516128 +++ linux-2.4.32-freewrt/include/asm-mips/cpu.h Sun Jul 23 22:47:42 200616113 --- linux-2.4.32/include/asm-mips/cpu.h 2005-01-19 15:10:11.000000000 +0100 16114 +++ linux-2.4.32-freewrt/include/asm-mips/cpu.h 2006-07-25 09:53:19.000000000 +0200 16129 16115 @@ -22,6 +22,11 @@ 16130 16116 spec. … … 16176 16162 * ISA Level encodings 16177 16163 diff -Nur linux-2.4.32/include/asm-mips/r4kcache.h linux-2.4.32-freewrt/include/asm-mips/r4kcache.h 16178 --- linux-2.4.32/include/asm-mips/r4kcache.h Wed Feb 18 14:36:32 200416179 +++ linux-2.4.32-freewrt/include/asm-mips/r4kcache.h Sun Jul 23 22:47:42 200616164 --- linux-2.4.32/include/asm-mips/r4kcache.h 2004-02-18 14:36:32.000000000 +0100 16165 +++ linux-2.4.32-freewrt/include/asm-mips/r4kcache.h 2006-07-25 09:53:19.000000000 +0200 16180 16166 @@ -567,4 +567,17 @@ 16181 16167 cache128_unroll32(addr|ws,Index_Writeback_Inv_SD); … … 16197 16183 #endif /* __ASM_R4KCACHE_H */ 16198 16184 diff -Nur linux-2.4.32/include/asm-mips/serial.h linux-2.4.32-freewrt/include/asm-mips/serial.h 16199 --- linux-2.4.32/include/asm-mips/serial.h Wed Jan 19 15:10:12 200516200 +++ linux-2.4.32-freewrt/include/asm-mips/serial.h Sun Jul 23 22:47:42 200616185 --- linux-2.4.32/include/asm-mips/serial.h 2005-01-19 15:10:12.000000000 +0100 16186 +++ linux-2.4.32-freewrt/include/asm-mips/serial.h 2006-07-25 09:53:19.000000000 +0200 16201 16187 @@ -223,6 +223,13 @@ 16202 16188 #define TXX927_SERIAL_PORT_DEFNS … … 16222 16208 EV96100_SERIAL_PORT_DEFNS \ 16223 16209 diff -Nur linux-2.4.32/init/do_mounts.c linux-2.4.32-freewrt/init/do_mounts.c 16224 --- linux-2.4.32/init/do_mounts.c Fri Nov 28 19:26:21 200316225 +++ linux-2.4.32-freewrt/init/do_mounts.c Sun Jul 23 22:47:42 200616210 --- linux-2.4.32/init/do_mounts.c 2003-11-28 19:26:21.000000000 +0100 16211 +++ linux-2.4.32-freewrt/init/do_mounts.c 2006-07-25 09:53:19.000000000 +0200 16226 16212 @@ -253,7 +253,13 @@ 16227 16213 { "ftlb", 0x2c08 },
Note:
See TracChangeset
for help on using the changeset viewer.
