/*****************************************************************************
* 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 DIGIMPS_INF         TEXT("dgarmps.inf")
#define DIGIASYN_INF        TEXT("dgarasyn.inf")
#define WANLINKS_INF_COPY_LIST \
   {DIGIMPS_INF},   \
   {DIGIASYN_INF},
// PAM Agent files
#define DIGI_PAMA           TEXT("dgaxpama.exe")
#define DIGI_SHIM           TEXT("dgaxmgmt.dll")
#define WANLINKS_PAM_COPY_LIST \
   {DIGI_PAMA}, \
   {DIGI_SHIM},
// Catalog file
#define WANLINKS_CAT_FILE   TEXT("dgaxmps.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("dgardxb.sys")
#define WANLINKS_SOH_SYS    TEXT("")
#define WANLINKS_ISDN_SYS   TEXT("")
#define WANLINKS_ASYN_SYS   TEXT("dgarasyn.sys")
#define WANLINKS_LAN_SYS    TEXT("")
#define WANLINKS_X25_SYS    TEXT("")
#define WANLINKS_SNA_SYS    TEXT("")
#define WANLINKS_PPP_SYS    TEXT("")
#define WANLINKS_DRIVER_COPY_LIST  \
   {WANLINKS_DXB_SYS},  \
   {WANLINKS_ASYN_SYS},
// FEP, BIOS
#define WANLINKS_FEPHERC_BIN  TEXT("dgaxfep.bin")
#define WANLINKS_BIN_COPY_LIST  \
   {WANLINKS_FEPHERC_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("dgarfwrk.dll")
#define WANLINKS_HLC_DLL   TEXT("dgarhlc.dll")
#define WANLINKS_ISDN_DLL  TEXT("dgarisdn.dll")
#define WANLINKS_ASYN_DLL  TEXT("dgarasyn.dll")
#define WANLINKS_DLL_COPY_LIST  \
   {WANLINKS_INF_DLL},  \
   {COCPY_INF_DLL},  \
   {WANLINKS_FWRK_DLL}, \
   {WANLINKS_HLC_DLL},  \
   {WANLINKS_ISDN_DLL}, \
   {WANLINKS_ASYN_DLL},
// Help Files, CHM
#define WANLINKS_RAS_CHM   TEXT("dgaxhelp.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")

// Acceleport Xp (Hercules, ASYNC)
#define PNPHWID_AXP_2              TEXT("PCI\\VEN_114F&DEV_0040&SUBSYS_0042114F")
#define PNPHWID_AXP_4              TEXT("PCI\\VEN_114F&DEV_0040&SUBSYS_0043114F")
#define PNPHWID_AXP_8              TEXT("PCI\\VEN_114F&DEV_0040&SUBSYS_0044114F")
#define PNPHWID_AXP_16             TEXT("PCI\\VEN_114F&DEV_0040&SUBSYS_0045114F")

#define STRATUS_PNPHWID_AXP_8      TEXT("PCI\\VEN_159C&DEV_8002&SUBSYS_0044114F")

// MPS ID List
#define WANLINKS_ID_LIST \
   {PNPHWID_AXP_2},   \
   {PNPHWID_AXP_4},   \
   {PNPHWID_AXP_8},   \
   {PNPHWID_AXP_16},   \
   {STRATUS_PNPHWID_AXP_8},

#define WANLINKS_ID_AND_INF_LIST \
   {PNPHWID_AXP_2,DIGIMPS_INF},   \
   {PNPHWID_AXP_4,DIGIMPS_INF},   \
   {PNPHWID_AXP_8,DIGIMPS_INF},   \
   {PNPHWID_AXP_16,DIGIMPS_INF},

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

#define PNPHWID_AX_2_PORT   TEXT("DXB\\DGAX2ASYN")
#define PNPHWID_AX_4_PORT   TEXT("DXB\\DGAX4ASYN")
#define PNPHWID_AX_8_PORT   TEXT("DXB\\DGAX8ASYN")
#define PNPHWID_AX_16_PORT  TEXT("DXB\\DGAX16ASYN")

#define WANLINKS_CLIENT_ID_LIST \
   {PNPHWID_AX_2_PORT}, \
   {PNPHWID_AX_4_PORT}, \
   {PNPHWID_AX_8_PORT}, \
   {PNPHWID_AX_16_PORT},

#define WANLINKS_CLIENT_ID_AND_INF_LIST \
   {PNPHWID_AX_2_PORT,DIGIASYN_INF}, \
   {PNPHWID_AX_4_PORT,DIGIASYN_INF}, \
   {PNPHWID_AX_8_PORT,DIGIASYN_INF}, \
   {PNPHWID_AX_16_PORT,DIGIASYN_INF},

#endif // #if !defined PNPFILEANDIDS_H_INCLUDED
