#ifndef _IBCCARDINFO_H
#define _IBCCARDINFO_H

#include <mbari/types.h>

/*
Retrieve Ibc card info, including name, based on address
*/
class IbcCardInfo
{
  public:
  static int sprint(Word boardAddr, char *buf);

  protected:
  
  struct Info
  {
    Word        addr;    /* Board Address                */
    Word        mask;    /* Bits to mask off mult boards */
    Word        range;   /* Number of I/O addr for 1 board*/
    char        *name;   /* Name of Board                */
  };

  static Info _validInfo[];
};

#endif
