From a09bee1aa8be18623062550655f14bba07133f46 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 8 Jun 1998 09:47:47 +0000 Subject: Fixed pedantic semantics errors (bitfields not of type int, signed int or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)). --- sys/dev/isp/ispvar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/isp') diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h index 4e2ed9e84641..cda1eb61d6dc 100644 --- a/sys/dev/isp/ispvar.h +++ b/sys/dev/isp/ispvar.h @@ -1,4 +1,4 @@ -/* $Id: ispvar.h,v 1.1 1998/04/22 17:54:58 mjacob Exp $ */ +/* $Id: ispvar.h,v 1.2 1998/05/01 18:10:50 bde Exp $ */ /* * Soft Definitions for for Qlogic ISP SCSI adapters. * @@ -89,7 +89,7 @@ struct ispmdvec { */ typedef struct { - u_int16_t isp_adapter_enabled : 1, + u_int isp_adapter_enabled : 1, isp_req_ack_active_neg : 1, isp_data_line_active_neg: 1, isp_cmd_dma_burst_enable: 1, @@ -109,7 +109,7 @@ typedef struct { u_int8_t dev_flags; /* Device Flags - see below */ u_int8_t exc_throttle; u_int8_t sync_period; - u_int8_t sync_offset : 4, + u_int sync_offset : 4, dev_enable : 1; } isp_devparam[MAX_TARGETS]; } sdparam; /* scsi device parameters */ -- cgit v1.3