mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Set the RF_SHAREABLE flage when we allocate an IRQ.
This commit is contained in:
parent
ef61e9f97d
commit
4fa28dd1c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57980
@ -487,6 +487,10 @@ mca_alloc_resource (device_t dev, device_t child, int type, int *rid,
|
||||
}
|
||||
}
|
||||
|
||||
if (type == SYS_RES_IRQ) {
|
||||
flags |= RF_SHAREABLE;
|
||||
}
|
||||
|
||||
return (resource_list_alloc(&(m_dev->rl), dev, child, type, rid,
|
||||
start, end, count, flags));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user