Subject: PMAG-CA data structures
To: None <port-pmax@netbsd.org>
From: Andy Doran <ad@psn.ie>
List: port-pmax
Date: 02/14/1999 04:21:46
Hello all,
I've been getting increasingly sick of Ultrix lately and I'm determined
to get NetBSD running on my 5000/125s (albeit with PMAG-CA cards). I'd
like to know if the information presented in these structures is already
known; and just how much we do know about these cards, so I don't
waste effort. As I understand it the DAC and STIC are currently understood
(partially, anyway, to the point of where they can be initialised). Is
this the case?
Regards,
Andy.
Here we go:
struct px_cliprect {
unsigned minval;
unsigned maxval;
};
struct px_comarea {
int CmdBuf0[1024];
int CmdBuf1[1024];
char pad0[12];
int image_buf[3070];
int SRVCom[511];
struct _Com2d {
int pad1[3];
int NoOp[10];
int Stic_NoOp[10];
int Video_NoOp[4];
int intr_status;
int lastRead;
int lastWritten;
int qDepth;
struct px_cliprect *pCliprect;
int numCliprect;
struct px_cliprect *fixCliprect;
int * srv_qpoll[16];
int * intr_qpoll[16];
int * save_region[16];
} SRV2DCom;
char pad1[1720];
struct ClipL {
int numClipRects;
int refCount;
struct px_cliprect clipRects[8];
} ClipL[16];
char pad2[7040];
int IntrBuf[1024][16];
};
struct px_map {
int stic_poll_reg;
char __pad1[1572860];
struct _stic_regs {
int __pad0;
int __pad1;
int hsync;
int hsync2;
int hblank;
int vsync;
int vblank;
int vtest;
int ipdvint;
int __pad2;
int sticsr;
int busdat;
int busadr;
int __pad3;
int buscsr;
int modcl;
} stic_reg;
char __pad6[524224];
struct _bt459_regs {
int addr_lo;
int addr_hi;
int data;
int cmap;
} vdac_reg;
char __pad3[1048560];
int rom[262144];
};