Fixed the ppdev.h present but not direct io access case.
This commit is contained in:
parent
bd15bef954
commit
03c1f4a032
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue