tc_conf.h revision 1.12
1/* $NetBSD: tc_conf.h,v 1.12 2011/06/14 15:08:33 matt 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
40extern void	tc_3000_500_intr_setup(void);
41extern void	tc_3000_500_iointr(void *, unsigned long);
42
43extern const struct evcnt *
44		tc_3000_500_intr_evcnt(device_t, void *);
45extern void	tc_3000_500_intr_establish(device_t, void *,
46		    tc_intrlevel_t, int (*)(void *), void *);
47extern void	tc_3000_500_intr_disestablish(device_t, void *);
48
49extern int	tc_3000_500_nslots;
50extern struct tc_slotdesc tc_3000_500_slots[];
51extern int	tc_3000_500_graphics_nbuiltins;
52extern struct tc_builtin tc_3000_500_graphics_builtins[];
53extern int	tc_3000_500_nographics_nbuiltins;
54extern 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
60extern void	tc_3000_300_intr_setup(void);
61extern void	tc_3000_300_iointr(void *, unsigned long);
62
63extern const struct evcnt *
64		tc_3000_300_intr_evcnt(device_t, void *);
65extern void	tc_3000_300_intr_establish(device_t, void *,
66		    tc_intrlevel_t, int (*)(void *), void *);
67extern void	tc_3000_300_intr_disestablish(device_t, void *);
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
77