From bb0b17192ee29552cb3a00de6e866254f02ab3a9 Mon Sep 17 00:00:00 2001 From: mdodd Date: Mon, 13 Mar 2000 11:43:53 +0000 Subject: Set the RF_SHAREABLE flage when we allocate an IRQ. --- sys/dev/mca/mca_bus.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/dev/mca/mca_bus.c') diff --git a/sys/dev/mca/mca_bus.c b/sys/dev/mca/mca_bus.c index 61aa5be..bb1c4f9 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)); } -- cgit v1.1