summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2000-07-17 02:17:13 +0000
committerthorpej <thorpej@NetBSD.org>2000-07-17 02:17:13 +0000
commit8623daff6dff5f673cb138b47251f02b2b3323c2 (patch)
tree01be5f1882ad6bca038996e955dca5821fccdfa0 /sys/dev
parent95f72dd4aa0fac888397edfcba37a8e48968a1f5 (diff)
G/c some unused (and incorrect, for our usage) definitions.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/tc/ioasicreg.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/tc/ioasicreg.h b/sys/dev/tc/ioasicreg.h
index e3673ce33ae..b58d6dd7e55 100644
--- a/sys/dev/tc/ioasicreg.h
+++ b/sys/dev/tc/ioasicreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ioasicreg.h,v 1.4 2000/07/17 01:28:16 thorpej Exp $ */
+/* $NetBSD: ioasicreg.h,v 1.5 2000/07/17 02:17:13 thorpej Exp $ */
/*
* Copyright (c) 1991,1990,1989,1994,1995 Carnegie Mellon University
@@ -180,12 +180,6 @@
/* DMA pointer registers (SCSI, Comm, ...) */
-#define IOASIC_DMAPTR_MASK 0xffffffe0
-#define IOASIC_DMAPTR_SHIFT 5
-#define IOASIC_DMAPTR_SET(reg,val) \
- (reg) = (((val)<<IOASIC_DMAPTR_SHIFT)&IOASIC_DMAPTR_MASK)
-#define IOASIC_DMAPTR_GET(reg,val) \
- (val) = (((reg)&IOASIC_DMAPTR_MASK)>>IOASIC_DMAPTR_SHIFT)
#define IOASIC_DMA_ADDR(p) \
((((p) << 3) & ~0x1f) | (((p) >> 29) & 0x1f))