From 93143d572ab5c6b6c042bfbb0c4da3706a06de84 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Tue, 15 Jan 2008 15:04:40 +0000 Subject: [PATCH] Fix accidental swap of "const" for "static" in mxge firmware byte arrays caused by running my import script with the wrong args. --- sys/dev/mxge/eth_z8e.h | 6 +++--- sys/dev/mxge/ethp_z8e.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/mxge/eth_z8e.h b/sys/dev/mxge/eth_z8e.h index 3850156ea48d..94ffdad57464 100644 --- a/sys/dev/mxge/eth_z8e.h +++ b/sys/dev/mxge/eth_z8e.h @@ -29,10 +29,10 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ /* Using zlib-1.1.3. gendat version $Name: $ */ -const unsigned int eth_z8e_uncompressed_length = 606168; +static unsigned int eth_z8e_uncompressed_length = 606168; #define U (unsigned char) -const unsigned int eth_z8e_length = 52566; -const unsigned char eth_z8e[52566] = { +static unsigned int eth_z8e_length = 52566; +static unsigned char eth_z8e[52566] = { U 0x78,U 0xDA,U 0xEC,U 0xBD, U 0x0F,U 0x74,U 0x54,U 0xD5, U 0xB5,U 0x3F,U 0xBE,U 0x67, diff --git a/sys/dev/mxge/ethp_z8e.h b/sys/dev/mxge/ethp_z8e.h index fb287b1170e9..efc1b8e48340 100644 --- a/sys/dev/mxge/ethp_z8e.h +++ b/sys/dev/mxge/ethp_z8e.h @@ -29,10 +29,10 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ /* Using zlib-1.1.3. gendat version $Name: $ */ -const unsigned int ethp_z8e_uncompressed_length = 615208; +static unsigned int ethp_z8e_uncompressed_length = 615208; #define U (unsigned char) -const unsigned int ethp_z8e_length = 52908; -const unsigned char ethp_z8e[52908] = { +static unsigned int ethp_z8e_length = 52908; +static unsigned char ethp_z8e[52908] = { U 0x78,U 0xDA,U 0xEC,U 0xBD, U 0x0F,U 0x74,U 0x54,U 0xD5, U 0xB5,U 0x3F,U 0xBE,U 0x67,