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
commita62d171e5499bb5c59c958cb4165d104ee30a0d6 (patch)
tree0636426488d8633521d5bea29ab729cea2bfc0e9 /target/linux/rb532/patches
parent74bdbebc87a33ba5855f4ce73ad29072a32369ea (diff)
downloadmaster-187ad058-a62d171e5499bb5c59c958cb4165d104ee30a0d6.tar.gz
master-187ad058-a62d171e5499bb5c59c958cb4165d104ee30a0d6.tar.bz2
master-187ad058-a62d171e5499bb5c59c958cb4165d104ee30a0d6.zip
Clean up the prom code / board detection (thanks Gabor), fix some warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9136 3c298f89-4303-0410-b956-a3cf2f4a3e73
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