📄 ciport.h
字号:
/* Cluster size definitions */#define CSZ_8 8 /* Cluster size = 8 systems CIKMF */#define CSZ_16 16 /* Cluster size = 16 systems */#define CSZ_32 32 /* Cluster size = 32 systems */#define CSZ_64 64 /* Cluster size = 64 systems */#define CSZ_128 128 /* Cluster size = 128 systems */ /* Console Logging Format Codes */ /* 0 - No optional information logged*/ /* 1 - CI PPD special format code */ /* 2 - CI PPD special format code */ /* 3 - CI PPD special format code */ /* 4 - CI PPD special format code */ /* 5 - Rem port station addr logged */#define CF_LPORT 6 /* Local port station address logged */#define CF_PPR 7 /* PPR port register logged */#define CF_REGS 8 /* Port registers logged */#define CF_REGS2 9 /* Port registers logged */#define CF_BIREGS 10 /* BIIC registers logged */#define CF_PKT 11 /* CI packet fields logged */#define CF_UCODE 12 /* Microcode revision levels logged */#define CF_CPU 13 /* CPU revision levels logged */#define CF_INIT 14 /* Initial lport init info logged */ /* Device Attention Logging Modifiers*/#define LOG_NOREGS 0 /* Do not log device registers */#define LOG_REGS 1 /* Log device registers */ /* CI Informational Event Codes *//* CI informational events are either local or remote port specific. There are * currently no path specific CI informational events. ci_console_log(), * ci_cli[], and ci_cltab[][] must be updated to reflect new additions. * ci_log_dev_attn() must be updated when a new local port specific CI * informational event is added. ci_log_packet() must be updated when a new * remote port specific CI informational event is added. * * The following CI informational events are local port specific but may NOT * have the local port crash severity modifier( ESM_LPC ) applied: * * LPORT_INIT, LPORT_REINIT, POWERUP * * The following CI informational events are remote port specific: * * CABLE0_BG, CABLE1_BG, CABLES_CU, CABLE0_LBBG, CABLE1_LBBG * * NOTE: Local port specific CI informational events are never candidates for * application of the local port crash severity modifier( ESM_LPC ). * * NOTE: CABLE0_LBBG, CABLE1_LBBG are classified as remote port specific CI * informational events even though the identity of the remote port is * actually the local port. * * NOTE: Choose an appropriate console formatting code( CF ) which includes * displaying of the local port station address when updating ci_cli[] * with a new local port specific CI informational event. Choose one * which includes displaying of the remote port station address when * updating ci_cli[] with a new remote port specific CI informational * event. */#define I_CABLE0_BG ( PDI | 0x01 ) /* Cable 0 bad->good transition */#define I_CABLE1_BG ( PDI | 0x02 ) /* Cable 1 bad->good transition */#define I_CABLES_CU ( PDI | 0x03 ) /* Cables crossed->uncrossed */#define I_CABLE0_LBBG ( PDI | 0x04 ) /* Loopback Cable 0 bad->good transit*/#define I_CABLE1_LBBG ( PDI | 0x05 ) /* Loopback Cable 1 bad->good transit*/#define I_LPORT_INIT ( PDI | 0x06 ) /* Initial local port initialization */#define I_LPORT_REINIT ( PDI | 0x07 ) /* Local CI port initialization */#define I_POWERUP ( PDI | 0x08 ) /* Power restored to local port */ /* CI Warning Event Codes *//* CI warning events are either local or remote port specific. There are * currently no path specific CI warning events. ci_console_log(), * ci_cltab[][], and ci_clw[] must be updated to reflect new additions. * ci_log_dev_attn() must be updated when a new local port specific CI warning * event is added. ci_log_packet() must be updated when a new remote port * specific CI warning event is added. * * The following CI warning events are local port specific but may NOT have the * local port crash severity modifier( ESM_LPC ) applied: * * UCODE_WARN, POWER, STRAY * * The following CI warning events are remote port specific: * * CABLE0_GB, CABLE1_GB, CABLES_UC, CABLE0_LBGB, CABLE1_LBGB * * NOTE: Local port specific CI warning events are never candidates for * application of the local port crash severity modifier( ESM_LPC ). * * NOTE: CABLE0_LBGB, CABLE1_LBGB are classified as remote port specific CI * warning events even though the identity of the remote port is actually * the local port. * * NOTE: Choose an appropriate console formatting code( CF ) which includes * displaying of the local port station address when updating ci_clw[] * with a new local port specific CI warning event. Choose one which * includes displaying of the remote port station address when updating * ci_clw[] with a new remote port specific CI warning event. */#define W_CABLE0_GB ( PDW | 0x01 ) /* Cable 0 good->bad transition */#define W_CABLE1_GB ( PDW | 0x02 ) /* Cable 1 good->bad transition */#define W_CABLES_UC ( PDW | 0x03 ) /* Cables uncrossed->crossed */#define W_CABLE0_LBGB ( PDW | 0x04 ) /* Loopback Cable 0 good->bad transit*/#define W_CABLE1_LBGB ( PDW | 0x05 ) /* Loopback Cable 1 good->bad transit*/#define W_UCODE_WARN ( PDAW | 0x06 ) /* Out-of-revision microcode */#define W_POWER ( PDW | 0x07 ) /* Power failure occurred */#define W_STRAY ( PDW | 0x08 ) /* Stray interrupt received */ /* CI Remote Error Event Codes *//* CI remote error events are always remote port specific. There are currently * no local port or path specific CI remote error events. ci_console_log(), * ci_log_packet(), ci_clre[], and ci_cltab[][] must be updated to reflect new * additions. * * The following CI remote error events are remote port specific: * * RPORT_STATE * * NOTE: Choose an appropriate console formatting code( CF ) which includes * displaying of the remote port station address when updating ci_clre[] * with a new CI remote error event. */#define RE_RPORT_STATE ( PDRE | 0x01 ) /* Improper remote port state */ /* CI Error Event Codes *//* CI error events are either local port or path specific. There are * currently no remote port specific CI error events. ci_console_log(), * ci_cle[], and ci_cltab[][] must be updated to reflect new additions. * ci_log_dev_attn() must be updated when a new local port specific CI error * event is added. ci_log_packet() must be updated when a new path specific CI * error event is added. * * The following CI error events are local port specific but may NOT have the * local port crash severity modifier( ESM_LPC ) applied: * * NOMEM, UCODE_LOAD, UCODE_START * * The following CI error events are path specific but may NOT have the path * crash severity modifier( ESM_PC ) applied: * * NOCABLES, CLOSEDVCD, RPORTSTATE * * Path specific information is always displayed by default during console * logging of path specific CI error events. The local port station address is * always displayed by default during console logging of local port specific CI * error events. * * NOTE: Path and local port specific CI error events are NEVER candidates for * application of the path( ESM_PC ) or local port( ESM_LPC ) crash * severity modifiers. * * NOTE: When updating ci_cle[] with a new CI error event bear in mind the * information displayed by default when choosing an appropriate console * formatting code( CF ). */#define E_NOMEM ( PDE | 0x01 ) /* Insufficient memory to init port */#define E_UCODE_LOAD ( PDE | 0x02 ) /* Unable to verify microcode load */#define E_UCODE_START ( PDE | 0x03 ) /* Unable to start microcode */#define E_NOCABLES ( PDE | 0x04 ) /* Closing vc due to cable failures */#define E_CLOSEDVCD ( PDE | 0x05 ) /* Message on closed VC received */#define E_RPORTSTATE ( PDE | 0x06 ) /* Remote port in invalid state */ /* CI Severe Error Event Codes *//* CI severe error events are either local port or path specific. There are * currently no remote port specific CI severe error events. ci_console_log(), * ci_clse[], and ci_cltab[][] must be updated to reflect new additions. * Either ci_log_dev_attn() or ci_log_packet() must be updated when a new local * port specific CI severe error event is added, depending upon the nature of * the event. ci_log_packet() must be updated when a new path specific CI * severe error event is added. ci_crash_lport() also requires updating when * the new addition is a candidate for application of the local port crash * severity modifier( ESM_LPC ). * * The following CI severe error events are local port specific and may have * the local port crash severity modifier( ESM_LPC ) applied: * * INVBNAME, INVBSIZE, BACCVIO, INVLPKTSIZE, INVDPORT, UNKCMD, ABORTPKT, * UNKSTATUS, UNKOPCODE, INVOPCODE, POWER, POWERUP, ICMDQ0, ICMDQ1, * ICMDQ2, ICMDQ3, IDFREEQ, IMFREEQ, RRSPQ, RDFREEQ, RMFREEQ, MSE, BIMSE, * DSE, PARITY, BIPARITY, PORTERROR, BIERROR, SANITYTIMER, MFQE * * The following CI severe error events are local port specific but may NOT * have the local port crash severity modifier( ESM_LPC ) applied: * * BADPORTNUM * * The following CI severe error events are path specific but may NOT have the * path crash severity modifier( ESM_PC ) applied: * * BMSE, INVRPKTSIZE, UNRECPKT, OSEQMSG * * Path specific information is always displayed by default during console * logging of path specific CI severe error events. The local port station * address is always displayed by default during console logging of local port * specific CI severe error events. * * NOTE: Path specific CI severe error events are NEVER candidates for * application of the path crash severity modifier( ESM_PC ). Not all * local port specific CI severe error events are candidates for * application of the local port crash severity modifier( ESM_LPC ). * * NOTE: When updating ci_clse[] with a new CI severe error event bear in mind * the information displayed by default when choosing an appropriate * console formatting code( CF ). */#define SE_BMSE ( PDSE | 0x01 ) /* Port closed vc - buf mem failures */#define SE_INVRPKTSIZE ( PDSE | 0x02 ) /* received invalid sized packet */#define SE_UNRECPKT ( PDSE | 0x03 ) /* Unrecognized packet received */#define SE_OSEQMSG ( PDSE | 0x04 ) /* Out-of-sequenced message received */#define SE_BADPORTNUM ( PDSE | 0x05 ) /* Invalid port number encountered */#define SE_INVBNAME ( PDSE | 0x06 ) /* Invalid local buffer name */#define SE_INVBSIZE ( PDSE | 0x07 ) /* Local buffer length violation */#define SE_BACCVIO ( PDSE | 0x08 ) /* Accvio during local buffer access */#define SE_INVLPKTSIZE ( PDSE | 0x09 ) /* local packet size violation */#define SE_INVDPORT ( PDSE | 0x0A ) /* Invalid destination port */#define SE_UNKCMD ( PDSE | 0x0B ) /* Unknown local port command */#define SE_ABORTPKT ( PDSE | 0x0C ) /* Aborted port command encountered */#define SE_UNKSTATUS ( PDSE | 0x0D ) /* Unknown status in packet */#define SE_UNKOPCODE ( PDSE | 0x0E ) /* Unknown opcode in packet */#define SE_INVOPCODE ( PDSE | 0x0F ) /* Invalid opcode in packet */#define SE_POWER ( PDSE | 0x10 ) /* Power failure occurred */#define SE_POWERUP ( PDSE | 0x11 ) /* Power restored to local port */#define SE_ICMDQ0 ( PDSE | 0x12 ) /* CMDQ0 interlocked on insertion */#define SE_ICMDQ1 ( PDSE | 0x13 ) /* CMDQ1 interlocked on insertion */#define SE_ICMDQ2 ( PDSE | 0x14 ) /* CMDQ2 interlocked on insertion */#define SE_ICMDQ3 ( PDSE | 0x15 ) /* CMDQ3 interlocked on insertion */#define SE_IDFREEQ ( PDSE | 0x16 ) /* DFREEQ interlocked on insertion */#define SE_IMFREEQ ( PDSE | 0x17 ) /* MFREEQ interlocked on insertion */#define SE_RRSPQ ( PDSE | 0x18 ) /* RSPQ interlocked on removal */#define SE_RDFREEQ ( PDSE | 0x19 ) /* DFREEQ interlocked on removal */#define SE_RMFREEQ ( PDSE | 0x1A ) /* MFREEQ interlocked on removal */#define SE_MSE ( PDSE | 0x1B ) /* Memory system error reported */#define SE_BIMSE ( PDSE | 0x1C ) /* BI Memory system error reported */#define SE_DSE ( PDSE | 0x1D ) /* Data structure error reported */#define SE_PARITY ( PDSE | 0x1E ) /* Parity error reported */#define SE_BIPARITY ( PDSE | 0x1F ) /* BI parity error reported */#define SE_PORTERROR ( PDSE | 0x20 ) /* Miscellaneous port error reported */#define SE_BIERROR ( PDSE | 0x21 ) /* Miscellaneous BI error reported */#define SE_SANITYTIMER ( PDSE | 0x22 ) /* Sanity timer expired */#define SE_MFQE ( PDSE | 0x23 ) /* Message free queue exhausted */#define SE_INVPA ( PDSE | 0x24 ) /* Invalid port addr. in recv. pkt. */#define SE_INVSN ( PDSE | 0x25 ) /* Invalid sequence number received */#define SE_INVDDL ( PDSE | 0x26 ) /* Invalid datalink address received */#define SE_IRESVCD ( PDSE | 0x27 ) /* Insufficient VCD entries */#define SE_IRESEQ ( PDSE | 0x28 ) /* Insuff. RESEQ resources (RDP only)*/#define SE_DISCVCPKT ( PDSE | 0x29 ) /* Discarded VC packet ( RDP only ) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -