Skip to content
Snippets Groups Projects
  • Asias He's avatar
    d73d5842
    ide: Fix ide probe · d73d5842
    Asias He authored
    
    ide_drive::probe(), all the PCI_CLASS_STORAGE devices are probed
    including the virtio-scsi device. This way ide driver will hijack
    virtio-scsi handling.
    
    Fix it by only matching PCI_CLASS_STORAGE && PCI_SUB_CLASS_STORAGE_IDE
    devices
    
    Signed-off-by: default avatarAsias He <asias@cloudius-systems.com>
    d73d5842
    History
    ide: Fix ide probe
    Asias He authored
    
    ide_drive::probe(), all the PCI_CLASS_STORAGE devices are probed
    including the virtio-scsi device. This way ide driver will hijack
    virtio-scsi handling.
    
    Fix it by only matching PCI_CLASS_STORAGE && PCI_SUB_CLASS_STORAGE_IDE
    devices
    
    Signed-off-by: default avatarAsias He <asias@cloudius-systems.com>