mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-22 11:13:22 +00:00
fix: 修复存在多个virtio设备时,中断号冲突的问题 (#904)
This commit is contained in:
@ -369,7 +369,7 @@ pub trait PciInterrupt: PciDeviceStructure {
|
||||
irq_num,
|
||||
common_msg.irq_name.clone(),
|
||||
common_msg.irq_hander,
|
||||
IrqHandleFlags::empty(),
|
||||
IrqHandleFlags::IRQF_SHARED,
|
||||
Some(common_msg.dev_id.clone()),
|
||||
);
|
||||
|
||||
@ -532,7 +532,7 @@ pub trait PciInterrupt: PciDeviceStructure {
|
||||
irq_num,
|
||||
common_msg.irq_name.clone(),
|
||||
common_msg.irq_hander,
|
||||
IrqHandleFlags::empty(),
|
||||
IrqHandleFlags::IRQF_SHARED,
|
||||
Some(common_msg.dev_id.clone()),
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user