aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/patches
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-05 11:39:32 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-05 11:39:32 +0000
commit258843f66606205c5539e434335211c5f4938432 (patch)
tree17dea04b695a1beb5218c4c27687f4ff65beebbd /target/linux/rb532/patches
parentc59593a2df5786603bb1b5dad300a6f473196507 (diff)
downloadupstream-258843f66606205c5539e434335211c5f4938432.tar.gz
upstream-258843f66606205c5539e434335211c5f4938432.tar.bz2
upstream-258843f66606205c5539e434335211c5f4938432.zip
Clean up the prom code / board detection (thanks Gabor), fix some warnings
SVN-Revision: 9136
Diffstat (limited to 'target/linux/rb532/patches')
-rw-r--r--target/linux/rb532/patches/100-rb5xx_support.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/rb532/patches/100-rb5xx_support.patch b/target/linux/rb532/patches/100-rb5xx_support.patch
index fcb6d7c5d5..57150236db 100644
--- a/target/linux/rb532/patches/100-rb5xx_support.patch
+++ b/target/linux/rb532/patches/100-rb5xx_support.patch
@@ -69,11 +69,13 @@ diff -urN linux.old/drivers/pci/Makefile linux.dev/drivers/pci/Makefile
diff -urN linux.old/include/asm-mips/bootinfo.h linux.dev/include/asm-mips/bootinfo.h
--- linux.old/include/asm-mips/bootinfo.h 2006-11-29 22:57:37.000000000 +0100
+++ linux.dev/include/asm-mips/bootinfo.h 2006-12-14 04:09:50.000000000 +0100
-@@ -212,6 +212,8 @@
+@@ -212,6 +212,10 @@
#define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
#define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
-+#define MACH_GROUP_MIKROTIK 24 /* Mikrotik Boards */
++#define MACH_GROUP_MIKROTIK 26 /* Mikrotik Boards */
++#define MACH_MIKROTIK_RB532 0 /* Mikrotik RouterBoard 532 */
++#define MACH_MIKROTIK_RB532A 1 /* Mikrotik RouterBoard 532A */
+
#define CL_SIZE COMMAND_LINE_SIZE