comparison libdha/sysdep/pci_openbsd.c @ 6631:4843214cf2a1

OpenBSD PPC libdha fix by Bj«Órn Sandell.
author atmos4
date Wed, 03 Jul 2002 21:20:19 +0000
parents 31e465fda59c
children
comparison
equal deleted inserted replaced
6630:daf0d43ccde2 6631:4843214cf2a1
1 /* 1 /*
2 This file is based on: 2 This file is based on:
3 $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $ 3 $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $
4 Modified for readability by Nick Kurshev 4 Modified for readability by Nick Kurshev
5 */ 5 */
6
7 #ifdef __i386__
6 8
7 #include <errno.h> 9 #include <errno.h>
8 #include <sys/types.h> 10 #include <sys/types.h>
9 #include <machine/sysarch.h> 11 #include <machine/sysarch.h>
10 12
20 static __inline__ int disable_os_io(void) 22 static __inline__ int disable_os_io(void)
21 { 23 {
22 /* Nothing to do */ 24 /* Nothing to do */
23 return(0); 25 return(0);
24 } 26 }
27 #endif