From cb7e1eaf5574ffbb587a448080a6ef695cdc497b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 20 Jun 2006 00:58:57 +0000 Subject: pack wwn fields into struct better; ok marco krw --- sys/scsi/scsiconf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/scsi/scsiconf.h') diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index 9dc1b48dd7a..7c34e3af3cd 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.h,v 1.65 2006/05/31 19:43:56 jason Exp $ */ +/* $OpenBSD: scsiconf.h,v 1.66 2006/06/20 00:58:56 deraadt Exp $ */ /* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */ /* @@ -163,11 +163,11 @@ struct scsi_link { u_int8_t scsibus; /* the Nth scsibus */ u_int16_t target; /* targ of this dev */ u_int16_t lun; /* lun of this dev */ - u_int64_t port_wwn; - u_int64_t node_wwn; + u_int16_t openings; /* available operations */ + u_int64_t port_wwn; /* world wide name of port */ + u_int64_t node_wwn; /* world wide name of node */ u_int16_t adapter_target; /* what are we on the scsi bus */ u_int16_t adapter_buswidth; /* 8 (regular) or 16 (wide). (0 becomes 8) */ - u_int16_t openings; /* available operations */ u_int16_t active; /* operations in progress */ u_int16_t flags; /* flags that all devices have */ #define SDEV_REMOVABLE 0x0001 /* media is removable */ -- cgit v1.2.3