[<log-config-section-name>]
ConfigPriority = <priority-value>
[DMAConfig = <dma-list>]
[IOConfig = <io-range-list>]
[IRQConfig = <irq-list>]
[MemConfig = <mem-range-list>]
A Log Config section defines device configuration details, such as interrupt request lines, memory ranges, I/O ports, and DMA channels. The name of the section, log-config-section-name, must be used in the LogConfig item in an Install section of the INF file.
Not all types of items shown in the preceding syntax are needed or required in a Log Config section. The syntax and meaning of each of the item types that can be used in a Log Config section are given later in this topic.
Each item can specify more than one resource. However, during installation one and only one resource from an item is used. If a device needs multiple resources of the same type, multiple items of that type must be used in the Log Config section. For example, to ensure two IRQs for a device, two IRQConfig items must be used in the Log Config section. If a device does not require an IRQ, no IRQConfig item should be used.
An INF file can contain any number of Log Config sections, as many as are needed to describe the device dependencies. However, each section must contain complete details for installing one device. More than one Log Config section can be specified for device. If this is done, only one of the Log Config sections will be used during installation.
For each Log Config section item, the installer builds binary logical configuration records and adds these to the driver section of the registry.
The syntax of each of the following types of Log Config section items is shown in subsequent sections.
ConfigPriority Item | |
DMAConfig Item | |
IOConfig Item | |
IRQConfig Item | |
MemConfig Item |