I’m having nothing but trouble trying to create an .inf file for an ISA
Serial Driver I’m trying to write in KMDF (ported from a NonPnP driver).
BTW: The driver is not used as a standard Comm port interface, it’s got its
own unique DevIoctl calls and used for synchronous (separate data & clock
lines) data streams.
Below is a copy of my .inf that works fine for the NonPnP driver, could
someone please tell me how I’ll need to change it to have it install my
driver correctly and to have the PnP Manager call my driver’s DeviceAdd
callback (to allocate my legacy IRQ and IO address)?
Thanks for any help you can give me!
Bill
;***************************************************************************
*
; Braxton FrontEnd CCS Hardware inf File for Windows NT *
; Copyright (C) 2007 Braxton Technologies. All Rights Reserved. *
; Version 1.0 *
;***************************************************************************
*
[Version]
signature=“$Windows NT$”
DriverVer=01/02/2007
Provider=%Mfg%
Class = Ports
ClassGuid = {4d36e978-e325-11ce-bfc1-08002be10318}
[DestinationDirs]
DefaultDestDir=12 ; DIRID_DRIVERS
[Manufacturer]
%Mfg%=Braxton
[SourceDisksNames]
; diskid = description[, [tagfile] [, , subdir]]
1=%DiskDescription%,ccsdrvr.sys,
[SourceDisksFiles]
; filename_on_source = diskID[, [subdir][, size]]
ccsdrvr.sys=1
[Braxton]
%DeviceDescription%=CCSDriver.Install,*CCSDriver
[DefaultInstall]
LogConfig=CCSDriver.Config
CopyFiles=CCSDriver.DriverFile
AddReg=CCSDriver.Reg
[DefaultInstall.Services]
Addservice = ccsdrvr, 0x00000002, CCSDriver.AddService
[CCSDriver.Install]
LogConfig=CCSDriver.Config
CopyFiles=CCSDriver.DriverFile
AddReg=CCSDriver.Reg
;Uninstall=DefaultUninstall
[CCSDriver.DriverFile]
ccsdrvr.sys
[CCSDriver.Config]
ConfigPriority = HARDRECONFIG
IOConfig = 238-23F(3ff:
IRQConfig= 5
[CCSDriver.Reg]
HKLM,%ServiceRegParamKey%,Interrupt ,0x10001,0x0005
HKLM,%ServiceRegParamKey%,BaseAddress ,0x10001,0x0238
[CCSDriver.DelReg]
[CCSDriver.Install.Services]
Addservice = CcsDrvr, 0x00000002, CCSDriver.AddService
[CCSDriver.AddService]
DisplayName = %ServiceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
LoadOrderGroup = Base
ServiceBinary = %12%\Ccsdrvr.sys
[DefaultUninstall]
DelFiles = CCSDriver.DriverFile
DelReg = CCSDriver.DelReg
[Strings]
Mfg=“Braxton Technologies Inc.”
Company=“Braxton Technologies Inc.”
DiskDescription=“Braxton Technologies AceSuite Hardware Driver Disk”
DeviceDescription=“Braxton Technologies AceSuite CCS Driver”
CCSDriver.DeviceDescription=“CCS Device Driver”
DeviceClassName=“Braxton Front End Hardware”
ServiceDesc=“AceSuite CCS Device Driver”
ServiceRegKey = “SYSTEM\CurrentControlSet\Services\Ccsdrvr”
ServiceRegParamKey= “SYSTEM\CurrentControlSet\Services\Ccsdrvr\Parameters”