diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-06-26 00:53:44 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-06-26 00:53:44 +0000 |
commit | 7d0142911cb49693741f68821628b144384f4a2c (patch) | |
tree | e74248076abc89332a321c02c4e1e340c981beb5 /sys/dev/microcode/esa/esadsp.h | |
parent | 74eaeaab77962889570d9f6633ccafcea9d23d91 (diff) |
constify readonly data
Diffstat (limited to 'sys/dev/microcode/esa/esadsp.h')
-rw-r--r-- | sys/dev/microcode/esa/esadsp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/microcode/esa/esadsp.h b/sys/dev/microcode/esa/esadsp.h index d82adf30bc9..52221edf3b4 100644 --- a/sys/dev/microcode/esa/esadsp.h +++ b/sys/dev/microcode/esa/esadsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: esadsp.h,v 1.1 2002/04/08 01:47:33 frantzen Exp $ */ +/* $OpenBSD: esadsp.h,v 1.2 2003/06/26 00:53:43 mickey Exp $ */ /* $NetBSD: esadsp.h,v 1.4 2002/01/07 07:33:09 jmcneill Exp $ */ /* @@ -35,14 +35,14 @@ * */ -u_int16_t esa_minisrc_lpf_image[] = { +const u_int16_t esa_minisrc_lpf_image[] = { 0x0743, 0x1104, 0x0a4c, 0xf88d, 0x242c, 0x1023, 0x1aa9, 0x0b60, 0xefdd, 0x186f }; #define ESA_ARB_VOLUME 0x6800 -static struct play_vals { +static const struct play_vals { u_int16_t addr, val; } esa_playvals[] = { { ESA_CDATA_LEFT_VOLUME, ESA_ARB_VOLUME}, @@ -67,7 +67,7 @@ static struct play_vals { { ESA_SRC3_DIRECTION_OFFSET + 21, 0} }; -static struct rec_vals { +static const struct rec_vals { u_int16_t addr, val; } esa_recvals[] = { { ESA_CDATA_LEFT_VOLUME, ESA_ARB_VOLUME}, @@ -94,7 +94,7 @@ static struct rec_vals { { ESA_SRC3_DIRECTION_OFFSET + 22, 0xff} }; -static u_int32_t esa_assp_kernel_image[] = { +static const u_int32_t esa_assp_kernel_image[] = { 0x7980, 0x0030, 0x7980, 0x03b4, 0x7980, 0x03b4, 0x7980, 0x00fb, 0x7980, 0x00dd, 0x7980, 0x03b4, 0x7980, 0x0332, 0x7980, 0x0287, 0x7980, 0x03b4, 0x7980, 0x03b4, 0x7980, 0x03b4, 0x7980, 0x03b4, @@ -216,7 +216,7 @@ static u_int32_t esa_assp_kernel_image[] = { 0x0267, 0x0368, 0x0469, 0x056a, 0xbe3a, }; -static u_int32_t esa_assp_minisrc_image[] = { +static const u_int32_t esa_assp_minisrc_image[] = { 0xbf80, 0x101e, 0x906e, 0x006e, 0x8b88, 0x6980, 0xef88, 0x906f, 0x0d6f, 0x6900, 0xeb08, 0x0412, 0xbc20, 0x696e, 0xb801, 0x906e, 0x7980, 0x0403, 0xb90e, |