Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/sys/dev/podulebus Add a driver for the HCCS IDE interfa...



details:   https://anonhg.NetBSD.org/src/rev/8038b8bfac7c
branches:  nathanw_sa
changeset: 504764:8038b8bfac7c
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Wed Jun 13 18:31:44 2001 +0000

description:
Add a driver for the HCCS IDE interface I got at Wakefield.  Like the D.T.
Software one (dtide), it doesn't generate interrupts, so we run it in polled
mode.

diffstat:

 sys/dev/podulebus/hcidereg.h |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 9ed905672052 -r 8038b8bfac7c sys/dev/podulebus/hcidereg.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/dev/podulebus/hcidereg.h      Wed Jun 13 18:31:44 2001 +0000
@@ -0,0 +1,16 @@
+/* $NetBSD: hcidereg.h,v 1.1.8.2 2001/06/13 18:31:44 bjh21 Exp $ */
+
+/* This file is in the public domain */
+
+/*
+ * hcidereg.h - hardware-related constants of the HCCS IDE interface.
+ */
+
+#define HCIDE_NCHANNELS        3
+
+/* In FAST space: */
+
+#define HCIDE_CMD0     0x2100  /* Command registers, on-board channel */
+#define HCIDE_CMD1     0x2140  /* Command registers, internal channel */
+#define HCIDE_CMD2     0x2180  /* Command registers, external channel */
+#define HCIDE_CTL      0x21c0  /* Control registers, all channels */



Home | Main Index | Thread Index | Old Index