Date: Fri, 8 Jun 2001 20:18:09 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Sergey Babkin <babkin@bellatlantic.net> Cc: j mckitrick <jcm@FreeBSD-uk.eu.org>, Doug Rabson <dfr@nlsystems.com>, "Matthew N. Dodd" <winter@jurai.net>, Warner Losh <imp@village.org>, Mike Smith <msmith@FreeBSD.ORG>, freebsd-hackers@FreeBSD.ORG Subject: Re: newbussifying drivers Message-ID: <Pine.BSF.4.21.0106082017020.75556-100000@InterJet.elischer.org> In-Reply-To: <3B2164B3.84284526@bellatlantic.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I don;t know why people always forget it, but also look at the sample driver in -current. /usr/share/examples/drivers/make_device_driver.sh (the 4.x version is way out of date) On Fri, 8 Jun 2001, Sergey Babkin wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106082017020.75556-100000>