summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/isa
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-06 13:46:39 +0000
committerphk <phk@FreeBSD.org>2005-02-06 13:46:39 +0000
commit749e4957d99361a55cc80046a119444c1fc36bc7 (patch)
treeb7d7b0f2029f00a02738382ec1c9896806724b5e /sys/sparc64/isa
parentcda00ab53db39a6c1352187633c92de5571ec3df (diff)
downloadFreeBSD-src-749e4957d99361a55cc80046a119444c1fc36bc7.zip
FreeBSD-src-749e4957d99361a55cc80046a119444c1fc36bc7.tar.gz
Since we are quite unlikely to ever face another platform which
uses the i8237 without trying to emulate the PC architecture move the register definitions for the i8237 chip into the central include file for the chip, except for the PC98 case which is magic. Add new isa_dmatc() function which tells us as cheaply as possible if the terminal count has been reached for a given channel.
Diffstat (limited to 'sys/sparc64/isa')
-rw-r--r--sys/sparc64/isa/isa_dma.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sparc64/isa/isa_dma.c b/sys/sparc64/isa/isa_dma.c
index 66d93fb..19c4644 100644
--- a/sys/sparc64/isa/isa_dma.c
+++ b/sys/sparc64/isa/isa_dma.c
@@ -84,6 +84,12 @@ isa_dmastatus(int chan)
}
int
+isa_dmatc(int chan)
+{
+ return (0);
+}
+
+int
isa_dmastop(int chan)
{
return (0);
OpenPOWER on IntegriCloud