From owner-freebsd-hackers Fri Jun 8 16:52:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp4ve.mailsrvcs.net (smtp4vepub.gte.net [206.46.170.25]) by hub.freebsd.org (Postfix) with ESMTP id C10FE37B401; Fri, 8 Jun 2001 16:52:44 -0700 (PDT) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-151-198-117-210.nnj.dialup.bellatlantic.net [151.198.117.210]) by smtp4ve.mailsrvcs.net (8.9.1/8.9.1) with ESMTP id XAA41437936; Fri, 8 Jun 2001 23:50:12 GMT Message-ID: <3B2164B3.84284526@bellatlantic.net> Date: Fri, 08 Jun 2001 19:50:11 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: j mckitrick Cc: Doug Rabson , "Matthew N. Dodd" , Warner Losh , Mike Smith , freebsd-hackers@FreeBSD.ORG Subject: Re: newbussifying drivers References: <20010608040211.A61278@dogma.freebsd-uk.eu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 j mckitrick wrote: > > 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'. As Doug Rabson said, write an 'identify' routine. Look at the ep driver for an example. And my artile in DaemonNews (www.daemonnews.org) from I think August 2000 or somewhere around that time gives some description of the newbussified ISA drivers. It should also be included into the Handbook by now. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message