1 1.1 bjh21 /* $NetBSD: dtidereg.h,v 1.1 2001/06/08 20:13:24 bjh21 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.1 bjh21 14 1.1 bjh21 #define DTIDE_MAGICBASE 0x2000 15 1.1 bjh21 16 1.1 bjh21 #define DTIDE_REGSHIFT 5 /* ie DA0 == LA5 */ 17 1.1 bjh21 #define DTIDE_CMDBASE0 0x2400 18 1.1 bjh21 #define DTIDE_CTLBASE0 0x2500 19 1.1 bjh21 #define DTIDE_CMDBASE1 0x2600 20 1.1 bjh21 #define DTIDE_CTLBASE1 0x2700 21 1.1 bjh21 22