1 1.4 christos /* $NetBSD: dtidereg.h,v 1.4 2005/12/11 12:23:28 christos Exp $ */ 2 1.1 bjh21 3 1.1 bjh21 /* This file is in the public domain */ 4 1.1 bjh21 5 1.1 bjh21 /* 6 1.1 bjh21 * dtidereg.h - hardware-related constants of the D.T. Software IDE interface. 7 1.1 bjh21 */ 8 1.1 bjh21 9 1.1 bjh21 /* 10 1.1 bjh21 * This is mostly reverse-engineered by Ben Harris from the driver that 11 1.1 bjh21 * comes with the board and the board itself. Treat with caution. 12 1.1 bjh21 */ 13 1.2 bjh21 14 1.2 bjh21 #define DTIDE_NCHANNELS 2 15 1.1 bjh21 16 1.1 bjh21 #define DTIDE_MAGICBASE 0x2000 17 1.1 bjh21 18 1.1 bjh21 #define DTIDE_REGSHIFT 5 /* ie DA0 == LA5 */ 19 1.1 bjh21 #define DTIDE_CMDBASE0 0x2400 20 1.1 bjh21 #define DTIDE_CTLBASE0 0x2500 21 1.1 bjh21 #define DTIDE_CMDBASE1 0x2600 22 1.1 bjh21 #define DTIDE_CTLBASE1 0x2700 23 1.3 perry 24