Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Add in some mbox return codes that define when we...



details:   https://anonhg.NetBSD.org/src/rev/96af2ed614e1
branches:  trunk
changeset: 482666:96af2ed614e1
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Sat Feb 19 01:49:47 2000 +0000

description:
Add in some mbox return codes that define when we've used up target
ids for doing fabric login. Define the 'Get All Next' SNS response
structure.

diffstat:

 sys/dev/ic/ispmbox.h |  25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r 80b1ebb56d9e -r 96af2ed614e1 sys/dev/ic/ispmbox.h
--- a/sys/dev/ic/ispmbox.h      Sat Feb 19 00:44:31 2000 +0000
+++ b/sys/dev/ic/ispmbox.h      Sat Feb 19 01:49:47 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ispmbox.h,v 1.21 2000/02/12 02:26:26 mjacob Exp $ */
+/* $NetBSD: ispmbox.h,v 1.22 2000/02/19 01:49:47 mjacob Exp $ */
 /*
  * Copyright (C) 1997, 1998, 1999 National Aeronautics & Space Administration
  * All rights reserved.
@@ -152,6 +152,10 @@
 #define        MBOX_TEST_FAILED                0x4003
 #define        MBOX_COMMAND_ERROR              0x4005
 #define        MBOX_COMMAND_PARAM_ERROR        0x4006
+#define        MBOX_PORT_ID_USED               0x4007
+#define        MBOX_LOOP_ID_USED               0x4008
+#define        MBOX_ALL_IDS_USED               0x4009
+#define        MBOX_NOT_LOGGED_IN              0x400A
 
 /*
  * Asynchronous event status codes
@@ -641,4 +645,23 @@
 #define        SNS_GAN_RESP_SIZE       608     /* Maximum response size (bytes) */
 #define        SNS_GP3_RESP_SIZE       532     /* XXX: For 128 ports */
 
+typedef struct {
+       u_int8_t        snscb_cthdr[16];
+       u_int8_t        snscb_port_type;
+       u_int8_t        snscb_port_id[3];
+       u_int8_t        snscb_portname[8];
+       u_int8_t        snscb_pnlen;            /* symbolic port name length */
+       u_int8_t        snscb_pname[255];       /* symbolic port name */
+       u_int8_t        snscb_nodename[8];
+       u_int8_t        snscb_nnlen;            /* symbolic node name length */
+       u_int8_t        snscb_nname[255];       /* symbolic node name */
+       u_int8_t        snscb_ipassoc[8];
+       u_int8_t        snscb_ipaddr[16];
+       u_int8_t        snscb_svc_class[4];
+       u_int8_t        snscb_fc4_types[32];
+       u_int8_t        snscb_fpname[8];
+       u_int8_t        snscb_reserved;
+       u_int8_t        snscb_hardaddr[3];
+} sns_ganrsp_t;        /* Subcommand Response Structure */
+
 #endif /* _ISPMBOX_H */



Home | Main Index | Thread Index | Old Index