nvme_disk: Disable MSI-X support for now.
It is broken under QEMU, and it may well be on real hardware, too. More investigation is required.
This commit is contained in:
parent
f7179d9f41
commit
62571f5eb4
@ -301,6 +301,7 @@ nvme_disk_init_device(void* _info, void** _cookie)
|
||||
|
||||
uint8 irq = info->info.u.h0.interrupt_line;
|
||||
if (sPCIx86Module != NULL) {
|
||||
#if 0
|
||||
if (sPCIx86Module->get_msix_count(info->info.bus, info->info.device,
|
||||
info->info.function)) {
|
||||
uint8 msixVector = 0;
|
||||
@ -311,7 +312,9 @@ nvme_disk_init_device(void* _info, void** _cookie)
|
||||
TRACE_ALWAYS("using MSI-X\n");
|
||||
irq = msixVector;
|
||||
}
|
||||
} else if (sPCIx86Module->get_msi_count(info->info.bus,
|
||||
} else
|
||||
#endif
|
||||
if (sPCIx86Module->get_msi_count(info->info.bus,
|
||||
info->info.device, info->info.function) >= 1) {
|
||||
uint8 msiVector = 0;
|
||||
if (sPCIx86Module->configure_msi(info->info.bus, info->info.device,
|
||||
|
Loading…
Reference in New Issue
Block a user