comparison libdha/sysdep/pci_freebsd.c @ 15555:806cd20f1c8f

Use the public sys/kbio.h header instead of messing with the MI headers, which doesn't exist anymore on DragonFly. Approved by the FreeBSD ports maintainer. patch by Joerg Sonnenberger <joerg - at - britannica - bec - de>
author diego
date Mon, 23 May 2005 21:24:47 +0000
parents 1faf2566907b
children
comparison
equal deleted inserted replaced
15554:e93d0faac02b 15555:806cd20f1c8f
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 #include <errno.h> 6 #include <errno.h>
7 #include <sys/file.h> 7 #include <sys/file.h>
8 /* machine/console.h seems to be outdated by recent FreeBSD * 8 #include <sys/kbio.h>
9 * however pcvt_ioctl.h seems to exist for very long time */
10 /* #include <machine/console.h>*/
11 #include <machine/pcvt_ioctl.h>
12 #ifndef GCCUSESGAS 9 #ifndef GCCUSESGAS
13 #define GCCUSESGAS 10 #define GCCUSESGAS
14 #endif 11 #endif
15 12
16 static int io_fd; 13 static int io_fd;