linux-mips
[Top] [All Lists]

[patch 2.4] au1x00 prom.c hw addr case insensitivity fix

To: linux-mips@linux-mips.org
Subject: [patch 2.4] au1x00 prom.c hw addr case insensitivity fix
From: "Dan Hopper" <hopper@pcsmail.amd.com>
Date: Tue, 4 Feb 2003 22:19:50 -0600
Mail-followup-to: Dan Hopper <hopper@pcsmail.amd.com>, linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.3.28i
Hi folks,

Attached please find a short fix to str2hexnum() in
arch/mips/au1000/common/prom.c of the 2.4 branch.  With this fix,
the contents of the "ethaddr" entry in the environment table passed
by the bootloader to the kernel can have upper case hexadecimal
digits.  

Without the patch, an address such as ethaddr =
"00:50:C2:0C:20:4f" is silently converted to "00:50:02:00:20:4f",
making for some serious head scratching if you're trying to bootp
the kernel.

Dan

Attachment: prom.c.uppercase_macaddr.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • [patch 2.4] au1x00 prom.c hw addr case insensitivity fix, Dan Hopper <=