lcavar.h revision 1.5
1/*	$OpenBSD: lcavar.h,v 1.5 1996/12/08 00:20:38 niklas Exp $	*/
2/*	$NetBSD: lcavar.h,v 1.4 1996/10/23 04:12:26 cgd Exp $	*/
3
4/*
5 * Copyright (c) 1995, 1996 Carnegie-Mellon University.
6 * All rights reserved.
7 *
8 * Author: Jeffrey Hsu
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#include <dev/isa/isavar.h>
32#include <dev/pci/pcivar.h>
33
34/*
35 * LCA chipset's configuration.
36 *
37 * All of the information that the chipset-specific functions need to
38 * do their dirty work (and more!).
39 */
40struct lca_config {
41	bus_space_tag_t lc_iot, lc_memt;
42	struct alpha_pci_chipset lc_pc;
43};
44
45struct lca_softc {
46	struct	device sc_dev;
47
48	struct	lca_config *sc_lcp;
49};
50
51void	lca_init __P((struct lca_config *));
52void	lca_pci_init __P((pci_chipset_tag_t, void *));
53
54bus_space_tag_t apecs_lca_bus_io_init __P((void *));
55bus_space_tag_t apecs_lca_bus_mem_init __P((void *));
56