Motorola MCP750 Specifications Page 231

  • Download
  • Add to my manuals
  • Print
  • Page
    / 344
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 230
Driver Installation and Tuning
14-9
Driver.o 14
A required component, the Driver.o component is the driver object module that is to be
configured into the kernel. This object file should be compiled using the C programming
language.
Master 14
A required component, the Master file describes a kernel module for configuration into
the system. The System file contains the configuration information for the individual
kernel modules that are actually to be included in the next UNIX system kernel built (see
System(4)).
When the Master component of a module's DSP is installed, idinstall stores the
module's Master file information in /etc/conf/mdevice.d/module-name, where
the file module-name is the name of the driver module being installed.
Packages should never access Master files in /etc/conf directly; they should use the
idinstall and idcheck commands instead.
Master files contain lines of the form:
$version version-number
$dversion DDI-version-number
$entry entry-point-list
$depend module-name-list
$modtype loadable-module-type-name
module-name prefix characteristics order bmaj cmaj
Blank lines and lines beginning with # or * are considered comments and are ignored.
Following is an example Master file for a generic tape driver called gt.
If the b flag is set and the k flag is not set in the characteristics (chars) field, idin-
stall(1M) automatically assigns block major numbers for the device. If both the b and
the k flags are set in the chars field, the bmaj field value is used as the block major num-
ber.
For complete information about the Master file format, refer to the Master(4)
manual page.
System 14
A required component, the System file contains information needed to incorporate a par-
ticular kernel module into the next UNIX system configuration. General configuration
information about the module type is described in the Master file. When the System
$version 1
$entry open close read write ioctlsize strategy print
#module_name prefix chars order bmaj cmaj
gt gt Tkbc 0 103 103
Page view 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 343 344

Comments to this Manuals

No comments