\r
enum ePCIOverClasses\r
{\r
- PCI_OC_PCIBRIDGE = 0x0604,\r
- PCI_OC_SCSI = 0x0100\r
+ PCI_OC_PCIBRIDGE = 0x060400,\r
+ PCI_OC_SCSI = 0x010000\r
};\r
\r
typedef int tPCIDev;\r
*/\r
extern int PCI_CountDevices(Uint16 VendorID, Uint16 DeviceID);\r
extern tPCIDev PCI_GetDevice(Uint16 VendorID, Uint16 DeviceID, int index);\r
-extern tPCIDev PCI_GetDeviceByClass(Uint16 ClassCode, Uint16 Mask, tPCIDev prev);\r
+/**\r
+ * \param ClassCode (Class:SubClass:PI)\r
+ */\r
+extern tPCIDev PCI_GetDeviceByClass(Uint32 ClassCode, Uint32 Mask, tPCIDev prev);\r
\r
-extern int PCI_GetDeviceInfo(tPCIDev id, Uint16 *Vendor, Uint16 *Device, Uint16 *Class);\r
-extern int PCI_GetDeviceVersion(tPCIDev id, Uint8 *Revision, Uint8 *ProgIF);\r
+extern int PCI_GetDeviceInfo(tPCIDev id, Uint16 *Vendor, Uint16 *Device, Uint32 *Class);\r
+extern int PCI_GetDeviceVersion(tPCIDev id, Uint8 *Revision);\r
extern int PCI_GetDeviceSubsys(tPCIDev id, Uint16 *SubsystemVendor, Uint16 *SubsystemID);\r
\r
extern Uint32 PCI_ConfigRead(tPCIDev id, int Offset, int Size);\r