summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-08 09:47:47 +0000
committerbde <bde@FreeBSD.org>1998-06-08 09:47:47 +0000
commit566ee5c323c868aba9bdc6c3d1ad52a3dd7b17e9 (patch)
tree60516df8ad7a4fdc14c976a4578f7bf48ed75610 /sys/dev/isp
parentfaa17713f8d56432bac81058b7e1d2596e19c5b1 (diff)
downloadFreeBSD-src-566ee5c323c868aba9bdc6c3d1ad52a3dd7b17e9.zip
FreeBSD-src-566ee5c323c868aba9bdc6c3d1ad52a3dd7b17e9.tar.gz
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)).
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/ispvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h
index 4e2ed9e..cda1eb6 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 */
OpenPOWER on IntegriCloud