FreeCalypso > hg > freecalypso-citrine
comparison gpf/inc/drvconf.h @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 09 Jun 2016 00:02:41 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:75a11d740a02 |
|---|---|
| 1 /* | |
| 2 +------------------------------------------------------------------------------ | |
| 3 | File: drvconf.h | |
| 4 +------------------------------------------------------------------------------ | |
| 5 | Copyright 2002 Texas Instruments Berlin, AG | |
| 6 | All rights reserved. | |
| 7 | | |
| 8 | This file is confidential and a trade secret of Texas | |
| 9 | Instruments Berlin, AG | |
| 10 | The receipt of or possession of this file does not convey | |
| 11 | any rights to reproduce or disclose its contents or to | |
| 12 | manufacture, use, or sell anything it may describe, in | |
| 13 | whole, or in part, without the specific written consent of | |
| 14 | Texas Instruments Berlin, AG. | |
| 15 +----------------------------------------------------------------------------- | |
| 16 | Purpose : Definitions for the dynamic driver configuration. | |
| 17 +----------------------------------------------------------------------------- | |
| 18 */ | |
| 19 | |
| 20 #ifndef DRVCONF_H | |
| 21 #define DRVCONF_H | |
| 22 | |
| 23 /*==== INCLUDES =============================================================*/ | |
| 24 #include "typedefs.h" | |
| 25 #include "gpfconf.h" | |
| 26 #include "gdi.h" | |
| 27 #include "vsi.h" | |
| 28 | |
| 29 /*==== CONSTS ===============================================================*/ | |
| 30 | |
| 31 #if defined _TARGET_ | |
| 32 #define MAX_AVAILABLE_DRV 1 | |
| 33 #else | |
| 34 #define MAX_AVAILABLE_DRV 6 | |
| 35 #endif | |
| 36 | |
| 37 #define TIF_NAME "TIF" | |
| 38 #define TR_NAME "TR" | |
| 39 #define EMI_NAME "EMI" | |
| 40 #define SOCKET_NAME "SOCKET" | |
| 41 #define MTST_NAME "MTST" | |
| 42 #define SER_NAME "SER" | |
| 43 #define THIF_LINK_NAME "THIFLINK" | |
| 44 #define USERSPACE_LINK_NAME "USSPLINK" | |
| 45 #define TITRC_NAME "TITRC" | |
| 46 #define NODRV_NAME "NODRV" | |
| 47 | |
| 48 #define DRV_DEFAULT "DEFAULT" | |
| 49 #define DRV_TI_MODE "TI_MODE" | |
| 50 #define DRV_RAW_TI_MODE "RAW_TI_MODE" | |
| 51 #define TIF_PCON_ENABLE "ENABLE_PCON" | |
| 52 #define TR_STX_LF "STX_LF" | |
| 53 #define ENABLE_SYNC_MODE "ENA_SYNC_MODE" | |
| 54 #define DISABLE_SYNC_MODE "DIS_SYNC_MODE" | |
| 55 | |
| 56 #define FILTER "FILTER" | |
| 57 | |
| 58 #define DRV_SIGTYPE_READ_L1 0x100 | |
| 59 #define DRV_SIGTYPE_READ_RIV 0x200 | |
| 60 | |
| 61 /*==== TYPES ================================================================*/ | |
| 62 | |
| 63 typedef struct | |
| 64 { | |
| 65 T_DRV_LIST_ENTRY entry; | |
| 66 USHORT drv_pos; | |
| 67 } T_TST_DRV_ENTRY; | |
| 68 | |
| 69 /*==== EXPORTS ==============================================================*/ | |
| 70 | |
| 71 SHORT tst_drv_open (char *drv_name, T_TST_DRV_ENTRY **drv_info ); | |
| 72 | |
| 73 | |
| 74 #endif /* DRVCONF_H */ |
