ixp4xx-kernel: Fixed the mac address offset in the nslu2 redboot partition.
authorRod Whitby <rod@whitby.id.au>
Fri, 14 Apr 2006 10:59:25 +0000 (10:59 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 14 Apr 2006 10:59:25 +0000 (10:59 +0000)
packages/linux/ixp4xx-kernel/2.6.16/92-nslu2-mac.patch
packages/linux/ixp4xx-kernel_2.6.16.bb

index 1dd8e0e..d1e84e2 100644 (file)
@@ -28,7 +28,7 @@
 +              size_t retlen;
 +              int err;
 +              /* the mac addr is at a known offset */
-+              err = mtd->read(mtd, 0x3FFD8, 6, &retlen, (u8 *) &mac.sa_data);
++              err = mtd->read(mtd, 0x3FFB0, 6, &retlen, (u8 *) &mac.sa_data);
 +              if (err != 0 || retlen != 6)
 +                      printk(KERN_ERR "nslu2: mac addr read failed\n");
 +              else
index 854b86d..0b00414 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 = "r4.${PR_CONFIG}"
+PR = "r5.${PR_CONFIG}"
 
 include ixp4xx-kernel.inc