It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Executable
+21
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user