diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2000-03-13 11:43:53 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2000-03-13 11:43:53 +0000 |
commit | 4fa28dd1c63714205547e25004311b9ac6b136d1 (patch) | |
tree | 2e2d5e5e479a454d0d25c703f06f7e60b67e6332 /sys/dev/mca | |
parent | ef61e9f97d4b98ca10533a68ba2f98f5b071cf52 (diff) | |
download | src-4fa28dd1c63714205547e25004311b9ac6b136d1.tar.gz src-4fa28dd1c63714205547e25004311b9ac6b136d1.zip |
Set the RF_SHAREABLE flage when we allocate an IRQ.
Notes
Notes:
svn path=/head/; revision=57980
Diffstat (limited to 'sys/dev/mca')
-rw-r--r-- | sys/dev/mca/mca_bus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/mca/mca_bus.c b/sys/dev/mca/mca_bus.c index 61aa5be05d04..bb1c4f952d52 100644 --- a/sys/dev/mca/mca_bus.c +++ b/sys/dev/mca/mca_bus.c @@ -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)); } |