1
0
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:
Matthew N. Dodd 2000-03-13 11:43:53 +00:00
parent ef61e9f97d
commit 4fa28dd1c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57980

View File

@ -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));
}