diff options
author | 2002-01-15 15:59:53 +0000 | |
---|---|---|
committer | 2002-01-15 15:59:53 +0000 | |
commit | 340400036662ae41b230653e07a3aa4466010e3b (patch) | |
tree | 1088d724d0e60bc0dd2ccd637c585f43edacad0d /libdha/sysdep/pci_sco.c | |
parent | 2c7c5d325bcf50863f91a8c80aaa709d13ddb944 (diff) |
api changed: enable/disable_os_io returns error-code (or zero if ok) and pciconfig_read exported for mga_vid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4175 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha/sysdep/pci_sco.c')
-rw-r--r-- | libdha/sysdep/pci_sco.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libdha/sysdep/pci_sco.c b/libdha/sysdep/pci_sco.c index 1d5c355989..9cb2282ada 100644 --- a/libdha/sysdep/pci_sco.c +++ b/libdha/sysdep/pci_sco.c @@ -12,20 +12,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); } |