summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/tigon/ti_fw2.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-05-01 16:15:51 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-05-01 16:15:51 +0000
commit8e7e01eca971fdbc047386ab33bb63fa0d257a25 (patch)
tree2473145912d87bc726ead6a26dd48a8aad3e1f1d /sys/dev/microcode/tigon/ti_fw2.h
parentb7c8e4080855099f9e15b0cb3d0c18fbc94ebf9b (diff)
make fw images const and fix ti for unneeded type casts; jason@ testing ans ok
Diffstat (limited to 'sys/dev/microcode/tigon/ti_fw2.h')
-rw-r--r--sys/dev/microcode/tigon/ti_fw2.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/sys/dev/microcode/tigon/ti_fw2.h b/sys/dev/microcode/tigon/ti_fw2.h
index cf6425c8ef7..9b02494a319 100644
--- a/sys/dev/microcode/tigon/ti_fw2.h
+++ b/sys/dev/microcode/tigon/ti_fw2.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ti_fw2.h,v 1.1 2001/06/18 19:19:43 deraadt Exp $ */
+/* $OpenBSD: ti_fw2.h,v 1.2 2002/05/01 16:15:50 mickey Exp $ */
/*
* Generated by genfw.c
@@ -11,21 +11,21 @@
*
* $FreeBSD: /c/ncvs/src/sys/pci/ti_fw2.h,v 1.10 2000/07/26 23:55:34 wpaul Exp $
*/
-static int tigon2FwReleaseMajor = 0xc;
-static int tigon2FwReleaseMinor = 0x4;
-static int tigon2FwReleaseFix = 0xd;
-static u_int32_t tigon2FwStartAddr = 0x00004000;
-static u_int32_t tigon2FwTextAddr = 0x00004000;
-static int tigon2FwTextLen = 0x11c80;
-static u_int32_t tigon2FwRodataAddr = 0x00015c80;
-static int tigon2FwRodataLen = 0x10d0;
-static u_int32_t tigon2FwDataAddr = 0x00016d80;
-static int tigon2FwDataLen = 0x1c0;
-static u_int32_t tigon2FwSbssAddr = 0x00016f40;
-static int tigon2FwSbssLen = 0xcc;
-static u_int32_t tigon2FwBssAddr = 0x00017010;
-static int tigon2FwBssLen = 0x20c0;
-static u_int32_t tigon2FwText[] = {
+static const int tigon2FwReleaseMajor = 0xc;
+static const int tigon2FwReleaseMinor = 0x4;
+static const int tigon2FwReleaseFix = 0xd;
+static const u_int32_t tigon2FwStartAddr = 0x00004000;
+static const u_int32_t tigon2FwTextAddr = 0x00004000;
+static const int tigon2FwTextLen = 0x11c80;
+static const u_int32_t tigon2FwRodataAddr = 0x00015c80;
+static const int tigon2FwRodataLen = 0x10d0;
+static const u_int32_t tigon2FwDataAddr = 0x00016d80;
+static const int tigon2FwDataLen = 0x1c0;
+static const u_int32_t tigon2FwSbssAddr = 0x00016f40;
+static const int tigon2FwSbssLen = 0xcc;
+static const u_int32_t tigon2FwBssAddr = 0x00017010;
+static const int tigon2FwBssLen = 0x20c0;
+static const u_int32_t tigon2FwText[] = {
0x0,
0x10000003, 0x0, 0xd, 0xd,
0x3c1d0001, 0x8fbd6de0, 0x3a0f021, 0x3c100000,
@@ -4579,7 +4579,7 @@ static u_int32_t tigon2FwText[] = {
0x24020001, 0x8f430328, 0x1021, 0x24630001,
0x3e00008, 0xaf430328, 0x3e00008, 0x0,
0x0, 0x0, 0x0, 0x0 };
-static u_int32_t tigon2FwRodata[] = {
+static const u_int32_t tigon2FwRodata[] = {
0x24486561,
0x6465723a, 0x202f7072, 0x6f6a6563, 0x74732f72,
0x63732f73, 0x772f6765, 0x2f2e2f6e, 0x69632f66,
@@ -4850,7 +4850,7 @@ static u_int32_t tigon2FwRodata[] = {
0x0, 0x14f98, 0x14f98, 0x14c4c,
0x14c98, 0x14ce4, 0x14f98, 0x7365746d,
0x61636163, 0x74000000, 0x0, 0x0 };
-static u_int32_t tigon2FwData[] = {
+static const u_int32_t tigon2FwData[] = {
0x1,
0x1, 0x1, 0xc001fc, 0x3ffc,
0xc00000, 0x46726565, 0x42534420, 0x5469676f,