feat: start setup virtio
This commit is contained in:
@@ -421,7 +421,7 @@ void ide_register_block_devices() {
|
||||
|
||||
uint8_t att_used ide_pci_validate(const pci_device *device) {
|
||||
if (device->class != PCI_CLASS_MASS_STORAGE
|
||||
|| device->subclass != PCI_SUB_CLASS_IDE
|
||||
|| device->subclass != PCI_SUB_CLASS_MASS_IDE
|
||||
|| (device->programInterface != 0x8A && device->programInterface != 0x80)) {
|
||||
return PCI_VALIDATE_FAIL;
|
||||
}
|
||||
@@ -686,7 +686,7 @@ PCI_DRIVER(900) = {
|
||||
.validatable = true,
|
||||
.initialisable = true,
|
||||
.match.class = PCI_CLASS_MASS_STORAGE,
|
||||
.match.subclass = PCI_SUB_CLASS_IDE,
|
||||
.match.subclass = PCI_SUB_CLASS_MASS_IDE,
|
||||
.mask.class = true,
|
||||
.mask.subclass = true,
|
||||
.validate = ide_pci_validate,
|
||||
|
||||
Reference in New Issue
Block a user