1/* $OpenBSD: tc_conf.h,v 1.12 2017/10/29 08:50:43 mpi 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
38extern void	tc_3000_500_intr_setup(void);
39extern void	tc_3000_500_iointr(void *, unsigned long);
40
41extern void	tc_3000_500_intr_establish(struct device *, void *,
42		    int, int (*)(void *), void *, const char *);
43extern void	tc_3000_500_intr_disestablish(struct device *, void *,
44		    const char *);
45
46extern int	tc_3000_500_nslots;
47extern struct tc_slotdesc tc_3000_500_slots[];
48extern int	tc_3000_500_graphics_nbuiltins;
49extern struct tc_builtin tc_3000_500_graphics_builtins[];
50extern int	tc_3000_500_nographics_nbuiltins;
51extern struct tc_builtin tc_3000_500_nographics_builtins[];
52
53extern void	tc_3000_500_ioslot(u_int32_t, u_int32_t, int);
54
55extern int	tc_3000_500_activate(struct device *, int);
56#endif /* DEC_3000_500 */
57
58#ifdef DEC_3000_300
59#include <alpha/tc/tc_dma_3000_300.h>
60
61extern void	tc_3000_300_intr_setup(void);
62extern void	tc_3000_300_iointr(void *, unsigned long);
63
64extern void	tc_3000_300_intr_establish(struct device *, void *,
65		    int, int (*)(void *), void *, const char *);
66extern void	tc_3000_300_intr_disestablish(struct device *, void *,
67		    const char *);
68
69extern int	tc_3000_300_nslots;
70extern struct tc_slotdesc tc_3000_300_slots[];
71extern int	tc_3000_300_nbuiltins;
72extern struct tc_builtin tc_3000_300_builtins[];
73#endif /* DEC_3000_300 */
74
75extern int	tc_fb_cnattach(tc_addr_t);
76