xref: /netbsd/sys/arch/alpha/tc/tc_conf.h (revision 6550d01e)
1 /* $NetBSD: tc_conf.h,v 1.11 2009/03/14 14:45:54 dsl 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(void);
41 extern void	tc_3000_500_iointr(void *, unsigned long);
42 
43 extern const struct evcnt *
44 		tc_3000_500_intr_evcnt(struct device *, void *);
45 extern void	tc_3000_500_intr_establish(struct device *, void *,
46 		    tc_intrlevel_t, int (*)(void *), void *);
47 extern void	tc_3000_500_intr_disestablish(struct device *, void *);
48 
49 extern int	tc_3000_500_nslots;
50 extern struct tc_slotdesc tc_3000_500_slots[];
51 extern int	tc_3000_500_graphics_nbuiltins;
52 extern struct tc_builtin tc_3000_500_graphics_builtins[];
53 extern int	tc_3000_500_nographics_nbuiltins;
54 extern struct tc_builtin tc_3000_500_nographics_builtins[];
55 #endif /* DEC_3000_500 */
56 
57 #ifdef DEC_3000_300
58 #include <alpha/tc/tc_dma_3000_300.h>
59 
60 extern void	tc_3000_300_intr_setup(void);
61 extern void	tc_3000_300_iointr(void *, unsigned long);
62 
63 extern const struct evcnt *
64 		tc_3000_300_intr_evcnt(struct device *, void *);
65 extern void	tc_3000_300_intr_establish(struct device *, void *,
66 		    tc_intrlevel_t, int (*)(void *), void *);
67 extern void	tc_3000_300_intr_disestablish(struct device *, void *);
68 
69 extern int	tc_3000_300_nslots;
70 extern struct tc_slotdesc tc_3000_300_slots[];
71 extern int	tc_3000_300_nbuiltins;
72 extern struct tc_builtin tc_3000_300_builtins[];
73 #endif /* DEC_3000_300 */
74 
75 extern int	tc_fb_cnattach(tc_addr_t);
76 
77