2 * Acess2 Kernel - AHCI Driver
3 * - By John Hodge (thePowersGang)
11 int AHCI_Install(char **Arguments)
14 while( (id = PCI_GetDeviceByClass(0x010000, 0xFF0000, id)) >= 0 && i < MAX_CONTROLLERS )
16 ctrlr->PMemBase = PCI_GetBAR(id, 5);
17 if( !ctrlr->PMemBase )
19 // TODO: Allocate space
22 ctrlr->IRQNum = PCI_GetIRQ(id);