xref: /netbsd-src/sys/arch/alpha/tc/tc_conf.h (revision b7b2b8a3d89bfee25ca9324638c59a92666e2e4e)
1*b7b2b8a3Sthorpej /* $NetBSD: tc_conf.h,v 1.15 2021/05/07 16:58:34 thorpej Exp $ */
2a5c74353Scgd 
3a5c74353Scgd /*
4a5c74353Scgd  * Copyright (c) 1995 Carnegie-Mellon University.
5a5c74353Scgd  * All rights reserved.
6a5c74353Scgd  *
7a5c74353Scgd  * Author: Chris G. Demetriou
8a5c74353Scgd  *
9a5c74353Scgd  * Permission to use, copy, modify and distribute this software and
10a5c74353Scgd  * its documentation is hereby granted, provided that both the copyright
11a5c74353Scgd  * notice and this permission notice appear in all copies of the
12a5c74353Scgd  * software, derivative works or modified versions, and any portions
13a5c74353Scgd  * thereof, and that both notices appear in supporting documentation.
14a5c74353Scgd  *
15a5c74353Scgd  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
16a5c74353Scgd  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
17a5c74353Scgd  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
18a5c74353Scgd  *
19a5c74353Scgd  * Carnegie Mellon requests users of this software to return to
20a5c74353Scgd  *
21a5c74353Scgd  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
22a5c74353Scgd  *  School of Computer Science
23a5c74353Scgd  *  Carnegie Mellon University
24a5c74353Scgd  *  Pittsburgh PA 15213-3890
25a5c74353Scgd  *
26a5c74353Scgd  * any improvements or extensions that they make and grant Carnegie the
27a5c74353Scgd  * rights to redistribute these changes.
28a5c74353Scgd  */
29a5c74353Scgd 
30a5c74353Scgd /*
3150e68e12Sflxd  * Machine-specific TURBOchannel configuration definitions.
32a5c74353Scgd  */
33a5c74353Scgd 
341df0782dSthorpej #include "opt_dec_3000_300.h"
351df0782dSthorpej #include "opt_dec_3000_500.h"
361df0782dSthorpej 
37a5c74353Scgd #ifdef DEC_3000_500
3846b89d77Sthorpej #include <alpha/tc/tc_dma_3000_500.h>
3946b89d77Sthorpej 
4002cdf4d2Sdsl extern void	tc_3000_500_intr_setup(void);
4102cdf4d2Sdsl extern void	tc_3000_500_iointr(void *, unsigned long);
42a5c74353Scgd 
43cffb5808Scgd extern const struct evcnt *
4450feb1fbSmatt 		tc_3000_500_intr_evcnt(device_t, void *);
4550feb1fbSmatt extern void	tc_3000_500_intr_establish(device_t, void *,
4602cdf4d2Sdsl 		    tc_intrlevel_t, int (*)(void *), void *);
4750feb1fbSmatt extern void	tc_3000_500_intr_disestablish(device_t, void *);
48a5c74353Scgd 
49*b7b2b8a3Sthorpej extern const int	tc_3000_500_nslots;
50*b7b2b8a3Sthorpej extern const struct tc_slotdesc tc_3000_500_slots[];
51*b7b2b8a3Sthorpej extern const int	tc_3000_500_graphics_nbuiltins;
52*b7b2b8a3Sthorpej extern const struct tc_builtin tc_3000_500_graphics_builtins[];
53*b7b2b8a3Sthorpej extern const int	tc_3000_500_nographics_nbuiltins;
54*b7b2b8a3Sthorpej extern const struct tc_builtin tc_3000_500_nographics_builtins[];
55a5c74353Scgd #endif /* DEC_3000_500 */
56a5c74353Scgd 
57a5c74353Scgd #ifdef DEC_3000_300
5846b89d77Sthorpej #include <alpha/tc/tc_dma_3000_300.h>
5946b89d77Sthorpej 
6002cdf4d2Sdsl extern void	tc_3000_300_intr_setup(void);
6102cdf4d2Sdsl extern void	tc_3000_300_iointr(void *, unsigned long);
62a5c74353Scgd 
63cffb5808Scgd extern const struct evcnt *
6450feb1fbSmatt 		tc_3000_300_intr_evcnt(device_t, void *);
6550feb1fbSmatt extern void	tc_3000_300_intr_establish(device_t, void *,
6602cdf4d2Sdsl 		    tc_intrlevel_t, int (*)(void *), void *);
6750feb1fbSmatt extern void	tc_3000_300_intr_disestablish(device_t, void *);
68a5c74353Scgd 
69*b7b2b8a3Sthorpej extern const int	tc_3000_300_nslots;
70*b7b2b8a3Sthorpej extern const struct tc_slotdesc tc_3000_300_slots[];
71*b7b2b8a3Sthorpej extern const int	tc_3000_300_nbuiltins;
72*b7b2b8a3Sthorpej extern const struct tc_builtin tc_3000_300_builtins[];
73a5c74353Scgd #endif /* DEC_3000_300 */
74ab947090Sbriggs 
7502cdf4d2Sdsl extern int	tc_fb_cnattach(tc_addr_t);
76ab947090Sbriggs 
77