Merge pull request #123357 from R-VdP/virtio_scsi_vendor

nixos/nixos-generate-config: include new device ID for virtio_scsi
This commit is contained in:
Luke Granger-Brown 2023-04-19 18:51:05 +01:00 committed by GitHub
commit 9ae46a7cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";
}