From owner-freebsd-current Sat Jul 7 14:27:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (dhcp44-21.dis.org [216.240.44.21]) by hub.freebsd.org (Postfix) with ESMTP id 2148F37B406 for ; Sat, 7 Jul 2001 14:27:48 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.4/8.11.3) with ESMTP id f67LfD702155; Sat, 7 Jul 2001 14:41:14 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200107072141.f67LfD702155@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Warner Losh Cc: Makoto MATSUSHITA , sos@freebsd.dk, current@FreeBSD.ORG Subject: Re: Problems with ata probing twice. In-reply-to: Your message of "Sat, 07 Jul 2001 15:02:26 MDT." <200107072102.f67L2QJ72605@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 07 Jul 2001 14:41:13 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > : There is absolutely no reason for the ata driver not to simply set > : RF_SHAREABLE and be done with it. It's up to the driver's parent (isa, > : pci, etc) to decide whether the interrupt is in fact shareable or not. > : > : The ata driver itself can share interrupts just fine, and it should > : reflect this in its interrupt allocation. > > Actually, there is a reason. Ata is special like pcic is special. > Both of them can have multiple interrupt routing methods. When ata is > connected directly to the south bridge, it can route ISA interrupts, > even though it is a pci device. In this case, it is unsafe to share > interrupts between the ata device and anything else. Even though it > looks like a pci device, the interrupt routing is ISA. This just reinforces what I said; shareability has nothing to do with the driver, and everything to do with where the interrupts come *from*. > Cardbus bridges in laptops have the same problems. And it is looking > like we can't just use the pcibios to route the interrupts on some > older machines so we have to have some way to say "use isa interrupts > for this device." That's a big pain for cardbus bridges because many > of them would really like to be pci devices so you can relocate memory > out of the ISA hole, etc. There's no reason they can't be PCI devices, but using interrupts from ISA. -- ... 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-current" in the body of the message