From owner-freebsd-current Thu Dec 23 4: 7:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 0403C155DE for ; Thu, 23 Dec 1999 04:07:15 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id MAA88106; Thu, 23 Dec 1999 12:18:23 GMT (envelope-from dfr@nlsystems.com) Date: Thu, 23 Dec 1999 12:18:23 +0000 (GMT) From: Doug Rabson To: Soren Schmidt Cc: Garrett Wollman , Bill Paul , current@freebsd.org Subject: Re: General ata grousing In-Reply-To: <199912222137.WAA80908@freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Dec 1999, Soren Schmidt wrote: > It seems Garrett Wollman wrote: > > < said: > > > > > If you looked at the code, you would see that the ata driver only uses > > > this ugly method when we are dealing with the standard primary & > > > secondary controller which are bound to specific addresses and interrupts. > > > Those are not configurable. > > > > That's why the resource manager allows you to specify a specific range > > of resources. If you want to be sure of getting IRQ 11, specify start > > == end == 11 and length == 1. > > Right, but I think there where problems with that back when dfr did this > code. At any rate this is currently being rewritten (again by dfr) to > handle this better and to make ata register devices as children etc etc. I think the original reason I didn't touch that part of the code was a combination of the fact that I needed two interrupts (primary and secondary controllers) and the desire to leave as much as possible of the code undisturbed. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message