From owner-freebsd-hackers Thu Jun 7 20: 2:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id ACC0537B405; Thu, 7 Jun 2001 20:02:15 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 158CXN-0008tM-00; Fri, 8 Jun 2001 04:02:13 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.3/8.11.1) id f5832Bs61511; Fri, 8 Jun 2001 04:02:11 +0100 (BST) (envelope-from jcm) Date: Fri, 8 Jun 2001 04:02:11 +0100 From: j mckitrick To: Doug Rabson Cc: "Matthew N. Dodd" , Warner Losh , Mike Smith , freebsd-hackers@FreeBSD.ORG Subject: Re: newbussifying drivers Message-ID: <20010608040211.A61278@dogma.freebsd-uk.eu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from dfr@nlsystems.com on Thu, Jun 07, 2001 at 12:39:29PM +0100 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 | > > : How would you recommending fixing this, taken from the ex driver? | > > | > > By deleting it. | > | > Uh, what? | > | > Non PnP devices that can be autodetected should be autodetected. | > | > Relying on the user to wire down hints is silly. | | Probably they should provide an identify method to look for and create the | non-PnP devices. The actual probe method should be dumb and just use the | resources given to it (IMHO). Okay, there is something i'm not understanding here. In the ed driver, there are many possible cards, which each have different i/o ports, correct? The driver has a lot of probe routines, and it looks like they are just using different macros with hard-coded (#defined) port addresses. So, how do you CORRECTLY use the newbus calls to probe these ports? I am not running -current, so i do not have 'hints'. jcm -- "I drank WHAT ?!" - Socrates To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message