#include <resources.hpp>

Static Public Member Functions | |
| static const pci_class_descriptor * | get (const string &name) |
| Returns a descriptor by name or NULL, if no valid name was given. | |
| static uint32_t | get_code (const string &name) |
| Returns a PCI class code by name or pci_config_header16::class_code::ANY_DEVICE, if no valid name was given. | |
Public Attributes | |
| const char * | name |
| The PCI class code's name;. | |
| uint32_t | code |
| The PCI class code's numerical value. | |
| uint32_t pci_class_descriptor::code |
The PCI class code's numerical value.
This value may be to short i.e. 0x0200 for ethernet instead of 0x020000 to allow fuzzy matching with pci_config_header16::class_code.