From owner-freebsd-questions Tue Jul 16 14:51:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3C0E37B400 for ; Tue, 16 Jul 2002 14:51:43 -0700 (PDT) Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mx1.FreeBSD.org (Postfix) with SMTP id 18BFB43E42 for ; Tue, 16 Jul 2002 14:51:43 -0700 (PDT) (envelope-from yid@softhome.net) Received: (qmail 8574 invoked by uid 417); 16 Jul 2002 21:51:37 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 16 Jul 2002 21:51:37 -0000 Received: from unknown ([216.194.26.167]) (AUTH: LOGIN yid@softhome.net) by softhome.net with esmtp; Tue, 16 Jul 2002 15:51:35 -0600 Date: Tue, 16 Jul 2002 17:49:19 -0400 From: Joshua Lee To: barbish@a1poweruser.com Cc: questions@FreeBSD.ORG Subject: Re: FreeBSD 4.6 Modems Message-Id: <20020716174919.62a72a42.yid@softhome.net> In-Reply-To: References: <20020716151345.418e85f4.yid@softhome.net> Organization: Plan B Software Labs X-Mailer: Sylpheed version 0.7.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 16 Jul 2002 16:18:48 -0400 "Joe & Fhe Barbish" wrote: > I did not see any responses to your original post in this questions > list where you were given an one line fix to the source for your It was a private email. Sorry for not posting the details. > I have seen the irq sharing question posted many times by many > different people. Your solution needs to be part of archive to help > these people who follow you, and I would like to know also. Sorry. Much thanks to Matthew Emmerton for the solution, which is not really *my* solution other than the fact that it was for fixing a problem with my machine. Hopefully soon this bugfix will be incorporated in the kernel so people won't have to do this. Go into /usr/src/sys/isa/sio.c Replace in sioattach() the line that looks like this: com->irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0ul, ~0ul, 1, RF_ACTIVE); With this: com->irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0ul, ~0ul, 1, RF_SHAREABLE | RF_ACTIVE); Recompile the kernel and reboot, PCI modems will be able to share IRQs now as they are designed to. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message