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/dev/idt/idtreg.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  * Copyright (c) 2000, 2001 Richard Hodges and Matriplex, inc.
    3  * All rights reserved.
    4  *
    5  * Redistribution and use in source and binary forms, with or without
    6  * modification, are permitted provided that the following conditions
    7  * are met:
    8  * 1. Redistributions of source code must retain the above copyright
    9  *    notice, this list of conditions and the following disclaimer.
   10  * 2. Redistributions in binary form must reproduce the above copyright
   11  *    notice, this list of conditions and the following disclaimer in the
   12  *    documentation and/or other materials provided with the distribution.
   13  * 3. All advertising materials mentioning features or use of this software
   14  *    must display the following acknowledgement:
   15  *    this product includes software developed by Matriplex, inc.
   16  * 4. The name of the author may not be used to endorse or promote products
   17  *    derived from this software without specific prior written permission.
   18  *
   19  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   20  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   21  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   22  * DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
   23  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   24  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
   25  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   26  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   27  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
   28  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   29  * POSSIBILITY OF SUCH DAMAGE.
   30  *
   31  ******************************************************************************
   32  *
   33  * This driver is derived from the Nicstar driver by Mark Tinguely, and
   34  * some of the original driver still exists here.  Those portions are...
   35  *   Copyright (c) 1996, 1997, 1998, 1999 Mark Tinguely
   36  *   All rights reserved.
   37  *
   38  ******************************************************************************
   39  *
   40  * $FreeBSD$
   41  */
   42 
   43 #define IDT_VERSION     "IDT 1.101"
   44 #define CBR_VERBOSE     1       /* show CBR time slots */
   45 
   46 #define IDT_MAX_CBRSLOTS 2100   /* no smaller than value assigned to card */
   47 #define IDT_MAX_CBRQUEUE  64    /* max number of CBR connections: 1k each */
   48 
   49 /* AAL types */
   50 #define IDTAAL0         0
   51 #define IDTAAL1         1
   52 #define IDTAAL3_4       3
   53 #define IDTAAL5         5
   54 
   55 #define NICCBR  1
   56 #define NICVBR  2
   57 #define NICABR  3
   58 #define NICUBR  4
   59 
   60 /* NICStAR Operation Registers */
   61 #define REGCMD  0x10            /* command          w */
   62 #define REGCFG  0x14            /* configuration  r/w */
   63 #define REGSTAT 0x18            /* status         r/w */
   64 #define REGRSQB 0x1c            /* RSQ base         w */
   65 #define REGRSQT 0x20            /* RSQ tail         r */
   66 #define REGRSQH 0x24            /* RSQ head         w */
   67 #define REGCDC  0x28            /* cell drop cnt  r/c */
   68 #define REGVPEC 0x2c            /* vci/vpi er cnt r/c */
   69 #define REGICC  0x30            /* invalid cell   r/c */
   70 #define REGRAWT 0x34            /* raw cell tail    r */
   71 #define REGTMR  0x38            /* timer            r */
   72 #define REGTSTB 0x3c            /* TST base       r/w */
   73 #define REGTSQB 0x40            /* TSQ base         w */
   74 #define REGTSQT 0x44            /* TSQ tail         r */
   75 #define REGTSQH 0x48            /* TSQ head         w */
   76 #define REGGP   0x4c            /* general purp   r/w */
   77 #define REGVMSK 0x50            /* vci/vpi mask     w */

Cache object: 41ffa74c0a94353ebe7c75257fbb0033


[ 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.