diff options
Diffstat (limited to 'libdha/libdha.h')
-rw-r--r-- | libdha/libdha.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdha/libdha.h b/libdha/libdha.h index 02b872d777..b418d7da2f 100644 --- a/libdha/libdha.h +++ b/libdha/libdha.h @@ -32,6 +32,9 @@ typedef struct pciinfo_s unsigned base0,base1,base2,baserom ; /* Memory and I/O base addresses */ }pciinfo_t; +/* needed for mga_vid */ +extern int pci_config_read(unsigned char bus, unsigned char dev, unsigned char offset, + int len, unsigned long *val); /* Fill array pci_list which must have size MAX_PCI_DEVICES and return 0 if sucessful */ extern int pci_scan(pciinfo_t *pci_list,unsigned *num_card); |