Commit graph

286 commits

Author SHA1 Message Date
Eitan Adler
0dd2935666 Fix typos
Submitted by:	bjk
Approved by:	bcr (mentor)
2012-11-29 13:13:59 +00:00
Eitan Adler
dd3f5884a9 Minor tweaks to the example code that I had forgotten to migrate
from code to documentation.

Submitted by:	gonzo
Approved by:	bcr (mentor)
2012-11-27 19:34:45 +00:00
Eitan Adler
008d649c14 Remove obsolete links which are now 404s (or worse)
Approved by:	bcr (mentor)
2012-11-27 15:30:43 +00:00
Eitan Adler
ac36ffe323 Modernize the example echo module and fix some style(9) issues in the
code.

Reviewed by:	alfred (code)
Reviewed by:	gonzo (code)
Reviewed by:	ehaupt (code)
Approved by:	bcr (mentor)
2012-11-27 15:30:40 +00:00
Eitan Adler
2d84158050 Remove obsolete comments from the architecture handbook.
Approved by:	bcr (mentor)
2012-11-21 13:57:09 +00:00
Eitan Adler
ee9afa89e4 Remove ancient example code from the architecture handbook.
Approved by:	bcr (mentor)
2012-11-17 06:02:41 +00:00
Isabell Long
2be1e25fc2 Replace 'SGML' with 'XML' in Makefile code and comments. A consequence of
this was that 'SGMLFLAGS' had to be changed to 'XMLFLAGS' in
share/mk/doc.docbook.mk so that everything continued to build OK.

Approved by:	gabor (mentor)
2012-10-06 17:52:37 +00:00
Gabor Kovesdan
77d737ee88 - Rename the share/sgml directories to share/xml
- Fix build errors from the next change

Approved by:	doceng (implicit)
2012-10-01 11:56:00 +00:00
Gabor Kovesdan
b4346b9b2d - Rename .sgml files to .xml
- Reflect the rename in referencing files

Approved by:	doceng (implicit)
2012-10-01 09:53:01 +00:00
Gabor Kovesdan
9c243757ef - XML declarations should use IANA encoding names
Pointed out by:	hrs
2012-09-14 17:47:48 +00:00
Gabor Kovesdan
2e51ec7022 - Strip unnecessary trailing spaces
Approved by:	doceng (implicit)
2012-08-21 19:16:02 +00:00
Gabor Kovesdan
74586f38c6 - Remove PSGML comments since they are not very useful after the XML
migration

Approved by:		doceng (implicit)
No objection from:	doc@, www@
2012-08-07 23:31:39 +00:00
Gabor Kovesdan
3cdf4e4922 - XMLify English books
Approved by:	doceng (implicit)
2012-06-21 16:04:40 +00:00
Warren Block
321bd374f5 Whitespace-only changes. Wrap long lines, fix indentation. 2012-04-02 15:50:31 +00:00
Warren Block
1211b57ee0 Edit for clarity and readability. Fix title capitalization.
Reviewed by:	imp
2012-04-02 15:26:21 +00:00
Warren Block
d72e3fd433 Whitespace-only fixes: indentation, wrapping long lines, blank lines. 2012-03-19 04:57:07 +00:00
Warner Losh
c8817beb39 Minor word smithing that I've had in my tree for a while. This
article could use further editing.
2012-03-19 04:14:40 +00:00
Eitan Adler
4bca7fa226 Fiddle fiddle, tweak tweak:
minor wording changes to my last commit

Reviewed by:	gavin
Approved by:	dougb
2012-03-18 00:18:55 +00:00
Eitan Adler
2bdc87af7b Fix a variety of duplicate and misspelled words
Approved by:	dougb
2012-03-17 04:53:52 +00:00
Warren Block
96ab6d2e08 Correct transposed "the all".
Approved by:	bcr (mentor)
2012-01-22 17:11:52 +00:00
Warren Block
75e065b0fa Whitespace-only fixes to indentation and line wrap. Translators may
ignore.

Approved by:	gjb (mentor)
2012-01-10 02:50:25 +00:00
Warren Block
ec5792c0b8 Narrow an overwide table, clarify some wording, fix header filenames in
programlistings so they consistently end with a colon, split some long
sentences in two, remove some extraneous commas and words, make a
reference to the Developers Handbook a link, and fix title capitalization.

Approved by:	gjb (mentor)
2012-01-09 18:26:08 +00:00
Giorgos Keramidas
ad7784a4a2 'Protection Enabled' is the official Intel name for the PE bit of cr0.
Submitted by:	Petros Barbagiannis (petros.barbagiannis at gmail)
2012-01-09 13:53:24 +00:00
Giorgos Keramidas
29eaa0176d The 'Protection Enabled' bit is part of CR0 not CR1 register.
Submitted by:	Petros Barbagiannis (petros.barbagiannis at gmail)
2012-01-09 13:43:07 +00:00
Warren Block
714ce759e2 Clarity, grammar, title corrections.
Approved by:	gjb (mentor)
2012-01-08 03:32:31 +00:00
Warren Block
e17c7b544f Fix one programlisting that was missed in the previous commit.
Translators: this changes whitespace content inside the programlisting,
which may be visible in the output.

Approved by:	gjb (mentor)
2012-01-07 23:20:12 +00:00
Warren Block
97b9b5c3f7 Correct programlisting elements, fix trailing spaces, tabs after spaces,
and blank lines.  Translators may wish to verify the output of
programlisting elements.  Although these are whitespace changes, they can
result in differences in the rendered output.
2012-01-07 22:08:17 +00:00
Warren Block
3cb17c52b0 Whitespace-only changes to fix indentation, remove trailing whitespace,
and wrap long lines.  Translators: none of these changes affect content,
and can be ignored for translation purposes.

Approved by:	gjb (mentor)
2012-01-07 13:43:22 +00:00
Johann Kois
76605c9c9d PR: docs/153821
Remove some references to the now gone/inactive mailingslists

- freebsd-alpha
- freebsd-qa
- freebsd-smp
2011-01-15 12:51:40 +00:00
Benedict Reuschling
8948ed2fc0 Fix a few minor spelling mistakes in the arch-handbook.
Translators can ignore them.

PR:             docs/149193
Submitted by:   olgeni@
2010-08-02 16:15:46 +00:00
Daniel Gerzo
2bbc32a74c - correct the file name
Submitted by:	fender0107401@gmail.com
2009-11-28 11:14:28 +00:00
Manolis Kiagias
7aac0f5971 Reword a paragraph to more proper English
PR:		docs/127027
Submitted by:	Eitan Adler <eitan.adler+fbsd@gmail.com>
Approved by:	gabor (mentor)
2008-09-03 15:45:54 +00:00
Xin LI
0b444add8d Update this chapter with respect to our current state of jail
infrastructure, plus several markup corrections.

Submitted by:	MQ <antinvidia at gmail dot com>
2008-02-01 18:54:32 +00:00
Chin-San Huang
697b1c335a - According to the module(9) man page, the return value for
unrecognized values is EOPNOTSUPP, not EINVAL.

Noticed by:	kevlo
2007-07-16 13:55:59 +00:00
Xin LI
74936af500 Correct several typos, etc. in jail chapter:
- Correct misuse of '.' and '_'
 - ntohl() converts from network order to host order,
   which is described oppositely.
 - Userland jail.c does not do fork() before execve(),
   reflect the fact.
 - prison_ip() returns 0 when IP is owned by the current
   jail, and the arch handbook describes the opposite.

Submitted by:	MQ <nodummy yeah net>
PR:		docs/108676
2007-05-15 02:39:44 +00:00
Xin LI
00618f6a8c - Correct typos (. vs _)
- Catch up with reality found in kern_jail.c:1.18
2007-01-31 14:22:22 +00:00
Marc Fonvieille
9b5776d04c Update copuright year since this book have been updated in 2006. 2006-08-28 19:11:28 +00:00
Marc Fonvieille
e13bdf2a4b Various typo and punctuation fixes. 2006-08-28 18:59:16 +00:00
Maxim Konovalov
b65aee2fe7 o init_param1() sets kern.maxdsiz as well. 2006-06-20 19:34:37 +00:00
Joel Dahl
89b7bd9c19 Expand two contractions. 2006-04-24 19:25:21 +00:00
John Baldwin
74a685c1af - Set si_drv1 in mypci_attach().
- Add a note describing the new bus_*() functions that take a struct
  resource * and thus don't need the bus tag and handle in the softc
  that are in FreeBSD 7.0 and later.
- Minor fixups in return values and a compile nit in mypci.c.
2006-04-18 15:39:51 +00:00
Maxim Konovalov
6e14f80bcc o Fix a couple off-by-one errors, style(9). 2006-04-15 20:00:35 +00:00
Maxim Konovalov
13be634c09 o Add missed 'typedef'.
PR:		docs/78062
Submitted by:	ALeine

o Remove unused variable.
2006-04-14 11:14:55 +00:00
Hiroki Sato
b4bd9a39f7 Fix "Prev" navlink.
Pointed out by:	intron at intron dot ac
2006-04-07 15:37:12 +00:00
Xin LI
77b5c7ca76 Correct markup.
Pointed out by:	intron <intron at intron ac>
2006-01-22 16:20:37 +00:00
John Baldwin
d5cc81900b 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
2006-01-06 21:29:52 +00:00
Xin LI
e140896ec8 Escape <, >, &'s, plus some cleanups against the SGML. There should not
be any content changes involved in this commit, however, localization
teams are encouraged to catch up with this change.

Requested by:	intron at intron ac
Reviewed by:	Niclas Zeising <lothrandil at n00b apagnu se>
Glanced by:	simon
2006-01-05 20:03:39 +00:00
Remko Lodder
287e5fe13b Fix various typo's and grammar nits.
Noticed by:		Samy Al Bahra <samy at kerneled dot org>
2005-08-04 18:32:10 +00:00
Marc Fonvieille
ee69cc70cd Fix links to daemonnews.org 2005-07-21 09:23:06 +00:00
Xin LI
13066979d9 Add a space between "thread" and "into" so this reads like what it
should be.

Submitted by:	Wojciech A. Koszek [dunstan@freebsd.czest.pl]
2005-07-03 04:49:17 +00:00