home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / PCMCIA / CLDFM / CONFIG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-14  |  1.8 KB  |  63 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. /**************************************************************************
  13.  *
  14.  * SOURCE FILE NAME = CONFIG.H
  15.  *
  16.  * DESCRIPTIVE NAME =
  17.  *
  18.  *
  19.  * VERSION =
  20.  *
  21.  * DATE
  22.  *
  23.  * DESCRIPTION This file contains constant definitions, type definitions,
  24.  *             and prototypes for functions found in config.c.
  25.  *
  26.  * FUNCTIONS
  27.  *
  28.  * ENTRY POINTS:
  29.  *
  30.  * DEPENDENCIES:
  31.  *
  32.  * NOTES
  33.  *
  34.  *
  35.  * STRUCTURES
  36.  *
  37.  * EXTERNAL REFERENCES
  38.  *
  39.  * EXTERNAL FUNCTIONS
  40.  *
  41. */
  42.  
  43.     /*
  44.     ** constant definitions
  45.     */
  46. #define MAX_NUM_IO_ADDRESSES 4
  47. #define MAX_NUM_OF_SOCKETS 8
  48.  
  49.     /*
  50.     ** type definitions
  51.     */
  52. typedef struct {
  53.     USHORT num_of_io_addresses;
  54.     USHORT com_port_num[MAX_NUM_IO_ADDRESSES];
  55.     USHORT io_address[MAX_NUM_IO_ADDRESSES];
  56.     USHORT irq_num[MAX_NUM_IO_ADDRESSES];
  57. } CONFIG_INFO;
  58.  
  59.     /*
  60.     ** function prototypes
  61.     */
  62. short store_config_info(short, char **, USHORT);
  63.