summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-20 00:58:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-20 00:58:57 +0000
commitcb7e1eaf5574ffbb587a448080a6ef695cdc497b (patch)
treec2b79db8746e14c161bd7146e2dc680003199e65 /sys/scsi/scsiconf.h
parent7163fc750d13d17d8b578599e11327cd83c0908b (diff)
pack wwn fields into struct better; ok marco krw
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r--sys/scsi/scsiconf.h8
1 files changed, 4 insertions, 4 deletions
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 */