3 * ===================================
4 * HARP | Host ATM Research Platform
5 * ===================================
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.
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.
21 * Copyright 1994-1998 Network Computing Services, Inc.
23 * Copies of this Software may be made, however, the above copyright
24 * notice must be reproduced on all copies.
26 * @(#) $FreeBSD: src/sys/dev/hea/eni_var.h,v 1.2 1999/08/28 00:41:46 peter Exp $
27 * @(#) $DragonFly: src/sys/dev/atm/hea/eni_var.h,v 1.4 2005/02/01 00:51:49 joerg Exp $
32 * Efficient ENI Adapter Support
33 * -----------------------------
35 * Local driver include files and global declarations
39 #ifndef _ENI_ENI_VAR_H
40 #define _ENI_ENI_VAR_H
43 * Global function declarations
46 int eni_init_memory (Eni_unit
*);
47 caddr_t
eni_allocate_buffer (Eni_unit
*, u_long
*);
48 void eni_free_buffer (Eni_unit
*, caddr_t
);
51 int eni_atm_ioctl (int, caddr_t
, caddr_t
);
52 void eni_zero_stats (Eni_unit
*);
55 int eni_init (Eni_unit
*);
58 void eni_intr (void *);
61 void eni_do_service (Eni_unit
*);
62 void eni_recv_drain (Eni_unit
*);
65 int eni_set_dma (Eni_unit
*, int, u_long
*, int, long *, int, u_long
, int );
66 void eni_output (Cmn_unit
*, Cmn_vcc
*, KBuffer
*);
67 void eni_xmit_drain (Eni_unit
*);
70 int eni_instvcc (Cmn_unit
*, Cmn_vcc
*);
71 int eni_openvcc (Cmn_unit
*, Cmn_vcc
*);
72 int eni_closevcc (Cmn_unit
*, Cmn_vcc
*);
75 * Global variable declarations
77 extern Eni_unit
*eni_units
[];
78 extern struct stack_defn
*eni_services
;
79 extern struct sp_info eni_nif_pool
;
80 extern struct sp_info eni_vcc_pool
;
82 #endif /* _ENI_ENI_VAR_H */