Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 21:01:10 -0700 (PDT)
From:      Joshua Lee <yid@softhome.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/40636: PCI devices don't share IRQs.
Message-ID:  <200207160401.g6G41A7R015423@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         40636
>Category:       kern
>Synopsis:       PCI devices don't share IRQs.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 15 21:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joshua Lee
>Release:        4.6-STABLE
>Organization:
Plan B Software Labs
>Environment:
FreeBSD 4.6-STABLE FreeBSD 4.6-STABLE #1: Mon Jul 15 22:05:16 EDT 2002 yid@: /usr/obj/usr/src/sys/PLANB  i386
>Description:
My PCI modem, a 3COM/USR Peformance Pro, gets IRQ 9 and the equivalent of COM5 (sio4) when configured during bootup. My built-in USB expansion docking station (uhci1) later in the boot-up process request IRQ 9 and is denied it.
>How-To-Repeat:
An internel PCI modem gets an IRQ, other hardware requesting that IRQ are denied.
>Fix:
/usr/src/sys/isa/sio.c

Change sioattach()

From

com->irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0ul, ~0ul, 1,
RF_ACTIVE);

to

com->irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0ul, ~0ul, 1,
RF_SHAREABLE | RF_ACTIVE);

My thanks to Matthew Emmerton (matt@gsicomp.on.ca) for the solution.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207160401.g6G41A7R015423>