/*
  * FDMI HBA attribute types.
  */
-#define FDMI1_HBA_ATTR_COUNT                   9
+#define FDMI1_HBA_ATTR_COUNT                   10
 #define FDMI2_HBA_ATTR_COUNT                   17
 
 #define FDMI_HBA_NODE_NAME                     0x1
 
        size += alen;
        ql_dbg(ql_dbg_disc, vha, 0x20a8,
            "FIRMWARE VERSION = %s.\n", eiter->a.fw_version);
-       if (callopt == CALLOPT_FDMI1)
-               goto done;
        /* OS Name and Version */
        eiter = entries + size;
        eiter->type = cpu_to_be16(FDMI_HBA_OS_NAME_AND_VERSION);
        size += alen;
        ql_dbg(ql_dbg_disc, vha, 0x20a9,
            "OS VERSION = %s.\n", eiter->a.os_version);
+       if (callopt == CALLOPT_FDMI1)
+               goto done;
        /* MAX CT Payload Length */
        eiter = entries + size;
        eiter->type = cpu_to_be16(FDMI_HBA_MAXIMUM_CT_PAYLOAD_LENGTH);
 
        BUILD_BUG_ON(sizeof(struct cmd_type_7_fx00) != 64);
        BUILD_BUG_ON(sizeof(struct cmd_type_crc_2) != 64);
        BUILD_BUG_ON(sizeof(struct ct_entry_24xx) != 64);
-       BUILD_BUG_ON(sizeof(struct ct_fdmi1_hba_attributes) != 2344);
+       BUILD_BUG_ON(sizeof(struct ct_fdmi1_hba_attributes) != 2604);
        BUILD_BUG_ON(sizeof(struct ct_fdmi2_hba_attributes) != 4424);
        BUILD_BUG_ON(sizeof(struct ct_fdmi2_port_attributes) != 4164);
        BUILD_BUG_ON(sizeof(struct ct_fdmi_hba_attr) != 260);