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