diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-04-14 10:59:25 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-14 10:59:25 +0000 |
commit | 266a5116fd8b594fbd10ee97fb4b1ee5051f7b4c (patch) | |
tree | 9ef9e608ba673314fd485a3afa3a78710b162186 | |
parent | db96eaf0375c0458ff4d56f24a73d5ce8067940e (diff) |
ixp4xx-kernel: Fixed the mac address offset in the nslu2 redboot partition.
-rw-r--r-- | packages/linux/ixp4xx-kernel/2.6.16/92-nslu2-mac.patch | 2 | ||||
-rw-r--r-- | packages/linux/ixp4xx-kernel_2.6.16.bb | 2 |
2 files changed, 2 insertions, 2 deletions
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 |