aboutsummaryrefslogtreecommitdiffstats
path: root/int10
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-08-31 13:56:43 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-08-31 13:56:43 +0000
commit7111121ef0321ecc185eb0af571394e9ccdd8d38 (patch)
tree82ddb413daf2fdcd069da2612e39b8ed5848be9f /int10
parent7eecc68d898db2170894c4170e492fbd59af6de3 (diff)
downloadmonitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.tar
monitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.tar.gz
monitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.tar.bz2
monitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.tar.xz
monitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.zip
remove dead code
Diffstat (limited to 'int10')
-rw-r--r--int10/i10_vbios.c10
-rw-r--r--int10/vbios.h2
2 files changed, 2 insertions, 10 deletions
diff --git a/int10/i10_vbios.c b/int10/i10_vbios.c
index 328ad84..5d12741 100644
--- a/int10/i10_vbios.c
+++ b/int10/i10_vbios.c
@@ -79,7 +79,7 @@ static sigjmp_buf longjmp_buf;
static void sigsegv_handler(int);
-int InitInt10(hd_data_t *hd_data, int pci_cfg_method)
+int InitInt10(hd_data_t *hd_data)
{
if(geteuid()) return -1;
@@ -97,14 +97,6 @@ int InitInt10(hd_data_t *hd_data, int pci_cfg_method)
return -1;
}
-#if 0
- scan_pci(pci_cfg_method);
-
- for(; CurrentPci; CurrentPci = CurrentPci->next) {
- if(CurrentPci->active) break;
- }
-#endif
-
iopl(0);
setup_int_vect();
diff --git a/int10/vbios.h b/int10/vbios.h
index edcb715..1777e01 100644
--- a/int10/vbios.h
+++ b/int10/vbios.h
@@ -1,6 +1,6 @@
#include "hd.h"
-int InitInt10(hd_data_t *, int);
+int InitInt10(hd_data_t *);
int CallInt10(int *ax, int *bx, int *cx, unsigned char *buf, int len, int cpuemu);
int CallInt13(int *ax, int *bx, int *cx, int *dx, unsigned char *buf, int len, int cpuemu);
void FreeInt10(void);