From owner-freebsd-doc@FreeBSD.ORG Fri Jan 6 21:51:30 2006 Return-Path: X-Original-To: doc@freebsd.org 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 443AB16A41F for ; Fri, 6 Jan 2006 21:51:30 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12BC643D7F for ; Fri, 6 Jan 2006 21:51:28 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 5456025 for ; Fri, 06 Jan 2006 16:52:58 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k06LpRZA027507 for ; Fri, 6 Jan 2006 16:51:27 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: doc@freebsd.org Date: Fri, 6 Jan 2006 16:52:16 -0500 User-Agent: KMail/1.8.2 References: <200601062129.k06LTqIK051788@repoman.freebsd.org> In-Reply-To: <200601062129.k06LTqIK051788@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601061652.16794.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1234/Fri Jan 6 08:54:31 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Subject: Re: cvs commit: doc/en_US.ISO8859-1/books/arch-handbook/pci chapter.sgml X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2006 21:51:30 -0000 On Friday 06 January 2006 04:29 pm, John Baldwin wrote: > jhb 2006-01-06 21:29:52 UTC > > FreeBSD doc repository > > Modified files: > en_US.ISO8859-1/books/arch-handbook/pci chapter.sgml > Log: > Various and sundry cleanups to the sample PCI driver: > - Split the first section into sub-sections instead of just paragraphs. > - Include a makefile for a kernel module for the sample driver and > explain how to use 'make', 'make load', and 'make unload'. > - Use 'struct cdev *' rather than 'dev_t'. > - Add missing d_version to cdevsw. > - Explain how to use si_drv1 in struct cdev to get from a cdev back to > the softc. > - Add a softc and move the cdev pointer into the softc. Given the cdev > a unique name and minor number for each device. > - Use better comments in several places. > - Actually call device_set_desc() in probe, and use BUS_PROBE_DEFAULT > rather than 0. > - Add missing call to destroy_dev() in detach. > - Use DEFINE_CLASS_0. > > PR: docs/90830 > Submitted by: Marius Nuennerich marius dot nuennerich at gmx dot net Is there any way to get tidy to not butcher tabs in content? It seemed that nearly every other build it either preserved the tabs or cut them in half to only 4 chars. I did verify that if I built with 'make NO_TIDY=yes' everything looked fine and wasn't butchered, so it's some issue with tidy being too smart it seems. I suppose I could resort to using explicit spaces and no tabs perhaps, but that would be rather yucky. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org