xref: /netbsd-src/sys/arch/alpha/tc/tc_conf.h (revision 7c7c171d130af9949261bc7dce2150a03c3d239c)
1 /* $NetBSD: tc_conf.h,v 1.8 1997/09/02 13:29:17 thorpej Exp $ */
2 
3 /*
4  * Copyright (c) 1995 Carnegie-Mellon University.
5  * All rights reserved.
6  *
7  * Author: Chris G. Demetriou
8  *
9  * Permission to use, copy, modify and distribute this software and
10  * its documentation is hereby granted, provided that both the copyright
11  * notice and this permission notice appear in all copies of the
12  * software, derivative works or modified versions, and any portions
13  * thereof, and that both notices appear in supporting documentation.
14  *
15  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
16  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
17  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
18  *
19  * Carnegie Mellon requests users of this software to return to
20  *
21  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
22  *  School of Computer Science
23  *  Carnegie Mellon University
24  *  Pittsburgh PA 15213-3890
25  *
26  * any improvements or extensions that they make and grant Carnegie the
27  * rights to redistribute these changes.
28  */
29 
30 /*
31  * Machine-specific TurboChannel configuration definitions.
32  */
33 
34 #include "opt_dec_3000_300.h"
35 #include "opt_dec_3000_500.h"
36 
37 #ifdef DEC_3000_500
38 #include <alpha/tc/tc_dma_3000_500.h>
39 
40 extern void	tc_3000_500_intr_setup __P((void));
41 extern void	tc_3000_500_iointr __P((void *, unsigned long));
42 
43 extern void	tc_3000_500_intr_establish __P((struct device *, void *,
44 		    tc_intrlevel_t, int (*)(void *), void *));
45 extern void	tc_3000_500_intr_disestablish __P((struct device *, void *));
46 
47 extern int	tc_3000_500_nslots;
48 extern struct tc_slotdesc tc_3000_500_slots[];
49 extern int	tc_3000_500_graphics_nbuiltins;
50 extern struct tc_builtin tc_3000_500_graphics_builtins[];
51 extern int	tc_3000_500_nographics_nbuiltins;
52 extern struct tc_builtin tc_3000_500_nographics_builtins[];
53 #endif /* DEC_3000_500 */
54 
55 #ifdef DEC_3000_300
56 #include <alpha/tc/tc_dma_3000_300.h>
57 
58 extern void	tc_3000_300_intr_setup __P((void));
59 extern void	tc_3000_300_iointr __P((void *, unsigned long));
60 
61 extern void	tc_3000_300_intr_establish __P((struct device *, void *,
62 		    tc_intrlevel_t, int (*)(void *), void *));
63 extern void	tc_3000_300_intr_disestablish __P((struct device *, void *));
64 
65 extern int	tc_3000_300_nslots;
66 extern struct tc_slotdesc tc_3000_300_slots[];
67 extern int	tc_3000_300_nbuiltins;
68 extern struct tc_builtin tc_3000_300_builtins[];
69 #endif /* DEC_3000_300 */
70