Fixed the ppdev.h present but not direct io access case.

This commit is contained in:
Marcus Meissner 2002-08-13 03:18:40 +00:00 committed by Alexandre Julliard
parent bd15bef954
commit 03c1f4a032
1 changed files with 5 additions and 4 deletions

View File

@ -79,14 +79,15 @@ static BYTE cmosimage[64] =
# undef PP_IO_ACCESS
#endif /* linux && __i386__ */
#ifdef HAVE_PPDEV
static int do_pp_port_access = -1; /* -1: uninitialized, 1: not available
0: available);*/
#endif
#ifdef DIRECT_IO_ACCESS
extern int iopl(int level);
static char do_direct_port_access = -1;
#ifdef HAVE_PPDEV
static char do_pp_port_access = -1; /* -1: uninitialized, 1: not available
0: available);*/
#endif
static char port_permissions[0x10000];
#define IO_READ 1