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