Previous | Next

Sample INF File

This example assumes a fictitious piece of hardware, a SCSI II Host Adapter built by a company named Apex Drivers. The board requires four I/O ports that can be based at 180H, 190H, 1A0h, or 1B0h. The board requires one exclusive IRQ chosen from 4,5,9,10, or 11. The board can use a DMA channel if one is assigned.

;SCSI.INF
;
; Standard comment

[Version]
Signature="$Chicago$"
Provider=%MSFT%
HardwareClass=SCSIAdapter

[Manufacturer]
%M1%=APEXD  ; Strings key for this manufacturer

[APEXD]
%DevDesc1% = SuperSCSI, *PNPA000, *PnPA001

[SuperSCSI]
; Apex Drivers Model 01 - SuperSCSI+
Log_Config = With_Dma, WithoutDMA
Copyfiles=MoveMiniPort, @SRSutil.exe
AddReg=MOD1

[With_DMA]
; Primary Logical Configuration
ConfigPriority = NORMAL
I/OConfig = 4@180-1B3%fff0(3:0:)
; Allocate 4 ports at base 180,190,1A0 or 1B0, device decodes
; 10bits of I/O address and uses no Aliases.
IRQConfig = 4,5,9,10,11  ; Allocate Exclusive IRQ 4, 5, 9, 10 or 11
DMAConfig = 0,1,2,3  ; Allocate DMA Channel 0, 1 ,2 or 3

[Without_DMA]
; Secondary Logical Configuration
ConfigPriority = SUBOPTIMAL
I/OConfig = 4@180-1B3%fff0(3:0:)
IRQConfig = 4,5,9,10,11

[MOD1]
HKR,,DevLoader,,I/OS
HKR,,Miniport,,SRSmini.386
[DestinationDirs]
MoveMiniPort=12
; Destination for MoveMiniPort Section is windows\iosubsys
DefaultDestDirs=30,bin  ; Direct copies go to Boot:\bin

[SourceDiskSFiles]
SRS01.386 = 1

[SourceDisksNames]
1 = %ID1%, Instd1, 0000-0000

[MoveMiniPort]
SRS01.386

[Strings]
MSFT="Microsoft"
M1="APEX DRIVERS"
DevDesc1=Apex Drivers SCSI II Host Adapter
ID1="Apex Drivers SuperSCSI Installation disk"