From owner-freebsd-doc@FreeBSD.ORG Fri Oct 29 19:59:59 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBA7116A4CE for ; Fri, 29 Oct 2004 19:59:59 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B724643D41 for ; Fri, 29 Oct 2004 19:59:59 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 4492 invoked from network); 29 Oct 2004 19:59:59 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 29 Oct 2004 19:59:59 -0000 Received: from [10.50.40.221] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i9TJxr34038872; Fri, 29 Oct 2004 15:59:54 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-doc@FreeBSD.org Date: Fri, 29 Oct 2004 16:01:08 -0400 User-Agent: KMail/1.6.2 References: <418186AB.4060103@home.se> In-Reply-To: <418186AB.4060103@home.se> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410291601.08666.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Karl Andersson Subject: Re: Character Devices (13.4) echo kernmodule outdated X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2004 20:00:00 -0000 On Thursday 28 October 2004 07:54 pm, Karl Andersson wrote: > Hello > > The 5.X version of the echo module example in Character Devices (13.4) > is not working on 5.3. What is needed is an add of the .dversion in > cdevsw struct and a change from dev_t to struct cdev* if i understand > right. Anyway after that change the module worked fine.. The example driver has been fixed, thanks! -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org