Go to the documentation of this file.
50 #define FS_MSVALID (1<<15)
51 #define FS_MSRABT (1<<14)
52 #define FS_SSRCRTG (1<<12)
53 #define FS_SEAC2 (FS_EI<<9)
54 #define FS_SEAC1 (FS_AI<<9)
55 #define FS_SEAC0 (FS_CI<<9)
56 #define FS_SFRMERR (1<<8)
57 #define FS_SADRRG (1<<7)
58 #define FS_SFRMTY2 (1<<6)
59 #define FS_SFRMTY1 (1<<5)
60 #define FS_SFRMTY0 (1<<4)
61 #define FS_ERFBB1 (1<<1)
62 #define FS_ERFBB0 (1<<0)
77 #define RX_MSVALID ((long)1<<31)
78 #define RX_MSRABT ((long)1<<30)
79 #define RX_FS_E ((long)FS_SEAC2<<16)
80 #define RX_FS_A ((long)FS_SEAC1<<16)
81 #define RX_FS_C ((long)FS_SEAC0<<16)
82 #define RX_FS_CRC ((long)FS_SFRMERR<<16)
83 #define RX_FS_ADDRESS ((long)FS_SADRRG<<16)
84 #define RX_FS_MAC ((long)FS_SFRMTY2<<16)
85 #define RX_FS_SMT ((long)0<<16)
86 #define RX_FS_IMPL ((long)FS_SFRMTY1<<16)
87 #define RX_FS_LLC ((long)FS_SFRMTY0<<16)
128 #define RD_S_ERFBB 0x00030000L
129 #define RD_S_RES2 0x000c0000L
130 #define RD_S_SFRMTY 0x00700000L
131 #define RD_S_SADRRG 0x00800000L
132 #define RD_S_SFRMERR 0x01000000L
133 #define RD_S_SEAC 0x0e000000L
134 #define RD_S_SEAC0 0x02000000L
135 #define RD_S_SEAC1 0x04000000L
136 #define RD_S_SEAC2 0x08000000L
137 #define RD_S_SSRCRTG 0x10000000L
138 #define RD_S_RES1 0x20000000L
139 #define RD_S_MSRABT 0x40000000L
140 #define RD_S_MSVALID 0x80000000L
142 #define RD_STATUS 0xffff0000L
143 #define RD_LENGTH 0x0000ffffL
147 #define RD_FRM_SMT (unsigned long)(0<<20)
148 #define RD_FRM_LLCA (unsigned long)(1<<20)
149 #define RD_FRM_IMPA (unsigned long)(2<<20)
150 #define RD_FRM_MAC (unsigned long)(4<<20)
151 #define RD_FRM_LLCS (unsigned long)(5<<20)
152 #define RD_FRM_IMPS (unsigned long)(6<<20)
154 #define TX_DESCRIPTOR 0x40000000L
155 #define TX_OFFSET_3 0x18000000L
188 #define TD_C_MORE 0x80000000L
189 #define TD_C_DESCR 0x60000000L
190 #define TD_C_TXFBB 0x18000000L
191 #define TD_C_XDONE 0x04000000L
192 #define TD_C_NFCS 0x02000000L
193 #define TD_C_XMTABT 0x01000000L
195 #define TD_C_LNCNU 0x0000ff00L
196 #define TD_C_LNCNL 0x000000ffL
197 #define TD_C_LNCN 0x0000ffffL
218 #define TD_P_CNTRL 0xff000000L
219 #define TD_P_RPXU 0x0000ff00L
220 #define TD_P_RPXL 0x000000ffL
221 #define TD_P_RPX 0x0000ffffL
224 #define TX_PATTERN 0xa0
225 #define TX_POINTER_END 0xa0000000L
226 #define TX_INT_PATTERN 0xa0000000L
241 #define FM_CMDREG1 0x00
242 #define FM_CMDREG2 0x01
247 #define FM_IMSK1U 0x04
248 #define FM_IMSK1L 0x05
249 #define FM_IMSK2U 0x06
250 #define FM_IMSK2L 0x07
259 #define FM_MDREG1 0x10
260 #define FM_STMCHN 0x11
272 #define FM_TREQ0 0x1a
273 #define FM_TREQ1 0x1b
277 #define FM_TSYNC 0x1f
278 #define FM_MDREG2 0x20
279 #define FM_FRMTHR 0x21
283 #define FM_EARV1 FM_EARV
291 #define FM_WPXSF 0x2a
292 #define FM_RPXSF 0x2b
297 #define FM_RPR1 FM_RPR
298 #define FM_WPR1 FM_WPR
299 #define FM_SWPR1 FM_SWPR
302 #define FM_WPXA0 0x31
303 #define FM_WPXA1 0x32
304 #define FM_WPXA2 0x33
305 #define FM_SWPXS 0x34
306 #define FM_SWPXA0 0x35
307 #define FM_SWPXA1 0x36
308 #define FM_SWPXA2 0x37
310 #define FM_RPXA0 0x39
311 #define FM_RPXA1 0x3a
312 #define FM_RPXA2 0x3b
319 #define FM_TMSYNC 0x40
320 #define FM_FCNTR 0x41
321 #define FM_LCNTR 0x42
322 #define FM_ECNTR 0x43
325 #define FM_FSCNTR 0x44
326 #define FM_FRSELREG 0x45
329 #define FM_MDREG3 0x60
332 #define FM_IMSK3U 0x63
333 #define FM_IMSK3L 0x64
339 #define FM_SWPR2 0x6a
340 #define FM_EARV2 0x6b
341 #define FM_UNLCKDLY 0x6c
345 #define FM_LTDPA1 0x79
349 #define FM_AFCMD 0xb0
350 #define FM_AFSTAT 0xb2
351 #define FM_AFBIST 0xb4
352 #define FM_AFCOMP2 0xb6
353 #define FM_AFCOMP1 0xb8
354 #define FM_AFCOMP0 0xba
355 #define FM_AFMASK2 0xbc
356 #define FM_AFMASK1 0xbe
357 #define FM_AFMASK0 0xc0
358 #define FM_AFPERS 0xc2
361 #define FM_ORBIST 0xd0
362 #define FM_ORSTAT 0xd2
368 #define FM_RES0 0x0001
370 #define FM_XMTINH_HOLD 0x0002
372 #define FM_HOFLXI 0x0003
373 #define FM_FULL_HALF 0x0004
374 #define FM_LOCKTX 0x0008
375 #define FM_EXGPA0 0x0010
376 #define FM_EXGPA1 0x0020
377 #define FM_DISCRY 0x0040
379 #define FM_SELRA 0x0080
381 #define FM_ADDET 0x0700
382 #define FM_MDAMA (0<<8)
383 #define FM_MDASAMA (1<<8)
384 #define FM_MRNNSAFNMA (2<<8)
385 #define FM_MRNNSAF (3<<8)
386 #define FM_MDISRCV (4<<8)
387 #define FM_MRES0 (5<<8)
388 #define FM_MLIMPROM (6<<8)
389 #define FM_MPROMISCOUS (7<<8)
391 #define FM_SELSA 0x0800
393 #define FM_MMODE 0x7000
394 #define FM_MINIT (0<<12)
395 #define FM_MMEMACT (1<<12)
396 #define FM_MONLINESP (2<<12)
397 #define FM_MONLINE (3<<12)
398 #define FM_MILOOP (4<<12)
399 #define FM_MRES1 (5<<12)
400 #define FM_MRES2 (6<<12)
401 #define FM_MELOOP (7<<12)
403 #define FM_SNGLFRM 0x8000
406 #define MDR1INIT (FM_MINIT | FM_MDAMA)
411 #define FM_AFULL 0x000f
412 #define FM_RCVERR 0x0010
413 #define FM_SYMCTL 0x0020
415 #define FM_SYNPRQ 0x0040
416 #define FM_ENNPRQ 0x0080
417 #define FM_ENHSRQ 0x0100
418 #define FM_RXFBB01 0x0600
419 #define FM_LSB 0x0800
420 #define FM_PARITY 0x1000
421 #define FM_CHKPAR 0x2000
422 #define FM_STRPFCS 0x4000
423 #define FM_BMMODE 0x8000
429 #define FM_STEFRMS 0x0001
430 #define FM_STEFRMA0 0x0002
431 #define FM_STEFRMA1 0x0004
432 #define FM_STEFRMA2 0x0008
434 #define FM_STECFRMS 0x0010
436 #define FM_STECFRMA0 0x0020
438 #define FM_STECFRMA1 0x0040
440 #define FM_STECMDA1 0x0040
441 #define FM_STECFRMA2 0x0080
443 #define FM_STEXDONS 0x0100
444 #define FM_STBFLA 0x0200
445 #define FM_STBFLS 0x0400
446 #define FM_STXABRS 0x0800
447 #define FM_STXABRA0 0x1000
448 #define FM_STXABRA1 0x2000
449 #define FM_STXABRA2 0x4000
451 #define FM_SXMTABT 0x8000
456 #define FM_SQLCKS 0x0001
457 #define FM_SQLCKA0 0x0002
458 #define FM_SQLCKA1 0x0004
459 #define FM_SQLCKA2 0x0008
461 #define FM_STXINFLS 0x0010
463 #define FM_STXINFLA0 0x0020
465 #define FM_STXINFLA1 0x0040
467 #define FM_STXINFLA2 0x0080
469 #define FM_SPCEPDS 0x0100
470 #define FM_SPCEPDA0 0x0200
471 #define FM_SPCEPDA1 0x0400
472 #define FM_SPCEPDA2 0x0800
474 #define FM_STBURS 0x1000
475 #define FM_STBURA0 0x2000
476 #define FM_STBURA1 0x4000
477 #define FM_STBURA2 0x8000
483 #define FM_SOTRBEC 0x0001
484 #define FM_SMYBEC 0x0002
485 #define FM_SBEC 0x0004
486 #define FM_SLOCLM 0x0008
487 #define FM_SHICLM 0x0010
488 #define FM_SMYCLM 0x0020
489 #define FM_SCLM 0x0040
490 #define FM_SERRSF 0x0080
491 #define FM_SNFSLD 0x0100
492 #define FM_SRFRCTOV 0x0200
494 #define FM_SRCVFRM 0x0400
496 #define FM_SRCVOVR 0x0800
497 #define FM_SRBFL 0x1000
498 #define FM_SRABT 0x2000
499 #define FM_SRBMT 0x4000
500 #define FM_SRCOMP 0x8000
506 #define FM_SRES0 0x0001
507 #define FM_SESTRIPTK 0x0001
508 #define FM_STRTEXR 0x0002
509 #define FM_SDUPCLM 0x0004
510 #define FM_SSIFG 0x0008
511 #define FM_SFRMCTR 0x0010
512 #define FM_SERRCTR 0x0020
513 #define FM_SLSTCTR 0x0040
514 #define FM_SPHINV 0x0080
515 #define FM_SADET 0x0100
516 #define FM_SMISFRM 0x0200
517 #define FM_STRTEXP 0x0400
518 #define FM_STVXEXP 0x0800
519 #define FM_STKISS 0x1000
520 #define FM_STKERR 0x2000
521 #define FM_SMULTDA 0x4000
522 #define FM_SRNGOP 0x8000
528 #define FM_SRQUNLCK1 0x0001
529 #define FM_SRQUNLCK2 0x0002
530 #define FM_SRPERRQ1 0x0004
531 #define FM_SRPERRQ2 0x0008
533 #define FM_SRCVOVR2 0x0800
534 #define FM_SRBFL2 0x1000
535 #define FM_SRABT2 0x2000
536 #define FM_SRBMT2 0x4000
537 #define FM_SRCOMP2 0x8000
543 #define FM_AF_BIST_DONE 0x0001
544 #define FM_PLC_BIST_DONE 0x0002
545 #define FM_PDX_BIST_DONE 0x0004
547 #define FM_SICAMDAMAT 0x0010
548 #define FM_SICAMDAXACT 0x0020
549 #define FM_SICAMSAMAT 0x0040
550 #define FM_SICAMSAXACT 0x0080
555 #define FM_MDRTAG 0x0004
556 #define FM_SNPPND 0x0008
557 #define FM_TXSTAT 0x0070
558 #define FM_RCSTAT 0x0380
559 #define FM_TM01 0x0c00
560 #define FM_SIM 0x1000
561 #define FM_REV 0xe000
567 #define FM_MENRS 0x0001
568 #define FM_MENXS 0x0002
569 #define FM_MENXCT 0x0004
570 #define FM_MENAFULL 0x0008
571 #define FM_MEIND 0x0030
572 #define FM_MENQCTRL 0x0040
573 #define FM_MENRQAUNLCK 0x0080
574 #define FM_MENDAS 0x0100
575 #define FM_MENPLCCST 0x0200
576 #define FM_MENSGLINT 0x0400
577 #define FM_MENDRCV 0x0800
578 #define FM_MENFCLOC 0x3000
579 #define FM_MENTRCMD 0x4000
580 #define FM_MENTDLPBK 0x8000
586 #define FM_RECV1 0x000f
587 #define FM_RCV1_ALL (0<<0)
588 #define FM_RCV1_LLC (1<<0)
589 #define FM_RCV1_SMT (2<<0)
590 #define FM_RCV1_NSMT (3<<0)
591 #define FM_RCV1_IMP (4<<0)
592 #define FM_RCV1_MAC (5<<0)
593 #define FM_RCV1_SLLC (6<<0)
594 #define FM_RCV1_ALLC (7<<0)
595 #define FM_RCV1_VOID (8<<0)
596 #define FM_RCV1_ALSMT (9<<0)
597 #define FM_RECV2 0x00f0
598 #define FM_RCV2_ALL (0<<4)
599 #define FM_RCV2_LLC (1<<4)
600 #define FM_RCV2_SMT (2<<4)
601 #define FM_RCV2_NSMT (3<<4)
602 #define FM_RCV2_IMP (4<<4)
603 #define FM_RCV2_MAC (5<<4)
604 #define FM_RCV2_SLLC (6<<4)
605 #define FM_RCV2_ALLC (7<<4)
606 #define FM_RCV2_VOID (8<<4)
607 #define FM_RCV2_ALSMT (9<<4)
608 #define FM_ENXMTADSWAP 0x4000
609 #define FM_ENRCVADSWAP 0x8000
615 #define FM_INST 0x0007
616 #define FM_IINV_CAM (0<<0)
617 #define FM_IWRITE_CAM (1<<0)
618 #define FM_IREAD_CAM (2<<0)
619 #define FM_IRUN_BIST (3<<0)
620 #define FM_IFIND (4<<0)
621 #define FM_IINV (5<<0)
622 #define FM_ISKIP (6<<0)
623 #define FM_ICL_SKIP (7<<0)
630 #define FM_REV_NO 0x00e0
631 #define FM_BIST_DONE 0x0100
632 #define FM_EMPTY 0x0200
633 #define FM_ERROR 0x0400
634 #define FM_MULT 0x0800
635 #define FM_EXACT 0x1000
636 #define FM_FOUND 0x2000
637 #define FM_FULL 0x4000
638 #define FM_DONE 0x8000
644 #define AF_BIST_SIGNAT 0x0553
650 #define FM_VALID 0x0001
652 #define FM_DAX 0x0004
654 #define FM_SAX 0x0010
655 #define FM_SKIP 0x0020
660 #define FM_IRESET 0x01
661 #define FM_IRMEMWI 0x02
662 #define FM_IRMEMWO 0x03
666 #define FM_ILTVX 0x07
667 #define FM_INRTM 0x08
668 #define FM_IENTM 0x09
669 #define FM_IERTM 0x0a
671 #define FM_ISURT 0x0c
674 #define FM_IESIM 0x0f
675 #define FM_ICLLS 0x11
676 #define FM_ICLLA0 0x12
677 #define FM_ICLLA1 0x14
678 #define FM_ICLLA2 0x18
680 #define FM_ICLLR 0x20
681 #define FM_ICLLR2 0x21
682 #define FM_ITRXBUS 0x22
683 #define FM_IDRXBUS 0x23
684 #define FM_ICLLAL 0x3f
691 #define FM_ITRA0 0x02
693 #define FM_ITRA1 0x04
695 #define FM_ITRA2 0x08
697 #define FM_IACTR 0x10
698 #define FM_IRSTQ 0x20
699 #define FM_ISTTB 0x30
700 #define FM_IERSF 0x40
712 #define PL_CNTRL_A 0x00
713 #define PL_CNTRL_B 0x01
714 #define PL_INTR_MASK 0x02
715 #define PL_XMIT_VECTOR 0x03
716 #define PL_VECTOR_LEN 0x04
717 #define PL_LE_THRESHOLD 0x05
718 #define PL_C_MIN 0x06
719 #define PL_TL_MIN 0x07
720 #define PL_TB_MIN 0x08
721 #define PL_T_OUT 0x09
722 #define PL_CNTRL_C 0x0a
723 #define PL_LC_LENGTH 0x0b
724 #define PL_T_SCRUB 0x0c
725 #define PL_NS_MAX 0x0d
726 #define PL_TPC_LOAD_V 0x0e
727 #define PL_TNE_LOAD_V 0x0f
728 #define PL_STATUS_A 0x10
729 #define PL_STATUS_B 0x11
732 #define PL_CLK_DIV 0x14
733 #define PL_BIST_SIGNAT 0x15
734 #define PL_RCV_VECTOR 0x16
735 #define PL_INTR_EVENT 0x17
736 #define PL_VIOL_SYM_CTR 0x18
737 #define PL_MIN_IDLE_CTR 0x19
738 #define PL_LINK_ERR_CTR 0x1a
740 #define PL_T_FOT_ASS 0x1e
741 #define PL_T_FOT_DEASS 0x1f
749 #define QELM_XBAR_W 0x80
750 #define QELM_XBAR_X 0x81
751 #define QELM_XBAR_Y 0x82
752 #define QELM_XBAR_Z 0x83
753 #define QELM_XBAR_P 0x84
754 #define QELM_XBAR_S 0x85
755 #define QELM_XBAR_R 0x86
756 #define QELM_WR_XBAR 0x87
757 #define QELM_CTR_W 0x88
758 #define QELM_CTR_X 0x89
759 #define QELM_CTR_Y 0x8a
760 #define QELM_CTR_Z 0x8b
761 #define QELM_INT_MASK 0x8c
762 #define QELM_INT_DATA 0x8d
763 #define QELM_ELMB 0x00
764 #define QELM_ELM_SIZE 0x20
771 #define PL_RUN_BIST 0x0001
772 #define PL_RF_DISABLE 0x0002
773 #define PL_SC_REM_LOOP 0x0004
774 #define PL_SC_BYPASS 0x0008
775 #define PL_LM_LOC_LOOP 0x0010
776 #define PL_EB_LOC_LOOP 0x0020
777 #define PL_FOT_OFF 0x0040
778 #define PL_LOOPBACK 0x0080
779 #define PL_MINI_CTR_INT 0x0100
780 #define PL_VSYM_CTR_INT 0x0200
781 #define PL_ENA_PAR_CHK 0x0400
782 #define PL_REQ_SCRUB 0x0800
783 #define PL_TPC_16BIT 0x1000
784 #define PL_TNE_16BIT 0x2000
785 #define PL_NOISE_TIMER 0x4000
792 #define PL_PCM_CNTRL 0x0003
793 #define PL_PCM_NAF (0)
794 #define PL_PCM_START (1)
795 #define PL_PCM_TRACE (2)
796 #define PL_PCM_STOP (3)
798 #define PL_MAINT 0x0004
799 #define PL_LONG 0x0008
800 #define PL_PC_JOIN 0x0010
802 #define PL_PC_LOOP 0x0060
803 #define PL_NOLCT (0<<5)
804 #define PL_TPDR (1<<5)
805 #define PL_TIDLE (2<<5)
806 #define PL_RLBP (3<<5)
808 #define PL_CLASS_S 0x0080
810 #define PL_MAINT_LS 0x0700
811 #define PL_M_QUI0 (0<<8)
812 #define PL_M_IDLE (1<<8)
813 #define PL_M_HALT (2<<8)
814 #define PL_M_MASTR (3<<8)
815 #define PL_M_QUI1 (4<<8)
816 #define PL_M_QUI2 (5<<8)
817 #define PL_M_TPDR (6<<8)
818 #define PL_M_QUI3 (7<<8)
820 #define PL_MATCH_LS 0x7800
821 #define PL_I_ANY (0<<11)
822 #define PL_I_IDLE (1<<11)
823 #define PL_I_HALT (2<<11)
824 #define PL_I_MASTR (4<<11)
825 #define PL_I_QUIET (8<<11)
827 #define PL_CONFIG_CNTRL 0x8000
833 #define PL_C_CIPHER_ENABLE (1<<0)
834 #define PL_C_CIPHER_LPBCK (1<<1)
835 #define PL_C_SDOFF_ENABLE (1<<6)
836 #define PL_C_SDON_ENABLE (1<<7)
838 #define PL_C_FOTOFF_CTRL (3<<2)
839 #define PL_C_FOTOFF_TIM (0<<2)
840 #define PL_C_FOTOFF_INA (2<<2)
841 #define PL_C_FOTOFF_ACT (3<<2)
842 #define PL_C_FOTOFF_SRCE (1<<4)
843 #define PL_C_RXDATA_EN (1<<5)
844 #define PL_C_SDNRZEN (1<<8)
846 #define PL_C_FOTOFF_CTRL (3<<8)
847 #define PL_C_FOTOFF_0 (0<<8)
848 #define PL_C_FOTOFF_30 (1<<8)
849 #define PL_C_FOTOFF_50 (2<<8)
850 #define PL_C_FOTOFF_NEVER (3<<8)
851 #define PL_C_SDON_TIMER (3<<10)
852 #define PL_C_SDON_084 (0<<10)
853 #define PL_C_SDON_132 (1<<10)
854 #define PL_C_SDON_252 (2<<10)
855 #define PL_C_SDON_512 (3<<10)
856 #define PL_C_SOFF_TIMER (3<<12)
857 #define PL_C_SOFF_076 (0<<12)
858 #define PL_C_SOFF_132 (1<<12)
859 #define PL_C_SOFF_252 (2<<12)
860 #define PL_C_SOFF_512 (3<<12)
861 #define PL_C_TSEL (3<<14)
870 #define PLC_INT_MASK 0xc000
871 #define PLC_INT_C 0x0000
872 #define PLC_INT_CAMEL 0x4000
873 #define PLC_INT_QE 0x8000
874 #define PLC_REV_MASK 0x3800
875 #define PLC_REVISION_B 0x0000
876 #define PLC_REVISION_QA 0x0800
878 #define PLC_REV_MASK 0xf800
879 #define PLC_REVISION_A 0x0000
880 #define PLC_REVISION_S 0xf800
881 #define PLC_REV_SN3 0x7800
883 #define PL_SYM_PR_CTR 0x0007
884 #define PL_UNKN_LINE_ST 0x0008
885 #define PL_LSM_STATE 0x0010
887 #define PL_LINE_ST 0x00e0
888 #define PL_L_NLS (0<<5)
889 #define PL_L_ALS (1<<5)
890 #define PL_L_UND (2<<5)
891 #define PL_L_ILS4 (3<<5)
892 #define PL_L_QLS (4<<5)
893 #define PL_L_MLS (5<<5)
894 #define PL_L_HLS (6<<5)
895 #define PL_L_ILS16 (7<<5)
897 #define PL_PREV_LINE_ST 0x0300
898 #define PL_P_QLS (0<<8)
899 #define PL_P_MLS (1<<8)
900 #define PL_P_HLS (2<<8)
901 #define PL_P_ILS16 (3<<8)
903 #define PL_SIGNAL_DET 0x0400
910 #define PL_BREAK_REASON 0x0007
919 #define PL_TCF 0x0008
920 #define PL_RCF 0x0010
921 #define PL_LSF 0x0020
922 #define PL_PCM_SIGNAL 0x0040
924 #define PL_PCM_STATE 0x0780
925 #define PL_PC0 (0<<7)
926 #define PL_PC1 (1<<7)
927 #define PL_PC2 (2<<7)
928 #define PL_PC3 (3<<7)
929 #define PL_PC4 (4<<7)
930 #define PL_PC5 (5<<7)
931 #define PL_PC6 (6<<7)
932 #define PL_PC7 (7<<7)
933 #define PL_PC8 (8<<7)
934 #define PL_PC9 (9<<7)
937 #define PL_PCI_SCRUB 0x0800
939 #define PL_PCI_STATE 0x3000
940 #define PL_CI_REMV (0<<12)
941 #define PL_CI_ISCR (1<<12)
942 #define PL_CI_RSCR (2<<12)
943 #define PL_CI_INS (3<<12)
945 #define PL_RF_STATE 0xc000
946 #define PL_RF_REPT (0<<14)
947 #define PL_RF_IDLE (1<<14)
948 #define PL_RF_HALT1 (2<<14)
949 #define PL_RF_HALT2 (3<<14)
957 #define PL_PARITY_ERR 0x0001
958 #define PL_LS_MATCH 0x0002
959 #define PL_PCM_CODE 0x0004
960 #define PL_TRACE_PROP 0x0008
961 #define PL_SELF_TEST 0x0010
962 #define PL_PCM_BREAK 0x0020
963 #define PL_PCM_ENABLED 0x0040
964 #define PL_TPC_EXPIRED 0x0080
965 #define PL_TNE_EXPIRED 0x0100
966 #define PL_EBUF_ERR 0x0200
967 #define PL_PHYINV 0x0400
968 #define PL_VSYM_CTR 0x0800
969 #define PL_MINI_CTR 0x1000
970 #define PL_LE_CTR 0x2000
971 #define PL_LSDO 0x4000
972 #define PL_NP_ERR 0x8000
984 #define QELM_XOUT_IDLE 0x0000
985 #define QELM_XOUT_P 0x0001
986 #define QELM_XOUT_S 0x0002
987 #define QELM_XOUT_R 0x0003
988 #define QELM_XOUT_W 0x0004
989 #define QELM_XOUT_X 0x0005
990 #define QELM_XOUT_Y 0x0006
991 #define QELM_XOUT_Z 0x0007
996 #define QELM_NP_ERR (1<<15)
997 #define QELM_COUNT_Z (1<<7)
998 #define QELM_COUNT_Y (1<<6)
999 #define QELM_COUNT_X (1<<5)
1000 #define QELM_COUNT_W (1<<4)
1001 #define QELM_ELM_Z (1<<3)
1002 #define QELM_ELM_Y (1<<2)
1003 #define QELM_ELM_X (1<<1)
1004 #define QELM_ELM_W (1<<0)
1009 #define TP_C_MIN 0xff9c
1010 #define TP_TL_MIN 0xfff0
1011 #define TP_TB_MIN 0xff10
1012 #define TP_T_OUT 0xd9db
1013 #define TP_LC_LENGTH 0xf676
1014 #define TP_LC_LONGLN 0xa0a2
1015 #define TP_T_SCRUB 0xff6d
1016 #define TP_NS_MAX 0xf021
1021 #define PLC_BIST 0x6ecd
1022 #define PLCS_BIST 0x5b6b
1023 #define PLC_ELM_B_BIST 0x6ecd
1024 #define PLC_ELM_D_BIST 0x5b6b
1025 #define PLC_CAM_A_BIST 0x9e75
1026 #define PLC_CAM_B_BIST 0x5b6b
1027 #define PLC_IFD_A_BIST 0x9e75
1028 #define PLC_IFD_B_BIST 0x5b6b
1029 #define PLC_QELM_A_BIST 0x5b6b
1048 #define SZ_LONG (sizeof(long))
1055 #define COMPLREF ((u_long)32*256*256)
1056 #define MSTOBCLK(x) ((u_long)(x)*12500L)
1057 #define MSTOTVX(x) (((u_long)(x)*1000L)/80/255)