sti_pci_var.h revision 1.2 1 1.2 macallan /* $NetBSD: sti_pci_var.h,v 1.2 2025/10/20 09:50:10 macallan Exp $ */
2 1.1 macallan
3 1.1 macallan /*
4 1.1 macallan * Copyright (c) 2006, 2007 Miodrag Vallat
5 1.1 macallan * 2025 Michael Lorenz
6 1.1 macallan *
7 1.1 macallan * Permission to use, copy, modify, and distribute this software for any
8 1.1 macallan * purpose with or without fee is hereby granted, provided that the above
9 1.1 macallan * copyright notice, this permission notice, and the disclaimer below
10 1.1 macallan * appear in all copies.
11 1.1 macallan *
12 1.1 macallan * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13 1.1 macallan * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14 1.1 macallan * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15 1.1 macallan * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 1.1 macallan * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 1.1 macallan * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 1.1 macallan * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 1.1 macallan */
20 1.1 macallan
21 1.1 macallan #ifndef STI_PCI_VAR_H
22 1.1 macallan #define STI_PCI_VAR_H
23 1.1 macallan
24 1.1 macallan int sti_pci_is_console(struct pci_attach_args *, bus_addr_t *);
25 1.2 macallan int sti_pci_check_rom(struct sti_softc *, struct pci_attach_args *,
26 1.2 macallan bus_space_handle_t *);
27 1.1 macallan
28 1.1 macallan #endif
29