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:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user