nixos/nixos-generate-config: include new device ID for virtio_scsi

Device IDs found here:
https://devicehunt.com/view/type/pci/vendor/1AF4/device/1048
This commit is contained in:
R-VdP 2021-05-17 14:11:37 +02:00 committed by Luke Granger-Brown
parent 7d9a498788
commit 3078cdb780

View file

@ -200,7 +200,7 @@ sub pciCheck {
}
# In case this is a virtio scsi device, we need to explicitly make this available.
if ($vendor eq "0x1af4" && $device eq "0x1004") {
if ($vendor eq "0x1af4" && ($device eq "0x1004" || $device eq "0x1048") ) {
push @initrdAvailableKernelModules, "virtio_scsi";
}