diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2001-01-18 20:28:15 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2001-01-18 20:28:15 +0000 |
| commit | 34c8ae80dab7dff7ee69b219c6bf49ca6e84e73f (patch) | |
| tree | 625354b477ae0db6bb663fa25ffc8be7214a49a0 /sys/dev/ic/advmcode.c | |
| parent | e912e655e179f7c8dd5317da1faff48b8b02cf8e (diff) | |
constify
Diffstat (limited to 'sys/dev/ic/advmcode.c')
| -rw-r--r-- | sys/dev/ic/advmcode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/advmcode.c b/sys/dev/ic/advmcode.c index 35d6c4caf0a..7b2eb3bcecd 100644 --- a/sys/dev/ic/advmcode.c +++ b/sys/dev/ic/advmcode.c @@ -1,4 +1,4 @@ -/* $NetBSD: advmcode.c,v 1.3 1998/09/26 16:02:57 dante Exp $ */ +/* $NetBSD: advmcode.c,v 1.4 2001/01/18 20:28:17 jdolecek Exp $ */ /* * Generic driver definitions and exported functions for the Advanced @@ -62,7 +62,7 @@ * This code is loaded into Lram during initializzation procedure. */ -u_int8_t asc_mcode[] = +const u_int8_t asc_mcode[] = { 0x01, 0x03, 0x01, 0x19, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -210,11 +210,11 @@ u_int8_t asc_mcode[] = 0x41, 0x23, 0xF6, 0x88, 0x11, 0x23, 0xA1, 0x01, 0x04, 0x23, 0xA0, 0x01, 0xE6, 0x84, }; -u_int16_t asc_mcode_size = sizeof(asc_mcode); +const u_int16_t asc_mcode_size = sizeof(asc_mcode); /* * This checksum is used to compare with that one that will be calculated * at run time. * This is performed to ensure the uCode is correctly loaded into the Lram. */ -u_int32_t asc_mcode_chksum = 0x012B5442UL; +const u_int32_t asc_mcode_chksum = 0x012B5442UL; |
