summaryrefslogtreecommitdiffstats
path: root/libdha/sysdep/pci_isc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdha/sysdep/pci_isc.c')
-rw-r--r--libdha/sysdep/pci_isc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdha/sysdep/pci_isc.c b/libdha/sysdep/pci_isc.c
index 0fabba5972..5b5a591824 100644
--- a/libdha/sysdep/pci_isc.c
+++ b/libdha/sysdep/pci_isc.c
@@ -11,20 +11,22 @@
#include <sys/sysi86.h>
#include <sys/v86.h>
-static __inline__ void enable_os_io(void)
+static __inline__ int enable_os_io(void)
{
#if defined(SI86IOPL)
sysi86(SI86IOPL, 3);
#else
sysi86(SI86V86, V86SC_IOPL, PS_IOPL);
#endif
+ return(0);
}
-static __inline__ void disable_os_io(void)
+static __inline__ int disable_os_io(void)
{
#if defined(SI86IOPL)
sysi86(SI86IOPL, 0);
#else
sysi86(SI86V86, V86SC_IOPL, 0);
#endif
+ return(0);
}