]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/dev/hfa/fore_include.h
This commit was generated by cvs2svn to compensate for changes in r159825,
[FreeBSD/FreeBSD.git] / sys / dev / hfa / fore_include.h
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$
27  *
28  */
29
30 /*
31  * FORE Systems 200-Series Adapter Support
32  * ---------------------------------------
33  *
34  * Local driver include files and global declarations
35  *
36  */
37
38 #ifndef _FORE_INCLUDE_H
39 #define _FORE_INCLUDE_H
40
41 /*
42  * Global function declarations
43  */
44         /* fore_buffer.c */
45 int             fore_buf_allocate(Fore_unit *);
46 void            fore_buf_initialize(Fore_unit *);
47 void            fore_buf_supply(Fore_unit *);
48 void            fore_buf_free(Fore_unit *);
49
50         /* fore_command.c */
51 int             fore_cmd_allocate(Fore_unit *);
52 void            fore_cmd_initialize(Fore_unit *);
53 void            fore_cmd_drain(Fore_unit *);
54 void            fore_cmd_free(Fore_unit *);
55
56         /* fore_if.c */
57 int             fore_atm_ioctl(int, caddr_t, caddr_t);
58 void            fore_interface_free(Fore_unit *);
59
60         /* fore_init.c */
61 void            fore_initialize(Fore_unit *);
62 void            fore_initialize_complete(Fore_unit *);
63
64         /* fore_intr.c */
65 void            fore_intr(void *);
66 void            fore_watchdog(Fore_unit *);
67
68         /* fore_load.c */
69
70         /* fore_output.c */
71 void            fore_output(Cmn_unit *, Cmn_vcc *, KBuffer *);
72
73         /* fore_receive.c */
74 int             fore_recv_allocate(Fore_unit *);
75 void            fore_recv_initialize(Fore_unit *);
76 void            fore_recv_drain(Fore_unit *);
77 void            fore_recv_free(Fore_unit *);
78
79         /* fore_stats.c */
80 int             fore_get_stats(Fore_unit *);
81
82         /* fore_timer.c */
83 void            fore_timeout(struct atm_time *);
84
85         /* fore_transmit.c */
86 int             fore_xmit_allocate(Fore_unit *);
87 void            fore_xmit_initialize(Fore_unit *);
88 void            fore_xmit_drain(Fore_unit *);
89 void            fore_xmit_free(Fore_unit *);
90
91         /* fore_vcm.c */
92 int             fore_instvcc(Cmn_unit *, Cmn_vcc *);
93 int             fore_openvcc(Cmn_unit *, Cmn_vcc *);
94 int             fore_closevcc(Cmn_unit *, Cmn_vcc *);
95
96
97 /*
98  * Global variable declarations
99  */
100 extern Fore_device      fore_devices[];
101 extern Fore_unit        *fore_units[];
102 extern int              fore_nunits;
103 extern struct stack_defn        *fore_services;
104 extern uma_zone_t       fore_nif_zone;
105 extern uma_zone_t       fore_vcc_zone;
106 extern struct atm_time  fore_timer;
107
108 #endif  /* _FORE_INCLUDE_H */