Merge from vendor branch BZIP:
[dragonfly.git] / sys / dev / atm / hfa / fore_globals.c
1 /*
2  *
3  * ===================================
4  * HARP  |  Host ATM Research Platform
5  * ===================================
6  *
7  *
8  * This Host ATM Research Platform ("HARP") file (the "Software") is
9  * made available by Network Computing Services, Inc. ("NetworkCS")
10  * "AS IS".  NetworkCS does not provide maintenance, improvements or
11  * support of any kind.
12  *
13  * NETWORKCS MAKES NO WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED,
14  * INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
15  * AND FITNESS FOR A PARTICULAR PURPOSE, AS TO ANY ELEMENT OF THE
16  * SOFTWARE OR ANY SUPPORT PROVIDED IN CONNECTION WITH THIS SOFTWARE.
17  * In no event shall NetworkCS be responsible for any damages, including
18  * but not limited to consequential damages, arising from or relating to
19  * any use of the Software or related support.
20  *
21  * Copyright 1994-1998 Network Computing Services, Inc.
22  *
23  * Copies of this Software may be made, however, the above copyright
24  * notice must be reproduced on all copies.
25  *
26  *      @(#) $FreeBSD: src/sys/dev/hfa/fore_globals.c,v 1.4 1999/08/28 00:41:49 peter Exp $
27  *      @(#) $DragonFly: src/sys/dev/atm/hfa/fore_globals.c,v 1.4 2005/02/01 00:51:50 joerg Exp $
28  */
29
30 /*
31  * FORE Systems 200-Series Adapter Support
32  * ---------------------------------------
33  *
34  * Global variable definitions
35  *
36  */
37
38 #include "fore_include.h"
39
40 /*
41  * Supported device models
42  */
43 Fore_device     fore_devices[] = {
44         {""}
45 };
46
47
48 /*
49  * Device unit table
50  */
51 Fore_unit       *fore_units[FORE_MAX_UNITS] = {NULL};
52 int             fore_nunits = 0;
53
54
55 /*
56  * ATM Interface services
57  */
58 static struct stack_defn        fore_svaal5 = {
59         NULL,
60         SAP_CPCS_AAL5,
61         SDF_TERM,
62         atm_dev_inst,
63         atm_dev_lower,
64         NULL,
65         0,
66 };
67 static struct stack_defn        fore_svaal4 = {
68         &fore_svaal5,
69         SAP_CPCS_AAL3_4,
70         SDF_TERM,
71         atm_dev_inst,
72         atm_dev_lower,
73         NULL,
74         0,
75 };
76 static struct stack_defn        fore_svaal0 = {
77         &fore_svaal4,
78         SAP_ATM,
79         SDF_TERM,
80         atm_dev_inst,
81         atm_dev_lower,
82         NULL,
83         0,
84 };
85 struct stack_defn       *fore_services = &fore_svaal0;
86
87
88 /*
89  * Storage pools
90  */
91 struct sp_info fore_nif_pool = {
92         "fore nif pool",                /* si_name */
93         sizeof(struct atm_nif),         /* si_blksiz */
94         5,                              /* si_blkcnt */
95         52                              /* si_maxallow */
96 };
97
98 struct sp_info fore_vcc_pool = {
99         "fore vcc pool",                /* si_name */
100         sizeof(Fore_vcc),               /* si_blksiz */
101         10,                             /* si_blkcnt */
102         100                             /* si_maxallow */
103 };
104
105
106 /*
107  * Watchdog timer
108  */
109 struct atm_time         fore_timer = {0, 0};
110