Deleted Added
full compact
mlxreg.h (54419) mlxreg.h (54979)
1/*-
2 * Copyright (c) 1999 Michael Smith
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1999 Michael Smith
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/mlx/mlxreg.h 54419 1999-12-11 00:00:13Z msmith $
26 * $FreeBSD: head/sys/dev/mlx/mlxreg.h 54979 1999-12-22 01:21:28Z msmith $
27 */
28
29#define MLX_CFG_BASE0 0x10 /* first region */
30#define MLX_CFG_BASE1 0x14 /* second region (type 3 only) */
31
32#define MLX_BLKSIZE 512 /* fixed feature */
33
34/*

--- 174 unchanged lines hidden (view full) ---

209 u_int32_t me_mem_size;
210 u_int32_t me_cache_size;
211 u_int32_t me_flash_size;
212 u_int32_t me_nvram_size;
213 u_int16_t me_mem_type;
214 u_int16_t me_clock_speed;
215 u_int16_t me_mem_speed;
216 u_int16_t me_hardware_speed;
27 */
28
29#define MLX_CFG_BASE0 0x10 /* first region */
30#define MLX_CFG_BASE1 0x14 /* second region (type 3 only) */
31
32#define MLX_BLKSIZE 512 /* fixed feature */
33
34/*

--- 174 unchanged lines hidden (view full) ---

209 u_int32_t me_mem_size;
210 u_int32_t me_cache_size;
211 u_int32_t me_flash_size;
212 u_int32_t me_nvram_size;
213 u_int16_t me_mem_type;
214 u_int16_t me_clock_speed;
215 u_int16_t me_mem_speed;
216 u_int16_t me_hardware_speed;
217 u_int8_t res4[10];
217 u_int8_t res4[12];
218 u_int16_t me_max_commands;
219 u_int16_t me_max_sg;
220 u_int16_t me_max_dp;
221 u_int16_t me_max_iod;
222 u_int16_t me_max_comb;
223 u_int8_t me_latency;
224 u_int8_t res5;
225 u_int8_t me_scsi_timeout;

--- 4 unchanged lines hidden (view full) ---

230 u_int8_t res8[11];
231 u_int16_t me_physblk;
232 u_int16_t me_logblk;
233 u_int16_t me_maxblk;
234 u_int16_t me_blocking_factor;
235 u_int16_t me_cacheline;
236 u_int8_t me_scsi_cap;
237 u_int8_t res9[5];
218 u_int16_t me_max_commands;
219 u_int16_t me_max_sg;
220 u_int16_t me_max_dp;
221 u_int16_t me_max_iod;
222 u_int16_t me_max_comb;
223 u_int8_t me_latency;
224 u_int8_t res5;
225 u_int8_t me_scsi_timeout;

--- 4 unchanged lines hidden (view full) ---

230 u_int8_t res8[11];
231 u_int16_t me_physblk;
232 u_int16_t me_logblk;
233 u_int16_t me_maxblk;
234 u_int16_t me_blocking_factor;
235 u_int16_t me_cacheline;
236 u_int8_t me_scsi_cap;
237 u_int8_t res9[5];
238 u_int16_t me_fimware_build;
238 u_int16_t me_firmware_build;
239 u_int8_t me_fault_mgmt_type;
240 u_int8_t res10;
241 u_int32_t me_firmware_features;
242 u_int8_t res11[8];
243} __attribute__ ((packed));
244
245struct mlx_enq_sys_drive /* MLX_CMD_ENQSYSDRIVE returns an array of 32 of these */
246{

--- 162 unchanged lines hidden ---
239 u_int8_t me_fault_mgmt_type;
240 u_int8_t res10;
241 u_int32_t me_firmware_features;
242 u_int8_t res11[8];
243} __attribute__ ((packed));
244
245struct mlx_enq_sys_drive /* MLX_CMD_ENQSYSDRIVE returns an array of 32 of these */
246{

--- 162 unchanged lines hidden ---