summaryrefslogtreecommitdiff
path: root/sys/dev/podulebus/dtidereg.h
blob: 7f8734f1b69a79df81909685da1bd10a6d90081d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* $NetBSD: dtidereg.h,v 1.2 2001/06/13 18:29:41 bjh21 Exp $ */

/* This file is in the public domain */

/*
 * dtidereg.h - hardware-related constants of the D.T. Software IDE interface.
 */

/*
 * This is mostly reverse-engineered by Ben Harris from the driver that
 * comes with the board and the board itself.  Treat with caution.
 */

#define DTIDE_NCHANNELS	2

#define DTIDE_MAGICBASE	0x2000

#define DTIDE_REGSHIFT	5 /* ie DA0 == LA5 */
#define DTIDE_CMDBASE0	0x2400
#define DTIDE_CTLBASE0	0x2500
#define DTIDE_CMDBASE1	0x2600
#define DTIDE_CTLBASE1	0x2700