summaryrefslogtreecommitdiff
path: root/sys/dev/i2o/iopsp.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2007-10-04 19:32:04 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2007-10-04 19:32:04 +0000
commit560e61364584b36003a0e88779851734c392dd1a (patch)
tree247ddeed4066bb3eeab3318116eaf0d58b6c9c8c /sys/dev/i2o/iopsp.c
parentc3fc5ca83aa11765a945ce86495ae32c0754d7c7 (diff)
attribute packed -> __packed
okayd by miod a while ago, ok by pyr
Diffstat (limited to 'sys/dev/i2o/iopsp.c')
-rw-r--r--sys/dev/i2o/iopsp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/i2o/iopsp.c b/sys/dev/i2o/iopsp.c
index b9a12fe5979..7168b940170 100644
--- a/sys/dev/i2o/iopsp.c
+++ b/sys/dev/i2o/iopsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iopsp.c,v 1.10 2007/09/16 01:04:18 krw Exp $ */
+/* $OpenBSD: iopsp.c,v 1.11 2007/10/04 19:32:03 gilles Exp $ */
/* $NetBSD$ */
/*-
@@ -105,7 +105,7 @@ iopsp_match(struct device *parent, void *match, void *aux)
struct i2o_param_op_results pr;
struct i2o_param_read_results prr;
struct i2o_param_hba_ctlr_info ci;
- } __attribute__ ((__packed__)) param;
+ } __packed param;
int rv;
if (ia->ia_class != I2O_CLASS_BUS_ADAPTER_PORT)
@@ -145,7 +145,7 @@ iopsp_attach(struct device *parent, struct device *self, void *aux)
struct i2o_param_hba_scsi_ctlr_info sci;
struct i2o_param_hba_scsi_port_info spi;
} p;
- } __attribute__ ((__packed__)) param;
+ } __packed param;
int fcal, rv;
#ifdef I2OVERBOSE
int size;
@@ -241,7 +241,7 @@ iopsp_reconfig(struct device *dv)
struct i2o_param_op_results pr;
struct i2o_param_read_results prr;
struct i2o_param_scsi_device_info sdi;
- } __attribute__ ((__packed__)) param;
+ } __packed param;
u_int tid, nent, i, targ, lun, size, s, rv, bptid;
u_short *tidmap;
#ifdef I2OVERBOSE