diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-07-30 00:59:32 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-07-30 00:59:32 +0000 |
commit | 0309f11d970a082d53799827858549e71ba0372c (patch) | |
tree | 886dcb923a73fd548e87d44ee44c08d95921d629 /sys | |
parent | 652fd189024eabede5e24c46c1617240b011eb31 (diff) | |
download | FreeBSD-src-0309f11d970a082d53799827858549e71ba0372c.zip FreeBSD-src-0309f11d970a082d53799827858549e71ba0372c.tar.gz |
Redo how we manage SCSI device settings- have a 3rd flags (nvram) that records
either what's in NVRAM or what the safe defaults would be if we lack NVRAM.
Then we rename cur_XXXX to actv_XXXX (these are the currently active settings)
and the dev_XXX settings to goal_XXXX (these are the settings which we want
cur_XXXX to converge to).
Roll core minor.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/isp/ispvar.h | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h index 292ea34..59f6f9e 100644 --- a/sys/dev/isp/ispvar.h +++ b/sys/dev/isp/ispvar.h @@ -54,7 +54,7 @@ #endif #define ISP_CORE_VERSION_MAJOR 2 -#define ISP_CORE_VERSION_MINOR 1 +#define ISP_CORE_VERSION_MINOR 2 /* * Vector for bus specific code to provide specific services. @@ -179,17 +179,21 @@ typedef struct { u_int8_t isp_retry_count; u_int8_t isp_retry_delay; struct { - u_int dev_enable : 1, /* ignored */ + u_int32_t + exc_throttle : 8, : 1, + dev_enable : 1, /* ignored */ dev_update : 1, dev_refresh : 1, - exc_throttle : 8, - cur_offset : 4, - sync_offset : 4; - u_int8_t cur_period; /* current sync period */ - u_int8_t sync_period; /* goal sync period */ - u_int16_t dev_flags; /* goal device flags */ - u_int16_t cur_dflags; /* current device flags */ + actv_offset : 4, + goal_offset : 4, + nvrm_offset : 4; + u_int8_t actv_period; /* current sync period */ + u_int8_t goal_period; /* goal sync period */ + u_int8_t nvrm_period; /* nvram sync period */ + u_int16_t actv_flags; /* current device flags */ + u_int16_t goal_flags; /* goal device flags */ + u_int16_t nvrm_flags; /* nvram device flags */ } isp_devparam[MAX_TARGETS]; } sdparam; |