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/hfa/fore_globals.c

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  * ===================================
    3  * HARP  |  Host ATM Research Platform
    4  * ===================================
    5  *
    6  * This Host ATM Research Platform ("HARP") file (the "Software") is
    7  * made available by Network Computing Services, Inc. ("NetworkCS")
    8  * "AS IS".  NetworkCS does not provide maintenance, improvements or
    9  * support of any kind.
   10  *
   11  * NETWORKCS MAKES NO WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED,
   12  * INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
   13  * AND FITNESS FOR A PARTICULAR PURPOSE, AS TO ANY ELEMENT OF THE
   14  * SOFTWARE OR ANY SUPPORT PROVIDED IN CONNECTION WITH THIS SOFTWARE.
   15  * In no event shall NetworkCS be responsible for any damages, including
   16  * but not limited to consequential damages, arising from or relating to
   17  * any use of the Software or related support.
   18  *
   19  * Copyright 1994-1998 Network Computing Services, Inc.
   20  *
   21  * Copies of this Software may be made, however, the above copyright
   22  * notice must be reproduced on all copies.
   23  */
   24 
   25 #include <sys/cdefs.h>
   26 __FBSDID("$FreeBSD: releng/5.3/sys/dev/hfa/fore_globals.c 119418 2003-08-24 17:55:58Z obrien $");
   27 
   28 /*
   29  * FORE Systems 200-Series Adapter Support
   30  * ---------------------------------------
   31  *
   32  * Global variable definitions
   33  *
   34  */
   35 
   36 #include <sys/param.h>
   37 #include <sys/systm.h>
   38 #include <sys/socket.h>
   39 #include <sys/socketvar.h>
   40 #include <net/if.h>
   41 #include <netatm/port.h>
   42 #include <netatm/queue.h>
   43 #include <netatm/atm.h>
   44 #include <netatm/atm_sys.h>
   45 #include <netatm/atm_sap.h>
   46 #include <netatm/atm_cm.h>
   47 #include <netatm/atm_if.h>
   48 #include <netatm/atm_stack.h>
   49 #include <netatm/atm_pcb.h>
   50 #include <netatm/atm_var.h>
   51 #include <dev/pci/pcivar.h>
   52 #include <dev/hfa/fore.h>
   53 #include <dev/hfa/fore_aali.h>
   54 #include <dev/hfa/fore_slave.h>
   55 #include <dev/hfa/fore_stats.h>
   56 #include <dev/hfa/fore_var.h>
   57 
   58 #include <vm/uma.h>
   59 
   60 #ifndef lint
   61 __RCSID("@(#) $FreeBSD: releng/5.3/sys/dev/hfa/fore_globals.c 119418 2003-08-24 17:55:58Z obrien $");
   62 #endif
   63 
   64 /*
   65  * Device unit table
   66  */
   67 Fore_unit       *fore_units[FORE_MAX_UNITS] = {NULL};
   68 int             fore_nunits = 0;
   69 
   70 
   71 /*
   72  * ATM Interface services
   73  */
   74 static struct stack_defn        fore_svaal5 = {
   75         NULL,
   76         SAP_CPCS_AAL5,
   77         SDF_TERM,
   78         atm_dev_inst,
   79         atm_dev_lower,
   80         NULL,
   81         0,
   82 };
   83 static struct stack_defn        fore_svaal4 = {
   84         &fore_svaal5,
   85         SAP_CPCS_AAL3_4,
   86         SDF_TERM,
   87         atm_dev_inst,
   88         atm_dev_lower,
   89         NULL,
   90         0,
   91 };
   92 static struct stack_defn        fore_svaal0 = {
   93         &fore_svaal4,
   94         SAP_ATM,
   95         SDF_TERM,
   96         atm_dev_inst,
   97         atm_dev_lower,
   98         NULL,
   99         0,
  100 };
  101 struct stack_defn       *fore_services = &fore_svaal0;
  102 
  103 
  104 /*
  105  * Storage pools
  106  */
  107 uma_zone_t      fore_nif_zone;
  108 uma_zone_t      fore_vcc_zone;
  109 
  110 /*
  111  * Watchdog timer
  112  */
  113 struct atm_time         fore_timer = {0, 0};
  114 

Cache object: 015f2758f61444eb4c1438ce0d3a975a


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