svn commit: r40944 - head/en_US.ISO8859-1/books/arch-handbook/driverbasics

John Baldwin jhb at freebsd.org
Mon Feb 11 21:12:01 UTC 2013


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 <bsd.kmod.mk></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


More information about the svn-doc-all mailing list