The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/chips/eccreg.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* 
    2  * Mach Operating System
    3  * Copyright (c) 1992 Carnegie Mellon University
    4  * All Rights Reserved.
    5  * 
    6  * Permission to use, copy, modify and distribute this software and its
    7  * documentation is hereby granted, provided that both the copyright
    8  * notice and this permission notice appear in all copies of the
    9  * software, derivative works or modified versions, and any portions
   10  * thereof, and that both notices appear in supporting documentation.
   11  * 
   12  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   13  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
   14  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   15  * 
   16  * Carnegie Mellon requests users of this software to return to
   17  * 
   18  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   19  *  School of Computer Science
   20  *  Carnegie Mellon University
   21  *  Pittsburgh PA 15213-3890
   22  * 
   23  * any improvements or extensions that they make and grant Carnegie Mellon
   24  * the rights to redistribute these changes.
   25  */
   26 
   27 /*
   28  * HISTORY
   29  * $Log:        eccreg.h,v $
   30  * Revision 2.3  92/07/09  22:53:14  rvb
   31  *      Minimal support for mapping ecc fifo's.
   32  *      [92/05/12  17:10:10  rvb]
   33  * 
   34  * Revision 2.2  92/04/03  12:08:15  rpd
   35  *      Created
   36  *      [92/03/23            rvb]
   37  * 
   38  */
   39 
   40 #define FA_BLCK 0x10000
   41 
   42 #define FA_ROM  0x00000
   43 
   44 #define FA_CTL  0x10000
   45 #define FA_STAT         0x10000
   46 #define   I_RCV_CNT     0x00001
   47 #define   I_RCV_EOM     0x00002
   48 #define   I_RCV_TIM     0x00004
   49 #define   I_XMT_CNT     0x00008
   50 #define   I_RCV_LOS     0x00010
   51 #define   I_RCV_CARRIER 0x00020
   52 #define FA_CR_S         0x10004
   53 #define FA_CR_C         0x10008
   54 #define FA_CR           0x1000C
   55 #define   ENI_RCV_CNT   0x00001
   56 #define   ENI_RCV_END   0x00002
   57 #define   ENI_RCV_TIM   0x00004
   58 #define   ENI_XMT_CNT   0x00008
   59 #define   EN_TEST       0x00010
   60 #define   EN_UNUSED     0x00020
   61 #define   EN_RCV        0x00040
   62 #define   EN_XMT        0x00080
   63 #define   RESET_RCV     0x00100
   64 #define   RESET_XMT     0x00200
   65 #define FA_TIM          0x10010
   66 #define FA_TIM_SET      0x10018
   67 #define FA_RCV_CNT      0x10020
   68 #define FA_RCV_CMP      0x10028
   69 #define FA_XMT_CNT      0x10030
   70 #define FA_XMT_CMP      0x10038
   71 
   72 
   73 #define FA_DISCARD      0x20000
   74 #define FA_RCV  0x20000
   75 #define   FA_RCV_HD     0x20000
   76 #define   FA_RCV_PAYLD  0x20004
   77 #define   FA_RCV_TR     0x20034
   78 
   79 #define FA_XMT  0x30000
   80 #define   FA_XMT_HD     0x30000
   81 #define   FA_XMT_PAYLD  0x30004
   82 #define   FA_XMT_TR     0x30034
   83 
   84 #define FA_END  0x40000
   85 
   86 
   87 struct ecc {
   88 /* 00000 */     char    rom[FA_BLCK];
   89 /* 10000 */     int     stat;
   90 /* 10004 */     int     cr_s;
   91 /* 10008 */     int     cr_c;
   92 /* 1000C */     int     cr;
   93 /* 10010 */     int     tim;
   94                 int     fill1;
   95 /* 10018 */     int     tim_set;
   96                 int     fill2;
   97 /* 10020 */     int     rcv_cnt;
   98                 int     fill3;
   99 /* 10028 */     int     rcv_cmp;
  100                 int     fill4;
  101 /* 10030 */     int     xmt_cnt;
  102                 int     fill5;
  103 /* 10038 */     int     xmt_cmp;
  104                 int     fill6;
  105                 char    pad[FA_BLCK-0x40];
  106 
  107 /* 20000 */
  108 /* 20000 */     char    rcv[FA_BLCK];
  109 /* 30000 */     char    xmt[FA_BLCK];
  110 };
  111 
  112 struct sar {
  113         int header;
  114         int payload[12];
  115         int trailer;
  116 };
  117 
  118 typedef struct ecc ecc_t;
  119 typedef struct sar sar_t;
  120 
  121 
  122 
  123 

Cache object: f67292ff06b607d361f032992f908c43


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.