/*****************************************************************************
* Copyright (c) 2000 Digi International Inc., All Rights Reserved
* 
* This software contains proprietary and confidential information of Digi
* International Inc.  By accepting transfer of this copy, Recipient agrees
* to retain this software in confidence, to prevent disclosure to others, 
* and to make no use of this software other than that for which it was
* delivered.  This is an unpublished copyrighted work of Digi International
* Inc.  Except as permitted by federal law, 17 USC 117, copying is strictly
* prohibited.
* 
* Restricted Rights Legend
*
* Use, duplication, or disclosure by the Government is subject to
* restrictions set forth in sub-paragraph (c)(1)(ii) of The Rights in
* Technical Data and Computer Software clause at DFARS 252.227-7031 or
* subparagraphs (c)(1) and (2) of the Commercial Computer Software -
* Restricted Rights at 48 CFR 52.227-19, as applicable.
*
* Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343
*
*****************************************************************************/

#if !defined PNPFILEANDIDS_H_INCLUDED
#define PNPFILEANDIDS_H_INCLUDED
// PnpFileAndIds.h

#include "dxbbuildnumber.h"
#define Textizer(x) TEXT(#x)

// Plug and play manager hardware IDs and files names
#ifndef NETCLASS
#define NETCLASS	        TEXT("Net")
#endif
#ifndef MPSCLASS
#define MPSCLASS	        TEXT("MultiPortSerial")
#endif
#ifndef PORTCLASS
#define PORTCLASS           TEXT("Ports")
#endif

// INF files
#define NETDGDXB_INF        TEXT("netdgds.inf")
#define DIGIPPP_INF         TEXT("dgdsppp.inf")
#define DIGIPVC_INF         TEXT("dgdspvc.inf")
#define DIGISNA_INF         TEXT("dgdssna.inf")
#define DIGISVC_INF         TEXT("dgdssvc.inf")
#define WANLINKS_INF_COPY_LIST \
   {NETDGDXB_INF},  \
   {DIGIPPP_INF},   \
   {DIGIPVC_INF},   \
   {DIGISNA_INF},   \
   {DIGISVC_INF},
// PAM Agent files
#define DIGI_PAMA           TEXT("dgdspama.exe")
#define DIGI_SHIM           TEXT("dgdsmgmt.dll")
#define WANLINKS_PAM_COPY_LIST \
   {DIGI_PAMA}, \
   {DIGI_SHIM},
// catalog file
#define WANLINKS_CAT_FILE   TEXT("netdgds.cat")
#define WANLINKS_CAT_FILE_COPY_LIST \
   {WANLINKS_CAT_FILE},
   // readme
#define WANLINKS_README     TEXT("readme.txt")
#define WANLINKS_README_COPY_LIST \
   {WANLINKS_README},
   // Drivers
#define WANLINKS_DXB_SYS    TEXT("dgdsdxb.sys")
#define WANLINKS_SOH_SYS    TEXT("dgdssoh.sys")
#define WANLINKS_ISDN_SYS   TEXT("")
#define WANLINKS_ASYN_SYS   TEXT("")
#define WANLINKS_LAN_SYS    TEXT("dgdslan.sys")
#define WANLINKS_X25_SYS    TEXT("dgdsx25.sys")
#define WANLINKS_SNA_SYS    TEXT("dgdssna.sys")
#define WANLINKS_PPP_SYS    TEXT("dgdsPPP.sys")
#define WANLINKS_DRIVER_COPY_LIST  \
   {WANLINKS_DXB_SYS},  \
   {WANLINKS_SOH_SYS},  \
   {WANLINKS_ISDN_SYS}, \
   {WANLINKS_ASYN_SYS}, \
   {WANLINKS_LAN_SYS},  \
   {WANLINKS_X25_SYS},  \
   {WANLINKS_SNA_SYS},  \
   {WANLINKS_PPP_SYS},
// FEP, BIOS
#define WANLINKS_FEPCLYDE_BIN TEXT("dgdsfep.bin")
#define WANLINKS_BIN_COPY_LIST  \
   {WANLINKS_FEPCLYDE_BIN},
// Coinstaller, name from dxbbuildnumber.h
#define WANLINKS_INF_DLL    DXBVER_COINSTALLER_TEXT
#define COCPY_INF_DLL       TEXT("cocpyinf.dll")
// Config DLLs
#define WANLINKS_FWRK_DLL  TEXT("dgdsfwrk.dll")
#define WANLINKS_FRX_DLL   TEXT("dgdsfrx.dll")
#define WANLINKS_CLYD_DLL  TEXT("dgdsclyd.dll")
#define WANLINKS_PPP_DLL   TEXT("dgdsppp.dll")
#define WANLINKS_SNA_DLL   TEXT("dgdssna.dll")
#define WANLINKS_SDCFG_DLL TEXT("dgdsdcfg.dll")
#define WANLINKS_XCFG_DLL  TEXT("dgdsxcfg.dll")
#define WANLINKS_CSNT_DLL  TEXT("dgdscsnt.dll")
#define WANLINKS_DLL_COPY_LIST  \
   {WANLINKS_INF_DLL},  \
   {COCPY_INF_DLL},  \
   {WANLINKS_FWRK_DLL}, \
   {WANLINKS_FRX_DLL},  \
   {WANLINKS_CLYD_DLL}, \
   {WANLINKS_PPP_DLL},  \
   {WANLINKS_SNA_DLL},  \
   {WANLINKS_SDCFG_DLL},\
   {WANLINKS_XCFG_DLL}, \
   {WANLINKS_CSNT_DLL},
// Help Files, CHM
#define WANLINKS_RAS_CHM   TEXT("dgdshelp.chm")
#define WANLINKS_CHM_COPY_LIST  \
   {WANLINKS_RAS_CHM},
#define WANLINKS_DIAG_COPY_LIST
// MFC DLLs, only needed for debug, the current free version is guaranteed to be on the system
#define WANLINKS_DBG_MFC_COPY_LIST \
   {TEXT("mfco42d.dll")},  \
   {TEXT("mfc42d.dll")},   \
   {TEXT("msvcrtd.dll")},

//
// Plug and play manager hardware IDs
//
#define PNPHWID            TEXT("PCI\\VEN_AAAA&DEV_BBBB&SUBSYS_CCCCDDDD")

// SYNC 2000 (Clydesdale, Sync)
// Legacy PCI
#define PNPHWID_S2K_P4_OLD TEXT("PCI\\VEN_114F&DEV_001F&SUBSYS_00000000")
#define PNPHWID_S2K_P2_OLD TEXT("PCI\\VEN_114F&DEV_0020&SUBSYS_00000000")
#define PNPHWID_S2K_4_OLD  TEXT("PCI\\VEN_114F&DEV_0021&SUBSYS_00000000")
#define PNPHWID_S2K_2_OLD  TEXT("PCI\\VEN_114F&DEV_0022&SUBSYS_00000000")
// PCI
#define PNPHWID_S2K_P4     TEXT("PCI\\VEN_114F&DEV_001F&SUBSYS_001F114F")
#define PNPHWID_S2K_P2     TEXT("PCI\\VEN_114F&DEV_0020&SUBSYS_0020114F")
#define PNPHWID_S2K_4      TEXT("PCI\\VEN_114F&DEV_0021&SUBSYS_0021114F")
#define PNPHWID_S2K_2      TEXT("PCI\\VEN_114F&DEV_0022&SUBSYS_0022114F")
// cPCI
#define PNPHWID_S2K_P4c    TEXT("PCI\\VEN_114F&DEV_003A&SUBSYS_003A114F")
#define PNPHWID_S2K_P2c    TEXT("PCI\\VEN_114F&DEV_003B&SUBSYS_003B114F")
#define PNPHWID_S2K_4c     TEXT("PCI\\VEN_114F&DEV_003C&SUBSYS_003C114F")
#define PNPHWID_S2K_2c     TEXT("PCI\\VEN_114F&DEV_003D&SUBSYS_003D114F")
// PMC
#define PNPHWID_S2K_P2p    TEXT("PCI\\VEN_114F&DEV_0080&SUBSYS_0080114F")
#define PNPHWID_S2K_2p     TEXT("PCI\\VEN_114F&DEV_0081&SUBSYS_0081114F")

// SYNC/570 (non-intelligent, Sync, DigiSOH)
#define PNPHWID_S570_2     TEXT("PCI\\VEN_114F&DEV_5012&SUBSYS_00000000")
#define PNPHWID_S570_4     TEXT("PCI\\VEN_114F&DEV_5013&SUBSYS_00000000")

#define WANLINKS_ID_LIST \
   {PNPHWID_S2K_P4_OLD}, \
   {PNPHWID_S2K_P2_OLD}, \
   {PNPHWID_S2K_4_OLD},  \
   {PNPHWID_S2K_2_OLD},  \
   {PNPHWID_S2K_P4},     \
   {PNPHWID_S2K_P2},     \
   {PNPHWID_S2K_4},      \
   {PNPHWID_S2K_2},      \
   {PNPHWID_S2K_P4c},    \
   {PNPHWID_S2K_P2c},    \
   {PNPHWID_S2K_4c},     \
   {PNPHWID_S2K_2c},     \
   {PNPHWID_S2K_P2p},    \
   {PNPHWID_S2K_2p},     \
   {PNPHWID_S570_2},     \
   {PNPHWID_S570_4},

#define WANLINKS_ID_AND_INF_LIST      \
   {PNPHWID_S2K_P4_OLD,NETDGDXB_INF}, \
   {PNPHWID_S2K_P2_OLD,NETDGDXB_INF}, \
   {PNPHWID_S2K_4_OLD,NETDGDXB_INF},  \
   {PNPHWID_S2K_2_OLD,NETDGDXB_INF},  \
   {PNPHWID_S2K_P4,NETDGDXB_INF},     \
   {PNPHWID_S2K_P2,NETDGDXB_INF},     \
   {PNPHWID_S2K_4,NETDGDXB_INF},      \
   {PNPHWID_S2K_2,NETDGDXB_INF},      \
   {PNPHWID_S2K_P4c,NETDGDXB_INF},    \
   {PNPHWID_S2K_P2c,NETDGDXB_INF},    \
   {PNPHWID_S2K_4c,NETDGDXB_INF},     \
   {PNPHWID_S2K_2c,NETDGDXB_INF},     \
   {PNPHWID_S2K_P2p,NETDGDXB_INF},    \
   {PNPHWID_S2K_2p,NETDGDXB_INF},     \
   {PNPHWID_S570_2,NETDGDXB_INF},     \
   {PNPHWID_S570_4,NETDGDXB_INF},

//////////////////////////////////
// Client Driver Hardware IDs

#define PNPHWID_PPP  TEXT("Dxb\\DgdsPpp")
#define PNPHWID_PPPC TEXT("Dxb\\DgdsPppc")
#define PNPHWID_FR   TEXT("Dxb\\DgdsPfr")
#define PNPHWID_X25  TEXT("Dxb\\DgdsPx25")
#define PNPHWID_SNA  TEXT("Dxb\\DgdsSna")
#define PNPHWID_SVC  TEXT("Dxb\\DgdsSvc")
#define PNPHWID_SVC1 TEXT("Dxb\\DgdsSvc1")
#define PNPHWID_SVC2 TEXT("Dxb\\DgdsSvc2")
#define PNPHWID_PPP_SOH  TEXT("Soh\\DgdsPpp")
#define PNPHWID_FR_SOH   TEXT("Soh\\DgdsPfr")
#define PNPHWID_X25_SOH  TEXT("Soh\\DgdsPx25")
#define PNPHWID_SNA_SOH  TEXT("Soh\\DgdsSna")
#define PNPHWID_SVC_SOH  TEXT("Soh\\DgdsSvc")
#define PNPHWID_SVC1_SOH TEXT("Soh\\DgdsSvc1")
#define PNPHWID_SVC2_SOH TEXT("Soh\\DgdsSvc2")

#define WANLINKS_CLIENT_ID_AND_INF_LIST \
   {PNPHWID_PPP,DIGIPPP_INF},      \
   {PNPHWID_PPPC,DIGIPPP_INF},     \
   {PNPHWID_FR,DIGIPVC_INF},       \
   {PNPHWID_X25,DIGIPVC_INF},      \
   {PNPHWID_SNA,DIGISNA_INF},      \
   {PNPHWID_SVC,DIGISVC_INF},      \
   {PNPHWID_SVC1,DIGISVC_INF},     \
   {PNPHWID_SVC2,DIGISVC_INF},     \
   {PNPHWID_PPP_SOH,DIGIPPP_INF},  \
   {PNPHWID_FR_SOH,DIGIPVC_INF},   \
   {PNPHWID_X25_SOH,DIGIPVC_INF},  \
   {PNPHWID_SNA_SOH,DIGISNA_INF},  \
   {PNPHWID_SVC_SOH,DIGISVC_INF},  \
   {PNPHWID_SVC1_SOH,DIGISVC_INF}, \
   {PNPHWID_SVC2_SOH,DIGISVC_INF},


#endif // #if !defined PNPFILEANDIDS_H_INCLUDED
