#ifndef ATEO_CONCEPTS_ATEOBUS_AUTOCONFIG_H
#define ATEO_CONCEPTS_ATEOBUS_AUTOCONFIG_H

/*
** $VER: autoconfig.h 1.2 (22.11.99)
**
**
** (C) Copyright 1998-99 Atéo Concepts SARL
**     All Rights Reserved
*/

#ifndef  EXEC_TYPES_H
#include "exec/types.h"
#endif   /* EXEC_TYPES_H */

#if 0
  #ifndef ATEO_KEY_FILE_H
  #include "ateo_concepts/ateobus/keyfile.h"
  #endif   /* ATEO_KEY_FILE_H */
#endif

#ifndef LIBRARIES_CONFIGVARS_H
#include "libraries/configvars.h"
#endif   /* LIBRARIES_CONFIGVARS_H */


#define ATEO_MAN_NUMBER 0x4143           /* Man ID de Atéo Concepts */
#define ATEO_NUMBER     ATEO_MAN_NUMBER  /* for compatibility only, do not use in new products */

/* Atéobus generic space */
#define ATEO_MEM_SPACE        0xFF       /* product ID pour l'espace memoire rapide AtéoBus */
#define ATEO_IO_SPACE         0xFE       /* product ID pour l'espace IO rapide AtéoBus */
#define ISA_MEM_SPACE         0xFD       /* product ID pour l'espace memoire Isa AtéoBus */
#define ISA_IO_SPACE          0xFC       /* product ID pour l'espace IO Isa Atéobus */

/* AtéoBus products */
#define ATEOBUS_PIXEL64_IO    0xFB       /* Pixel64 for the AtéoBus (IO space) */
#define ATEOBUS_PIXEL64_MEM   0xFA       /* Pixel64 for the AtéoBus (memory space) */
#define ATEOBUS_SERIAL        0xF9       /* Serial port (16550 compatible) for the AtéoBus */
#define ATEOBUS_PARALLEL      0xF8       /* Parallel port (ECP compatible) for the AtéoBus */
#define ATEOBUS_NET           0xF7       /* Ethernet port for the AtéoBus */
#define ATEOBUS_IDE           0xF6       /* Ide port for the AtéoBus */
#define ATEOBUS_FLOPPY        0xF5       /* Floppy disk port (PC like) for the AtoéBus */
#define ATEOBUS_GAME          0xF4       /* Game port (analog) for the AtéoBus */
#define ATEOBUS_SCSI          0xF3       /* Scsi port for the AtéoBus */

/* PixelZIII products */
/* product number 0xEF -> 0xE0 are reserved for use on the Pixel ZIII PCI */
#define PIXEL_ZIII_IO         0xF2       /* Pixel 64 ZIII PCI IO space */
#define PIXEL_ZIII_MEM        0xF1       /* Pixel 64 ZIII PCI memory space */
#define PCI_CONFIG            0xF0       /* Pixel 64 ZIII PCI configuration space */


/*
** Gestion des unites multiples:
** le champ cd_Unused[0] pointe sur une structure AteoIsaBoards
*/

struct AteoISABoards {
   struct Node AIB_Node;   /* Internal use for StartAteobus */
   UWORD       Unit;       /* unit this prefs are for */
   UWORD       Pad;
   UWORD       Taille;     /* Size of the private structure following this field */
   /* preferences du device */
   };

/*
** Entete des fichiers de preferences
*/

struct AteoPrefsFileID {
   UBYTE  File_ID[37]; /* Identification du fichier */
   UBYTE  Unit;        /* Numéro de l'unité */
   UWORD  Version;     /* Version du programme "AteoSerPrefs" */
   BYTE   Device[32];  /* Nom du device */
};

#define ATEOBUSPREFS_FILE_ID      "AteoBusPrefs, © Atéo Concepts 1999"     /* Ne pas modifier */


#endif /* ATEO_CONCEPTS_ATEOBUS_AUTOCONFIG_H */
