From fd13aa474579e5b3844a5bbab9e3318aa646f2de Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Mon, 4 Jun 2001 18:08:30 +0000 Subject: [PATCH] first blush at some FC path inquiry settings --- sys/cam/cam_ccb.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index 3a52f9744eea..232eeaa60cab 100644 --- a/sys/cam/cam_ccb.h +++ b/sys/cam/cam_ccb.h @@ -521,6 +521,13 @@ typedef enum { struct ccb_pathinq_settings_spi { u_int8_t ppr_options; }; +struct ccb_pathinq_settings_fc { + u_int64_t wwnn; /* world wide node name */ + u_int64_t wwpn; /* world wide port name */ + u_int32_t port; /* 24 bit port id, if known */ + u_int32_t bitrate; /* Mbps */ +}; +#define PATHINQ_SETTINGS_SIZE 128 #endif /* CAM_NEW_TRAN_CODE */ struct ccb_pathinq { @@ -550,6 +557,8 @@ struct ccb_pathinq { u_int transport_version; union { struct ccb_pathinq_settings_spi spi; + struct ccb_pathinq_settings_fc fc; + char ccb_pathinq_settings_opaque[PATHINQ_SETTINGS_SIZE]; } xport_specific; #endif /* CAM_NEW_TRAN_CODE */ };