ispmbox.h (291519) | ispmbox.h (291520) |
---|---|
1/* $FreeBSD: stable/10/sys/dev/isp/ispmbox.h 291519 2015-11-30 21:44:03Z mav $ */ | 1/* $FreeBSD: stable/10/sys/dev/isp/ispmbox.h 291520 2015-11-30 21:44:38Z mav $ */ |
2/*- 3 * Copyright (c) 1997-2009 by Matthew Jacob 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * --- 231 unchanged lines hidden (view full) --- 241#define ASYNC_QWAKEUP 0x8005 242#define ASYNC_TIMEOUT_RESET 0x8006 243#define ASYNC_DEVICE_RESET 0x8007 244#define ASYNC_EXTMSG_UNDERRUN 0x800A 245#define ASYNC_SCAM_INT 0x800B 246#define ASYNC_HUNG_SCSI 0x800C 247#define ASYNC_KILLED_BUS 0x800D 248#define ASYNC_BUS_TRANSIT 0x800E /* LVD -> HVD, eg. */ | 2/*- 3 * Copyright (c) 1997-2009 by Matthew Jacob 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * --- 231 unchanged lines hidden (view full) --- 241#define ASYNC_QWAKEUP 0x8005 242#define ASYNC_TIMEOUT_RESET 0x8006 243#define ASYNC_DEVICE_RESET 0x8007 244#define ASYNC_EXTMSG_UNDERRUN 0x800A 245#define ASYNC_SCAM_INT 0x800B 246#define ASYNC_HUNG_SCSI 0x800C 247#define ASYNC_KILLED_BUS 0x800D 248#define ASYNC_BUS_TRANSIT 0x800E /* LVD -> HVD, eg. */ |
249#define ASYNC_LIP_OCCURRED 0x8010 | 249#define ASYNC_LIP_OCCURRED 0x8010 /* FC only */ |
250#define ASYNC_LOOP_UP 0x8011 251#define ASYNC_LOOP_DOWN 0x8012 | 250#define ASYNC_LOOP_UP 0x8011 251#define ASYNC_LOOP_DOWN 0x8012 |
252#define ASYNC_LOOP_RESET 0x8013 | 252#define ASYNC_LOOP_RESET 0x8013 /* FC only */ |
253#define ASYNC_PDB_CHANGED 0x8014 254#define ASYNC_CHANGE_NOTIFY 0x8015 | 253#define ASYNC_PDB_CHANGED 0x8014 254#define ASYNC_CHANGE_NOTIFY 0x8015 |
255#define ASYNC_LIP_F8 0x8016 256#define ASYNC_LIP_ERROR 0x8017 | 255#define ASYNC_LIP_F8 0x8016 /* FC only */ 256#define ASYNC_LIP_ERROR 0x8017 /* FC only */ 257#define ASYNC_AUTO_PLOGI_RJT 0x8018 |
257#define ASYNC_SECURITY_UPDATE 0x801B 258#define ASYNC_CMD_CMPLT 0x8020 259#define ASYNC_CTIO_DONE 0x8021 260#define ASYNC_RIO32_1 0x8021 261#define ASYNC_RIO32_2 0x8022 262#define ASYNC_IP_XMIT_DONE 0x8022 263#define ASYNC_IP_RECV_DONE 0x8023 264#define ASYNC_IP_BROADCAST 0x8024 265#define ASYNC_IP_RCVQ_LOW 0x8025 266#define ASYNC_IP_RCVQ_EMPTY 0x8026 267#define ASYNC_IP_RECV_DONE_ALIGNED 0x8027 | 258#define ASYNC_SECURITY_UPDATE 0x801B 259#define ASYNC_CMD_CMPLT 0x8020 260#define ASYNC_CTIO_DONE 0x8021 261#define ASYNC_RIO32_1 0x8021 262#define ASYNC_RIO32_2 0x8022 263#define ASYNC_IP_XMIT_DONE 0x8022 264#define ASYNC_IP_RECV_DONE 0x8023 265#define ASYNC_IP_BROADCAST 0x8024 266#define ASYNC_IP_RCVQ_LOW 0x8025 267#define ASYNC_IP_RCVQ_EMPTY 0x8026 268#define ASYNC_IP_RECV_DONE_ALIGNED 0x8027 |
268#define ASYNC_PTPMODE 0x8030 | 269#define ASYNC_ERR_LOGGING_DISABLED 0x8029 270#define ASYNC_PTPMODE 0x8030 /* FC only */ |
269#define ASYNC_RIO16_1 0x8031 270#define ASYNC_RIO16_2 0x8032 271#define ASYNC_RIO16_3 0x8033 272#define ASYNC_RIO16_4 0x8034 273#define ASYNC_RIO16_5 0x8035 274#define ASYNC_CONNMODE 0x8036 275#define ISP_CONN_LOOP 1 276#define ISP_CONN_PTP 2 277#define ISP_CONN_BADLIP 3 278#define ISP_CONN_FATAL 4 279#define ISP_CONN_LOOPBACK 5 | 271#define ASYNC_RIO16_1 0x8031 272#define ASYNC_RIO16_2 0x8032 273#define ASYNC_RIO16_3 0x8033 274#define ASYNC_RIO16_4 0x8034 275#define ASYNC_RIO16_5 0x8035 276#define ASYNC_CONNMODE 0x8036 277#define ISP_CONN_LOOP 1 278#define ISP_CONN_PTP 2 279#define ISP_CONN_BADLIP 3 280#define ISP_CONN_FATAL 4 281#define ISP_CONN_LOOPBACK 5 |
282#define ASYNC_P2P_INIT_ERR 0x8037 |
|
280#define ASYNC_RIOZIO_STALL 0x8040 /* there's a RIO/ZIO entry that hasn't been serviced */ 281#define ASYNC_RIO32_2_2200 0x8042 /* same as ASYNC_RIO32_2, but for 2100/2200 */ 282#define ASYNC_RCV_ERR 0x8048 | 283#define ASYNC_RIOZIO_STALL 0x8040 /* there's a RIO/ZIO entry that hasn't been serviced */ 284#define ASYNC_RIO32_2_2200 0x8042 /* same as ASYNC_RIO32_2, but for 2100/2200 */ 285#define ASYNC_RCV_ERR 0x8048 |
286/* 287 * 2.01.31 2200 Only. Need Bit 13 in Mailbox 1 for Set Firmware Options 288 * mailbox command to enable this. 289 */ 290#define ASYNC_QFULL_SENT 0x8049 291#define ASYNC_RJT_SENT 0x8049 /* 24XX only */ 292#define ASYNC_SEL_CLASS2_P_RJT_SENT 0x804f 293#define ASYNC_FW_RESTART_COMPLETE 0x8060 294#define ASYNC_TEMPERATURE_ALERT 0x8070 295#define ASYNC_INTER_DRIVER_COMP 0x8100 /* FCoE only */ 296#define ASYNC_INTER_DRIVER_NOTIFY 0x8101 /* FCoE only */ 297#define ASYNC_INTER_DRIVER_TIME_EXT 0x8102 /* FCoE only */ 298#define ASYNC_NIC_FW_STATE_CHANGE 0x8200 /* FCoE only */ 299#define ASYNC_AUTOLOAD_FW_COMPLETE 0x8400 300#define ASYNC_AUTOLOAD_FW_FAILURE 0x8401 |
|
283 284/* 285 * Firmware Options. There are a lot of them. 286 * 287 * IFCOPTN - ISP Fibre Channel Option Word N 288 */ 289#define IFCOPT1_EQFQASYNC (1 << 13) /* enable QFULL notification */ 290#define IFCOPT1_EAABSRCVD (1 << 12) --- 7 unchanged lines hidden (view full) --- 298#define IFCOPT1_LIPASYNC (1 << 1) 299#define IFCOPT1_LIPF8 (1 << 0) 300 301#define IFCOPT2_LOOPBACK (1 << 1) 302#define IFCOPT2_ATIO3_ONLY (1 << 0) 303 304#define IFCOPT3_NOPRLI (1 << 4) /* disable automatic sending of PRLI on local loops */ 305#define IFCOPT3_RNDASYNC (1 << 1) | 301 302/* 303 * Firmware Options. There are a lot of them. 304 * 305 * IFCOPTN - ISP Fibre Channel Option Word N 306 */ 307#define IFCOPT1_EQFQASYNC (1 << 13) /* enable QFULL notification */ 308#define IFCOPT1_EAABSRCVD (1 << 12) --- 7 unchanged lines hidden (view full) --- 316#define IFCOPT1_LIPASYNC (1 << 1) 317#define IFCOPT1_LIPF8 (1 << 0) 318 319#define IFCOPT2_LOOPBACK (1 << 1) 320#define IFCOPT2_ATIO3_ONLY (1 << 0) 321 322#define IFCOPT3_NOPRLI (1 << 4) /* disable automatic sending of PRLI on local loops */ 323#define IFCOPT3_RNDASYNC (1 << 1) |
306/* 307 * 2.01.31 2200 Only. Need Bit 13 in Mailbox 1 for Set Firmware Options 308 * mailbox command to enable this. 309 */ 310#define ASYNC_QFULL_SENT 0x8049 | |
311 312/* | 324 325/* |
313 * Needs to be enabled 314 */ 315#define ASYNC_AUTO_PLOGI_RJT 0x8018 316/* 317 * 24XX only 318 */ 319#define ASYNC_RJT_SENT 0x8049 320 321/* | |
322 * All IOCB Queue entries are this size 323 */ 324#define QENTRY_LEN 64 325 326/* 327 * Command Structure Definitions 328 */ 329 --- 2343 unchanged lines hidden --- | 326 * All IOCB Queue entries are this size 327 */ 328#define QENTRY_LEN 64 329 330/* 331 * Command Structure Definitions 332 */ 333 --- 2343 unchanged lines hidden --- |