Hope this helps someone looking for Adaptec 2940 or 2906 or similar
driver to work for 64-bit Windows 7.
I was able to get the 2940 driver to work in 64 bit Windows 7, actually it is working for my Adaptec 2906.
Google fu was working for me today. Feel free to PM me for help if you like.
I copied the following into a file called djsvs.inf, then I updated the driver by first looking for an Adaptec Storage Controller, then browsing to the djsvs.inf file
[Version]
signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%ADP%
DriverVer=06/21/2006,5.5.5.0
[SourceDisksNames]
1 = %Floppy_Description%,,,
[SourceDisksFiles]
djsvs.sys = 1,,
[Manufacturer]
%ADP%=ADAPTEC,NTx86,NTamd64
[ADAPTEC.NTx86]
%PCI\VEN_9004&DEV_7078&SUBSYS_70781414.DeviceDesc% = aic78xx_Inst, PCI\VEN_9004&DEV_7078&SUBSYS_70781414
%PCI\VEN_9004&DEV_8178.DeviceDesc% = aic78xx_Inst, PCI\VEN_9004&DEV_8178
[ADAPTEC.NTamd64]
%PCI\VEN_9004&DEV_7078&SUBSYS_70781414.DeviceDesc% = aic78xx_Inst, PCI\VEN_9004&DEV_7078&SUBSYS_70781414
%PCI\VEN_9004&DEV_8178.DeviceDesc% = aic78xx_Inst, PCI\VEN_9004&DEV_8178
[aic78xx_Inst]
CopyFiles = @djsvs.sys
[aic78xx_Inst.Services]
AddService = aic78xx, 0x2, aic78xx_Service_Inst, Miniport_EventLog_Inst
[aic78xx_Service_Inst]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_BOOT_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\djsvs.sys
LoadOrderGroup = SCSI Miniport
AddReg = pnpsafe_pci_addreg
[pnpsafe_pci_addreg]
HKR, "Parameters\PnpInterface", "5", 0x00010001, 0x00000001
[create_initiator_lu]
HKR, "Parameters\Device","CreateInitiatorLU",0x00010001,1
[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_AddReg
[Miniport_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,0x00010001,7
[LegacyScsiportValues]
HKR,Scsiport,BusNumber
HKR,Scsiport,LegacyInterfaceType
HKR,Scsiport,SlotNumber
HKR,Scsiport
[DestinationDirs]
DefaultDestDir = 12
[Strings]
INF_PROVIDER="Microsoft"
ADP="Adaptec"
FLOPPY_DESCRIPTION="ADAPTEC SCSI Adapters - Microsoft Disk"
PCI\VEN_9004&DEV_7078&SUBSYS_70781414.DeviceDesc = "Adaptec AIC-7870 PCI SCSI Controller (Emulated)"
PCI\VEN_9004&DEV_8178.DeviceDesc="Adaptec AHA-2940U/2940UW/2940D PCI SCSI Controller"