It is accomplished ...

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
ejakowatz
2002-07-09 12:24:59 +00:00
commit 52a3801208
2025 changed files with 472889 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#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