- gUHCI_Controllers[i].IOBase = PCI_GetBAR(id, 4);
- gUHCI_Controllers[i].IRQNum = PCI_GetIRQ(id);
+ cinfo->IOBase = PCI_GetBAR(id, 4);
+ if( !(cinfo->IOBase & 1) ) {
+ Log_Warning("UHCI", "MMIO is not supported");
+ continue ;
+ }
+ cinfo->IRQNum = PCI_GetIRQ(id);