mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
Merge pull request #227110 from NixOS/backport-123357-to-release-22.11
[Backport release-22.11] nixos/nixos-generate-config: include new device ID for virtio_scsi
This commit is contained in:
@@ -203,7 +203,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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user