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

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