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:
@@ -301,6 +301,7 @@ nvme_disk_init_device(void* _info, void** _cookie)
|
|||||||
|
|
||||||
uint8 irq = info->info.u.h0.interrupt_line;
|
uint8 irq = info->info.u.h0.interrupt_line;
|
||||||
if (sPCIx86Module != NULL) {
|
if (sPCIx86Module != NULL) {
|
||||||
|
#if 0
|
||||||
if (sPCIx86Module->get_msix_count(info->info.bus, info->info.device,
|
if (sPCIx86Module->get_msix_count(info->info.bus, info->info.device,
|
||||||
info->info.function)) {
|
info->info.function)) {
|
||||||
uint8 msixVector = 0;
|
uint8 msixVector = 0;
|
||||||
@@ -311,7 +312,9 @@ nvme_disk_init_device(void* _info, void** _cookie)
|
|||||||
TRACE_ALWAYS("using MSI-X\n");
|
TRACE_ALWAYS("using MSI-X\n");
|
||||||
irq = msixVector;
|
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) {
|
info->info.device, info->info.function) >= 1) {
|
||||||
uint8 msiVector = 0;
|
uint8 msiVector = 0;
|
||||||
if (sPCIx86Module->configure_msi(info->info.bus, info->info.device,
|
if (sPCIx86Module->configure_msi(info->info.bus, info->info.device,
|
||||||
|
|||||||
Reference in New Issue
Block a user