Subversion Repositories shark

Rev

Rev 3 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
80 pj 1
#include "ll/sys/cdefs.h"
2
 
3
__BEGIN_DECLS
2 pj 4
extern int (*pcibios_read_config_byte)
5
                (BYTE bus, BYTE dev, BYTE where, BYTE *val);
6
extern int (*pcibios_read_config_word)
7
                (BYTE bus, BYTE dev, BYTE where, WORD *val);
8
extern int (*pcibios_read_config_dword)
9
                (BYTE bus, BYTE dev, BYTE where, DWORD *val);
10
extern int (*pcibios_write_config_byte)
11
                (BYTE bus, BYTE dev, BYTE where, BYTE val);
12
extern int (*pcibios_write_config_word)
13
                (BYTE bus, BYTE dev, BYTE where, WORD val);
14
extern int (*pcibios_write_config_dword)
15
                (BYTE bus, BYTE dev, BYTE where, DWORD val);
16
 
17
int pcibios_find_class(DWORD class_code, WORD index, BYTE *bus, BYTE *dev);
18
int pcibios_find_device(WORD vendor, WORD device, WORD index, BYTE *bus, BYTE *dev);
19
int pcibios_init(void);
20
int pcibios_present(void);
80 pj 21
__END_DECLS