Subversion Repositories shark

Rev

Rev 1618 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1621 fabio 1
#include <arch/sys/cdefs.h>
636 giacomo 2
 
3
__BEGIN_DECLS
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);
21
__END_DECLS