summaryrefslogtreecommitdiff
path: root/en/tutorials/ddwg/ddwg.sgml
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1996-12-28 23:36:54 +0000
committerMike Pritchard <mpp@FreeBSD.org>1996-12-28 23:36:54 +0000
commit04564716a7c9029dba70eb231589346f6f95e0ad (patch)
tree4e77d0d82a82eaf9a1f366490b59db7ac77c8b65 /en/tutorials/ddwg/ddwg.sgml
parent0788e8780d7fad9bc7d214899a44bb91b4cd46ca (diff)
Notes
Diffstat (limited to 'en/tutorials/ddwg/ddwg.sgml')
-rw-r--r--en/tutorials/ddwg/ddwg.sgml14
1 files changed, 7 insertions, 7 deletions
diff --git a/en/tutorials/ddwg/ddwg.sgml b/en/tutorials/ddwg/ddwg.sgml
index 1738fcd42a..41cbbafa64 100644
--- a/en/tutorials/ddwg/ddwg.sgml
+++ b/en/tutorials/ddwg/ddwg.sgml
@@ -6,7 +6,7 @@
++
++ Copyright Eric L. Hernes - Wednesday, August 2, 1995
++
- ++ $Id: ddwg.sgml,v 1.2 1996-10-06 20:17:08 jfieber Exp $
+ ++ $Id: ddwg.sgml,v 1.3 1996-12-28 23:36:51 mpp Exp $
++
++ Sgml doc for something
-->
@@ -20,8 +20,8 @@
<abstract>
This document describes how to add a device driver to FreeBSD. It is
-<it/not/ intended to be a tutorial on unix device drivers in general.
-It is intended for device driver authors, familiar with the unix
+<it/not/ intended to be a tutorial on UNIX device drivers in general.
+It is intended for device driver authors, familiar with the UNIX
device driver model, to work on FreeBSD.
</abstract>
@@ -464,7 +464,7 @@ The steps required to add your driver to the standard FreeBSD kernel are
<p>
The standard model for adding a device driver to the Berkeley kernel
is to add your driver to the list of known devices. This list is
-dependant on the cpu architecture. If the device is not i386 specific
+dependent on the CPU architecture. If the device is not i386 specific
(PCCARD, PCI, SCSI), the file is in ``/usr/src/sys/conf/files''.
If the device is i386 specific, use ``/usr/src/sys/i386/conf/files.i386''.
A typical line looks like:
@@ -793,9 +793,9 @@ Lines 132 - 139
driver, as opposed to an LKM filesystem, or an LKM system call.
<code>
132 /*
- 133 * this macro maps to a funtion which
+ 133 * this macro maps to a function which
134 * sets the LKM up for a driver
- 135 * as opposed to a filesystem, systemcall, or misc
+ 135 * as opposed to a filesystem, system call, or misc
136 * LKM.
137 */
138 MOD_DEV("pcaudio_mod", LM_DT_CHAR, 24, &amp;pcacdevsw);
@@ -833,7 +833,7 @@ and just refer to the shared memory segment via pointers.
151 /*
152 * this maps the shared memory address
153 * from physical to virtual, to be
- 154 * consistant with the way
+ 154 * consistent with the way
155 * /usr/src/sys/i386/isa.c handles it.
156 */
157 pcadev[i].id_maddr -=0xa0000;