From 266a5116fd8b594fbd10ee97fb4b1ee5051f7b4c Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Fri, 14 Apr 2006 10:59:25 +0000 Subject: ixp4xx-kernel: Fixed the mac address offset in the nslu2 redboot partition. --- packages/linux/ixp4xx-kernel/2.6.16/92-nslu2-mac.patch | 2 +- packages/linux/ixp4xx-kernel_2.6.16.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/linux/ixp4xx-kernel/2.6.16/92-nslu2-mac.patch b/packages/linux/ixp4xx-kernel/2.6.16/92-nslu2-mac.patch index 1dd8e0eb61..d1e84e222c 100644 --- a/packages/linux/ixp4xx-kernel/2.6.16/92-nslu2-mac.patch +++ b/packages/linux/ixp4xx-kernel/2.6.16/92-nslu2-mac.patch @@ -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 diff --git a/packages/linux/ixp4xx-kernel_2.6.16.bb b/packages/linux/ixp4xx-kernel_2.6.16.bb index 854b86d047..0b00414577 100644 --- a/packages/linux/ixp4xx-kernel_2.6.16.bb +++ b/packages/linux/ixp4xx-kernel_2.6.16.bb @@ -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 -- cgit v1.2.3