Mercurial > mplayer.hg
annotate libdha/sysdep/pci_win32.c @ 7509:7c2605f7ab8d
sync
author | frodone |
---|---|
date | Thu, 26 Sep 2002 17:22:49 +0000 |
parents | 4cfb6b9a6da3 |
children | 3a727f52c4a2 |
rev | line source |
---|---|
4164 | 1 /* |
2 This file is based on: | |
3 $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $ | |
4 Modified for readability by Nick Kurshev | |
5 */ | |
6 #include <windows.h> | |
7 | |
8 /* Nothing to do for Win9x. For WinNT I have no solution */ | |
9 | |
4174
4cfb6b9a6da3
api changed: enable/disable_os_io returns error-code (or zero if ok) and pciconfig_read exported for mga_vid
alex
parents:
4164
diff
changeset
|
10 static __inline__ int enable_os_io(void) |
4164 | 11 { |
4174
4cfb6b9a6da3
api changed: enable/disable_os_io returns error-code (or zero if ok) and pciconfig_read exported for mga_vid
alex
parents:
4164
diff
changeset
|
12 return(0); |
4164 | 13 } |
14 | |
4174
4cfb6b9a6da3
api changed: enable/disable_os_io returns error-code (or zero if ok) and pciconfig_read exported for mga_vid
alex
parents:
4164
diff
changeset
|
15 static __inline__ int disable_os_io(void) |
4164 | 16 { |
4174
4cfb6b9a6da3
api changed: enable/disable_os_io returns error-code (or zero if ok) and pciconfig_read exported for mga_vid
alex
parents:
4164
diff
changeset
|
17 return(0); |
4164 | 18 } |