Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2013 11:27:57 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Eitan Adler <eadler@freebsd.org>
Cc:        svn-doc-head@freebsd.org, svn-doc-all@freebsd.org, doc-committers@freebsd.org
Subject:   Re: svn commit: r40944 - head/en_US.ISO8859-1/books/arch-handbook/driverbasics
Message-ID:  <201302111127.57887.jhb@freebsd.org>
In-Reply-To: <201302111346.r1BDkVpm012937@svn.freebsd.org>
References:  <201302111346.r1BDkVpm012937@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, February 11, 2013 8:46:31 am Eitan Adler wrote:
> Author: eadler
> Date: Mon Feb 11 13:46:30 2013
> New Revision: 40944
> URL: http://svnweb.freebsd.org/changeset/doc/40944
> 
> Log:
>   Fix indentation and whitespace
>   
>   Translators may ignore
>   
>   Approved by:	bcr (mentor)
> 
> Modified:
>   head/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.xml
> 
> Modified: head/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.xml
> 
==============================================================================
> --- head/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.xml	Mon 
Feb 11 13:46:28 2013	(r40943)
> +++ head/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.xml	Mon 
Feb 11 13:46:30 2013	(r40944)
> @@ -148,10 +148,10 @@ KMOD=skeleton
>  .include &lt;bsd.kmod.mk&gt;</programlisting>
>  
>        <para>Running <command>make</command> with this makefile
> -        will create a file <filename>skeleton.ko</filename> that can
> -        be loaded into the kernel by typing:
> -<screen>&prompt.root; <userinput>kldload -v 
./skeleton.ko</userinput></screen>
> -      </para>
> +	will create a file <filename>skeleton.ko</filename> that can
> +	be loaded into the kernel by typing:</para>
> +
> +      <screen>&prompt.root; <userinput>kldload -v 
./skeleton.ko</userinput></screen>
>      </sect2>
>    </sect1>
>  
> @@ -164,8 +164,8 @@ KMOD=skeleton
>        accesses a device node.  The <command>/dev/MAKEDEV</command>
>        script makes most of the device nodes for your system but if you
>        are doing your own driver development it may be necessary to
> -      create your own device nodes with <command>mknod</command>.
> -    </para>
> +      create your own device nodes with
> +      <command>mknod</command>.</para>
>  
>      <sect2>
>        <title>Creating Static Device Nodes</title>
> @@ -422,8 +422,7 @@ Closing device "echo".</screen>
>        (partition) to two devices with different semantics significantly
>        complicated the relevant kernel code &os; dropped support for
>        cached disk devices as part of the modernization of the disk I/O
> -      infrastructure.
> -    </para>
> +      infrastructure.</para>
>    </sect1>
>  
>    <sect1 id="driverbasics-net">

All the bits about MAKEDEV and mknod should be removed.  They haven't been 
necessary since 4.x.  That means all of section 9.3 can be removed.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302111127.57887.jhb>