- 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.
- 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
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
- Add markup to several variable, constant, and function names.
- Remove trailing () from marked up functions to be consistent.
- Split up a non-word into its two sub-words.
Add mention of the mac_get_peer() interface, and also the ioctls to
get and set network interface labels.
Sponsored by: SPAWAR, McAfee Research
Obtained from: TrustedBSD Project
informaltable element properly, unless the pgwide attribute is
explicitly set to 1. Use this consistently within the (en) tree, and
update the FDP accordingly. This should finally silence the demons in:
PR: docs/73095
Submitted by: Hilko Meyer <Hilko dot Meyer at gmx dot de>
- Use an dynamic major number rather than a static one.
- Use 'struct cdev *' rather than 'dev_t'.
- Add d_version field to echo_devsw.
- Use malloc()/free() rather than the macros.
Submitted by: Karl Andersson karland at home dot se (2,3)
Currently we have articles.ent and books.ent, and
for example, articles.ent can be used by putting the
following lines in the doctype declaration:
<!ENTITY % articles.ent PUBLIC
"-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
%articles.ent;
This pulls all of the necessary entities via share/sgml/articles.ent.
The translation teams can customize these entities by redefining
the articles.ent file in <langcode>/share/sgml. See
ja_JP.eucJP/share/sgml for example.
is not defined.
- URL_RELPREFIX must always point the top page's URL
(http://www.FreeBSD.org) in relative form, defined in Makefile.
- &url.base; can be used in doc/<langcode>/*. It will be
replaced with the real URL which points the top page.
For translators: Please make sure to define URL_RELPREFIX to
point the top page. The localized docs have different directory
hierarchy in its URL from the English version.
Tested by: den