/**************************************************************************
 *
 * SOURCE FILE NAME =  RMHELP.H
 *
 * DESCRIPTIVE NAME =  Header file for rmhelp.c
 *
 *
 * Copyright : COPYRIGHT IBM CORPORATION, 1994, 1995
 *             LICENSED MATERIAL - PROGRAM PROPERTY OF IBM
 *             REFER TO COPYRIGHT INSTRUCTION FORM#G120-2083
 *             RESTRICTED MATERIALS OF IBM
 *             IBM CONFIDENTIAL
 *
 * VERSION = V0.1
 *
 * DATE  09/02/94
 *
 * DESCRIPTION : (see above)
 *
 * Purpose: (see above)
 *
 *
 *
 * FUNCTIONS  :
 *
 * NOTES
 *
 *
 * STRUCTURES
 *
 * EXTERNAL REFERENCES
 *
 *
 *
 * EXTERNAL FUNCTIONS
 *
 * CHANGE ACTIVITY =
 *   DATE      FLAG        APAR   CHANGE DESCRIPTION
 *   --------  ----------  -----  --------------------------------------
 *   09/02/94                            opened file
 ****************************************************************************/

#ifndef  __RMHELP_H__
#define  __RMHELP_H__


/*--------------------------------------------------------*/
/* # D E F I N E S                                        */
/*--------------------------------------------------------*/
#define   RMHELP_ERR_RESOURCECLAIMED    0xFFFF
#define   MACH_EISA      1
#define   MACH_UCHNL     2
#define   MACH_PCMCIA    3
#define   MACH_ISA       4
#define   MACH_PCI       5

/*--------------------------------------------------------*/
/* P R T O T Y P E S                                      */
/*--------------------------------------------------------*/
USHORT FAR RMHELP_CreateDriver( VOID );
VOID   FAR RMHELP_DestroyDriver( VOID);
USHORT FAR RMHELP_CreateAdpater( USHORT adn );
USHORT FAR RMHELP_AllocPorts( USHORT MachType, USHORT baseport, USHORT nPorts);
USHORT FAR RMHELP_AllocIRQ( USHORT MachType, USHORT IRQlevel);
USHORT FAR RMHELP_AllocDMA( USHORT DMAlevel);
USHORT FAR RMHELP_AllocMEM(ULONG membase,ULONG memsize);
USHORT FAR RMHELP_CreateLDev( PCOMINFO pComInfo );
VOID   FAR RMHELP_DestroyLDev( PCOMINFO pComInfo );

#endif /* __RMHELP_H__ */
