Kernel/PCI - Updated PCI API to take the protocol field into account
[tpg/acess2.git] / Modules / Storage / ATA / io.c
index 6304cb4..b8a15d0 100644 (file)
@@ -117,7 +117,7 @@ int ATA_SetupIO(void)
        ENTER("");
 
        // Get IDE Controller's PCI Entry
-       ent = PCI_GetDeviceByClass(0x0101, 0xFFFF, -1);
+       ent = PCI_GetDeviceByClass(0x010100, 0xFFFF00, -1);
        LOG("ent = %i", ent);
        gATA_BusMasterBase = PCI_GetBAR(ent, 4);
        if( gATA_BusMasterBase == 0 ) {

UCC git Repository :: git.ucc.asn.au