summaryrefslogtreecommitdiffstats
path: root/sys/dev/sym/sym_fw1.h
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-05-15 20:27:18 +0000
committermarius <marius@FreeBSD.org>2008-05-15 20:27:18 +0000
commite33b8a5be96a0c6990e16cfc6e00db4a29f8b45a (patch)
tree2c3fe3dd7405b514e4f664a8776a4778898ec305 /sys/dev/sym/sym_fw1.h
parent368bdf05e9188bfc74fa11ed733351ed1c1e5c2c (diff)
downloadFreeBSD-src-e33b8a5be96a0c6990e16cfc6e00db4a29f8b45a.zip
FreeBSD-src-e33b8a5be96a0c6990e16cfc6e00db4a29f8b45a.tar.gz
- Const'ify firmware and lookup-tables.
- Obsolete redundant inst_name and unit members of struct sym_hcb. - Fix three more NULL vs. 0 confusions. - Use device_set_softc(9) to tell the bus layer that this driver allocates a instance of struct sym_hcb itself.
Diffstat (limited to 'sys/dev/sym/sym_fw1.h')
-rw-r--r--sys/dev/sym/sym_fw1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sym/sym_fw1.h b/sys/dev/sym/sym_fw1.h
index d7622d8..1a4d010 100644
--- a/sys/dev/sym/sym_fw1.h
+++ b/sys/dev/sym/sym_fw1.h
@@ -219,7 +219,7 @@ struct SYM_FWB_SCR {
u32 snoopend [ 2];
};
-static struct SYM_FWA_SCR SYM_FWA_SCR = {
+static const struct SYM_FWA_SCR SYM_FWA_SCR = {
/*--------------------------< START >----------------------------*/ {
/*
* Switch the LED on.
@@ -1342,7 +1342,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = {
}/*--------------------------<>----------------------------------*/
};
-static struct SYM_FWB_SCR SYM_FWB_SCR = {
+static const struct SYM_FWB_SCR SYM_FWB_SCR = {
/*-------------------------< NO_DATA >--------------------------*/ {
SCR_JUMP,
PADDR_B (data_ovrun),
OpenPOWER on IntegriCloud