summaryrefslogtreecommitdiff
path: root/system/alpha/h/ppec.h
blob: fc9aff492649ed6dec92a980a96e80312769c10a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "lib.h"
#include "xxm.h"

unsigned char ppecRegRead(int, unsigned char);
void ppecRegWrite(int, unsigned char, unsigned char);
int ppecOpen(int);
void ppecClose(int);
ul ppecMemAddr(int);
ul ppecIOAddr(int, int, unsigned long, int);

typedef unsigned char	char2[2];
struct pcmcia {
        int   socket;
        char2 *cor;
        char2 *cis;
};

struct _pcmciaTuples {
  int count;
  unsigned char *tuples[32];
  unsigned char buf[256];
};

struct _ppecSlotInfo {
  int cardPresent;
  struct _pcmciaTuples tuples;
};

extern struct _ppecSlotInfo ppecSlotInfo[];