diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-15 15:59:53 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-15 15:59:53 +0000 |
commit | 340400036662ae41b230653e07a3aa4466010e3b (patch) | |
tree | 1088d724d0e60bc0dd2ccd637c585f43edacad0d /libdha/sysdep/pci_isc.c | |
parent | 2c7c5d325bcf50863f91a8c80aaa709d13ddb944 (diff) | |
download | mpv-340400036662ae41b230653e07a3aa4466010e3b.tar.bz2 mpv-340400036662ae41b230653e07a3aa4466010e3b.tar.xz |
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_isc.c')
-rw-r--r-- | libdha/sysdep/pci_isc.c | 6 |
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); } |