2 * Platform specific SBUS and OpenPROM access declarations.
4 * Copyright (C) 2000 Jakub Jelinek (jakub@redhat.com)
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * JAKUB JELINEK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 #ifdef HAVE_XORG_CONFIG_H
25 #include <xorg-config.h>
32 #include <asm/types.h>
35 #include <asm/openpromio.h>
38 #include <sys/openpromio.h>
39 #elif defined(__OpenBSD__) && defined(__sparc64__)
41 #elif defined(CSRG_BASED)
42 #if defined(__FreeBSD__)
43 #include <sys/types.h>
45 #include <dev/ofw/openpromio.h>
47 #include <machine/fbio.h>
54 #define FBTYPE_SUNGP3 -1
56 #ifndef FBTYPE_MDICOLOR
57 #define FBTYPE_MDICOLOR -1
60 #define FBTYPE_SUNLEO -1
62 #ifndef FBTYPE_TCXCOLOR
63 #define FBTYPE_TCXCOLOR -1
65 #ifndef FBTYPE_CREATOR
66 #define FBTYPE_CREATOR -1
69 #endif /* _XF86_SBUS_H */