From owner-freebsd-hackers Mon Dec 10 9:47: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 2D75C37B416 for ; Mon, 10 Dec 2001 09:47:04 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.3) with ESMTP id fBAHqMV01179; Mon, 10 Dec 2001 09:52:23 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200112101752.fBAHqMV01179@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Danny Braniss Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: irq In-reply-to: Your message of "Mon, 10 Dec 2001 14:08:45 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 10 Dec 2001 09:52:22 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > hi, > in trying to make a klm out of the meteor driver, and in > the process im stumbling onto some problems - major understatment :-) > > for starters, how can i get an unshared irq? at the moment the irq is > shared among the video, scsi and the meteor. > im using > bus_alloc_resource(dev, SYS_RES_IRQ, &sc->irq_rid,0, ~0, 1, > RF_ACTIVE|RF_SHAREABLE); > if i drop the RF_SHAREABLE it failes :-) Er, you don't seem to understand how PCI interrupts work. You must (for now) pass RF_SHAREABLE in; eventually the PCI code will stick it there for you anyway. All PCI interrupts are shareable; you can't "ask" for an unshared vector; you get the one you're given, and you should be thankful for that much. Lots of people are going without these days. 8( -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message