summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-10 01:36:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-10 01:36:02 +0000
commit9bc80baedb49c94c4045f4bc3ce3e09fa7549330 (patch)
tree5188f7cbb083ae99ae084eb2f38d93777c0a1be1 /sys/scsi
parentf26da235e6a0ca2106e5ff5799c3bb5ad2b99df0 (diff)
in ansi c, bitfields must be done against int, unsigned int, or _Bool.
so we must start to use u_int; ok cloder
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/ss.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c
index a1ef72f1733..8f38c52b574 100644
--- a/sys/scsi/ss.c
+++ b/sys/scsi/ss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ss.c,v 1.51 2005/04/06 02:51:13 krw Exp $ */
+/* $OpenBSD: ss.c,v 1.52 2005/12/10 01:36:01 deraadt Exp $ */
/* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */
/*
@@ -877,9 +877,9 @@ ricoh_is410_sw(ss, sio, wcmd, vwd)
struct scsi_window_data window_data;
u_int8_t res1;
u_int8_t res2;
- u_int8_t mrif:1; /* reverse image format (grayscale negative) */
- u_int8_t filtering:3;
- u_int8_t gamma_id:4;
+ u_int mrif:1; /* reverse image format (grayscale negative) */
+ u_int filtering:3;
+ u_int gamma_id:4;
} *rwd = (struct ricoh_is410_window_data*)vwd;
struct scsi_link *sc_link = ss->sc_link;
@@ -950,10 +950,10 @@ fujitsu_m3096g_sw(ss, sio, wcmd, vwd)
u_int8_t mirroring;
u_int8_t res2[5];
u_int8_t subwindow_list[2];
- u_int8_t paper_size_std:2;
- u_int8_t res3:1;
- u_int8_t paper_orientaton:1;
- u_int8_t paper_size_type:4;
+ u_int paper_size_std:2;
+ u_int res3:1;
+ u_int paper_orientaton:1;
+ u_int paper_size_type:4;
/* defines for Paper Size Type: */
#define FUJITSU_PST_A3 0x03
#define FUJITSU_PST_A4 0x04