; IBM3270.INF
;
;

[Version]
LayoutFile=layout.inf
signature="$CHICAGO$"
Class=Others
provider=%V_IBM%

[Manufacturer]
%V_IBM%=IBM

[IBM]
%pci.DeviceDesc%     = ibm3270.pci, PCI\VEN_1014&DEV_0134
%pcmcia.DeviceDesc%  = ibm3270.cca, PCMCIA\IBM-3270_EMULATION_CREDIT_CARD_ADAPTER-CF42

;****************************************************************************
; pci       IBM 3270 Emulation PCI Adapter             
;****************************************************************************
[ibm3270.pci]
AddReg=pci.reg
Reboot

[pci.reg]
HKR,,DeviceID,,"IBM-3270_EMULATION_PCI_ADAPTER"
HKR,,InfVersion,,%INF_VERSION%
HKLM,System\CurrentControlSet\Services\VxD\PCI,01341014,1,00,00,40,00

;****************************************************************************
; pcmcia    IBM 3270 Emulation Credit Card Adapter
;****************************************************************************
[ibm3270.cca]
AddReg=pcmcia.reg

[pcmcia.reg]
HKR,,DeviceID,,"IBM-3270_EMULATION_CREDIT_CARD_ADAPTER-CF42"
HKR,,DevLoader,,*CONFIGMG
HKR,,Enumerator,,*CONFIGMG
HKR,,CMDrivFlags,1,03,00,00,00

;
; Basic Configuration 0000
HKR,Override,0000,1,     \
00,04,00,00,             \ CONFIGMG_VERSION
00,00,00,00,             \ PRIORITY
;
; I/O Resource Descriptor
24,00,00,00, \      ; Total length of I/O Resource Descriptor
02,00,00,00, \      ; ResType_IO = 0x00000002
01,00,       \      ; IOD_Count;
0C,00,       \      ; IOD_Type;
00,00,       \      ; IOD_Alloc_Base;
00,00,       \      ; IOD_Alloc_End;
00,00,       \      ; IOD_DesFlags;
00,          \      ; IOD_Alloc_Alias;
00,          \      ; IOD_Alloc_Decode;
F0,FF,       \      ; IOR_Align;        // Mask for base alignment
10,00,       \      ; IOR_nPorts;       // Number of ports
00,00,       \      ; IOR_Min;          // Min port address
ff,ff,       \      ; IOR_Max;          // Max port address
00,00,       \      ; IOR_RangeFlags;   // Flags
00,          \      ; IOR_Alias;        // Alias offset
00,          \      ; IOR_Decode;       // Address specified
00,00,00,00, \      ; PCCARD flags, 0x40 = 16-bit port
;
; IRQ Resource Descriptor
14,00,00,00, \      ; Total length of IRQ Resource Descriptor
04,00,00,00, \      ; ResType_IRQ = 0x00000004
00,00,       \      ; IRQD_Flags;
00,00,       \      ; IRQD_Alloc_Num;   // Allocated IRQ number
ff,ff,       \      ; IRQD_Req_Mask;    // Mask of possible IRQs
00,00,       \      ; IRQD_Reserved;
20,00,00,00, \      ; PCCARD flags, 0x20 = Level mode interrupts
;
; Memory Resource Descriptor
34,00,00,00, \      ; Total length of Memory Resource Descriptor
01,00,00,00, \      ; ResType_Mem = 0x00000001
01,00,       \      ; MD_Count;
14,00,       \      ; MD_Type;
00,00,00,00, \      ; MD_Alloc_Base;
00,00,00,00, \      ; MD_Alloc_End;
00,00,       \      ; MD_Flags;
00,00,       \      ; MD_Reserved;
00,e0,ff,ff, \      ; MR_Align;         // Mask for base alignment
00,20,00,00, \      ; MR_nBytes;        // Count of bytes (16K)
00,00,00,00, \      ; MR_Min;           // Min Address
ff,ff,0f,00, \      ; MR_Max;           // Max Address
00,00,       \      ; MR_Flags;         // Flags
00,00,       \      ; MR_Reserved;
08,00,00,00, \      ; PCCARD flags, 0x02 = attribute mem, or
                    ;               0x08 = 16-bit common mem
00,00,00,00, \      ; Memory card address
;
; REQUEST_CONFIG_PKT Descriptor
19,00,00,00, \      ; Total length of REQUEST_CONFIG_PKT Descriptor
7C,89,00,00, \      ; (ResType_Ignored_Bit + PCCARD_DEVICE_ID) = 0x897C
00,00,       \      ; Socket;
02,00,       \      ; Attributes;
32,          \      ; Vcc;
00,          \      ; Vpp1;
00,          \      ; Vpp2;
02,          \      ; IntType;
00,1c,00,00, \      ; ConfigBase;
00,          \      ; Status;
00,          \      ; Pin;
00,          \      ; Copy;
01,          \      ; ConfigIndex;
01,          \      ; Present;
;
00,00,00,00         ; TERMINATOR

;****************************************************************************
; Localizable Strings
;****************************************************************************
[strings]
; Provider
; Manufacturers
V_IBM="IBM"
DSK_IBM="IBM 3270 Emulation Adapter"
; PNP Devices
pci.DeviceDesc   ="IBM 3270 Emulation PCI Adapter"
pcmcia.DeviceDesc="IBM 3270 Emulation Credit Card Adapter"
INF_VERSION="1.0"

