From 79cfbc7b134641e448de676d3cbaac2214e4b21f Mon Sep 17 00:00:00 2001 From: marschap Date: Fri, 27 May 2005 17:52:10 +0000 Subject: [PATCH] patch by Helmut A. Bender: use iopl(3) instead of iopl(1) According to some googling this seems the more correct way to call iopl() --- server/drivers/port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/drivers/port.h b/server/drivers/port.h index bda5f66..732ff9b 100644 --- a/server/drivers/port.h +++ b/server/drivers/port.h @@ -92,7 +92,7 @@ static inline int port_access (unsigned short port) { static short int iopl_done = 0; if (iopl_done) return 0; iopl_done = 1; - return iopl(1); + return iopl(3); #else return -1; /* Error, can't access the requested port */ #endif