From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 8 01:06:02 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F10E16A41F for ; Mon, 8 Aug 2005 01:06:02 +0000 (GMT) (envelope-from julian@elischer.org) Received: from delight.idiom.com (delight.idiom.com [216.240.32.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31F4E43E79 for ; Mon, 8 Aug 2005 01:06:02 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id 925E11FDED6; Sun, 7 Aug 2005 18:06:01 -0700 (PDT) Received: from [192.168.2.3] (home.elischer.org [216.240.48.38]) by idiom.com (8.12.11/8.12.11) with ESMTP id j78160d3022911; Sun, 7 Aug 2005 18:06:01 -0700 (PDT) (envelope-from julian@elischer.org) Message-ID: <42F6AFF4.9070600@elischer.org> Date: Sun, 07 Aug 2005 18:05:56 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050424 X-Accept-Language: en, hu MIME-Version: 1.0 To: "M. Warner Losh" References: <20050807.174657.19493876.imp@bsdimp.com> In-Reply-To: <20050807.174657.19493876.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, alexjeffburke@gmail.com Subject: Re: Model device driver / Newbus X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 01:06:02 -0000 M. Warner Losh wrote: > In message: > Alex Burke writes: > : Hi, > : > : I want to try writing a driver for an MCA card. > : > : I am just wondering if there is any skeleton driver (preferably a bus > : like PCI), and also whether the newbus framework is used for MCA > : drivers. What is the preferred method of writing drivers now? > > MCA as in micro channel architecture? If so, then you should look at > the ep driver. It is one of the few in the tree that has a mca > attachment, and would be good to review. Warner, A while back you indicated that you would like to redo the sample skeleton drivers in share/examples.. I can do that over the net few days if you could give me some pointers as to good examples of modern code to extract from. (I have a few days off since my recent brush with a PHM at work) It'll probaly take a few iterations as I haven't been following newbus so I'll need to pass teh results back to you for comment and fixing several times. > > Warner > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"