haiku/headers/private/kernel/pci_p.h
ejakowatz 52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00

22 lines
339 B
C
Executable File

#ifndef _PCI_P_H
#define _PCI_P_H
#define CONFIG_ADDRESS 0xcf8
#define CONFIG_DATA 0xcfc
struct pci_config_address {
unsigned reg : 8,
function : 3,
unit : 5,
bus : 8,
reserved : 7,
enable : 1;
};
void dump_pci_config(struct pci_cfg *cfg);
int pci_probe(uint8 bus, uint8 unit, uint8 function, struct pci_cfg *cfg);
#endif