diff options
author | msmith <msmith@FreeBSD.org> | 1999-12-22 01:21:28 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-12-22 01:21:28 +0000 |
commit | 84a1c51a20fd7906da50daf7f340ba1008ec04e7 (patch) | |
tree | 4336a5b251cf220a7b17e9698b586c834b2448e4 /sys/dev/mlx/mlxvar.h | |
parent | d55ac72ab6851d040ca79a49de956347c872ed78 (diff) | |
download | FreeBSD-src-84a1c51a20fd7906da50daf7f340ba1008ec04e7.zip FreeBSD-src-84a1c51a20fd7906da50daf7f340ba1008ec04e7.tar.gz |
Updates resulting from new documentation from Mylex and some cleaning:
- Don't keep private copies of some of the data fields from the
ENQUIRY and ENQUIRY2 commands. Instead, standardise on the ENQUIRY2
command for initial adapter information, and keep a copy of the entire
structure. Refer to it where appropriate.
- Move all of the controller description functionality into a new
function. Print lots more controller data if bootverbose is set.
Add knowledge of the DAC960 PR, PT, PTL0 and PRL controllers, rename
the 960PTL -> PTL0 and 1100P -> 1100PVX.
- Correctly terminate an error message.
The controller interface procedures have been reviewed against the
Mylex-supplied documentation; no changes appear necessary at this
time.
Diffstat (limited to 'sys/dev/mlx/mlxvar.h')
-rw-r--r-- | sys/dev/mlx/mlxvar.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/sys/dev/mlx/mlxvar.h b/sys/dev/mlx/mlxvar.h index 04c3246..3465358 100644 --- a/sys/dev/mlx/mlxvar.h +++ b/sys/dev/mlx/mlxvar.h @@ -105,13 +105,8 @@ struct mlx_softc bus_dmamap_t mlx_sg_dmamap; /* map for s/g buffers */ /* controller limits and features */ - int mlx_hwid; /* hardware identifier */ - int mlx_maxiop; /* maximum number of I/O operations */ - int mlx_nchan; /* number of active channels */ - int mlx_maxiosize; /* largest I/O for this controller */ - int mlx_maxtarg; /* maximum number of targets per channel */ - int mlx_maxtags; /* maximum number of tags per device */ - int mlx_scsicap; /* SCSI capabilities */ + struct mlx_enquiry2 *mlx_enq2; + int mlx_maxiop; /* hard maximum number of commands */ int mlx_feature; /* controller features/quirks */ #define MLX_FEAT_PAUSEWORKS (1<<0) /* channel pause works as expected */ @@ -125,8 +120,6 @@ struct mlx_softc int mlx_waitbufs; /* number of bufs awaiting commands */ /* controller status */ - u_int8_t mlx_fwminor; /* firmware revision */ - u_int8_t mlx_fwmajor; int mlx_geom; #define MLX_GEOM_128_32 0 /* geoemetry translation modes */ #define MLX_GEOM_256_63 1 @@ -137,9 +130,8 @@ struct mlx_softc #define MLX_STATE_SUSPEND (1<<3) /* controller is suspended */ struct callout_handle mlx_timeout; /* periodic status monitor */ time_t mlx_lastpoll; /* last time_second we polled for status */ - u_int16_t mlx_lastevent; /* sequence number of the last event we recorded */ - u_int16_t mlx_currevent; /* sequence number last time we looked */ - int mlx_polling; /* if > 0, polling operations still running */ + int mlx_lastevent; /* sequence number of the last event we recorded */ + int mlx_currevent; /* sequence number last time we looked */ int mlx_rebuild; /* if >= 0, drive is being rebuilt */ u_int32_t mlx_rebuildstat;/* blocks left to rebuild if active */ int mlx_check; /* if >= 0, drive is being checked */ |