ixp4xx-kernel: Fixed the nslu2 mac patch (was reading the wrong mtd partition).
authorRod Whitby <rod@whitby.id.au>
Fri, 14 Apr 2006 10:16:27 +0000 (10:16 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 14 Apr 2006 10:16:27 +0000 (10:16 +0000)
packages/linux/ixp4xx-kernel/2.6.16/92-nslu2-mac.patch
packages/linux/ixp4xx-kernel_2.6.16.bb

index 31c5f04..1dd8e0e 100644 (file)
@@ -24,7 +24,7 @@
 +static struct sockaddr mac;
 +
 +static void nslu2_flash_add(struct mtd_info *mtd) {
-+      if (strcmp(mtd->name, "RedBoot config") == 0) {
++      if (strcmp(mtd->name, "RedBoot") == 0) {
 +              size_t retlen;
 +              int err;
 +              /* the mac addr is at a known offset */
index 66d1c38..854b86d 100644 (file)
@@ -8,7 +8,7 @@ PR_CONFIG = "1"
 # Increment the number below (i.e. the digits after PR) when
 # making changes within this file or for changes to the patches
 # applied to the kernel.
-PR = "r3.${PR_CONFIG}"
+PR = "r4.${PR_CONFIG}"
 
 include ixp4xx-kernel.inc