xref: /netbsd-src/sys/arch/atari/pci/pci_vga.h (revision 9b30bd9326d6488a782ca04edfc17ab3ad3d1b86)
1*9b30bd93Stsutsui /*	$NetBSD: pci_vga.h,v 1.6 2019/05/04 08:20:05 tsutsui Exp $	*/
2b9cb0eefSleo 
3b9cb0eefSleo /*
4b9cb0eefSleo  * Copyright (c) 1999 Leo Weppelman.  All rights reserved.
5b9cb0eefSleo  *
6b9cb0eefSleo  * Redistribution and use in source and binary forms, with or without
7b9cb0eefSleo  * modification, are permitted provided that the following conditions
8b9cb0eefSleo  * are met:
9b9cb0eefSleo  * 1. Redistributions of source code must retain the above copyright
10b9cb0eefSleo  *    notice, this list of conditions and the following disclaimer.
11b9cb0eefSleo  * 2. Redistributions in binary form must reproduce the above copyright
12b9cb0eefSleo  *    notice, this list of conditions and the following disclaimer in the
13b9cb0eefSleo  *    documentation and/or other materials provided with the distribution.
14b9cb0eefSleo  *
15b9cb0eefSleo  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16b9cb0eefSleo  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17b9cb0eefSleo  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18b9cb0eefSleo  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19b9cb0eefSleo  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20b9cb0eefSleo  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21b9cb0eefSleo  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22b9cb0eefSleo  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23b9cb0eefSleo  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24b9cb0eefSleo  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25b9cb0eefSleo  */
26a82df0faSleo int check_for_vga(bus_space_tag_t, bus_space_tag_t);
27b9cb0eefSleo 
28b9cb0eefSleo /*
29b9cb0eefSleo  * Card specific functions
30b9cb0eefSleo  */
31*9b30bd93Stsutsui void ati_vga_init(pci_chipset_tag_t, pcitag_t, int, volatile uint8_t *,
32*9b30bd93Stsutsui     uint8_t *);
33*9b30bd93Stsutsui void tseng_init(pci_chipset_tag_t, pcitag_t, int, volatile uint8_t *,
34*9b30bd93Stsutsui     uint8_t *);
35*9b30bd93Stsutsui void milan_vga_init(pci_chipset_tag_t, pcitag_t, int, volatile uint8_t *,
36*9b30bd93Stsutsui     uint8_t *);
37