From owner-freebsd-hackers Tue May 30 23:54:43 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 7B14F37B7B3; Tue, 30 May 2000 23:54:39 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id CAA95676; Wed, 31 May 2000 02:54:37 -0400 (EDT) Date: Wed, 31 May 2000 02:54:37 -0400 (EDT) From: "Matthew N. Dodd" To: Mike Smith Cc: Dennis , hackers@FreeBSD.ORG Subject: Re: 4.0 - Isa devices not being probed In-Reply-To: <200005301612.JAA01179@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 30 May 2000, Mike Smith wrote: > This is still pretty straightforward, actually. Your problem is that > you're looking at an API with *more* functionality, and you need to > incorporate the superset. You'll typically find that everything your > Linux driver does can be handled with a wrapper that's also busspace > compatible. And in fact, if your driver is well written in the first place, converting to bus_space should only involve a couple of lines of code, plus the code to manage the bus_space setup/teardown. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message