Added a get_pci_info() to pci_device_module_info. It was a bit too

complicated to get a pci_info for a given pci_device before. The
function is not very efficiently implemented, but I didn't see how to
do that without more intrusive changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16267 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2006-02-07 02:15:53 +00:00
parent 0636c5df8b
commit 41f7459c23
3 changed files with 28 additions and 0 deletions
+3
View File
@@ -110,6 +110,9 @@ typedef struct pci_device_module_info {
status_t (*allocate_ioports)( uint16 ioport_base, size_t len, const char *name );
status_t (*release_ioports)( uint16 ioport_base, size_t len );*/
status_t (*get_pci_info)(pci_device device, struct pci_info *info);
} pci_device_module_info;