Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/tc Pull up rev. 1.5:



details:   https://anonhg.NetBSD.org/src/rev/c942cdc6014b
branches:  netbsd-1-5
changeset: 488562:c942cdc6014b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 18 06:18:31 2000 +0000

description:
Pull up rev. 1.5:
G/c some unused (and incorrect, for our usage) definitions.

diffstat:

 sys/dev/tc/ioasicreg.h |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (22 lines):

diff -r ef62c6f5cfa2 -r c942cdc6014b sys/dev/tc/ioasicreg.h
--- a/sys/dev/tc/ioasicreg.h    Tue Jul 18 06:16:13 2000 +0000
+++ b/sys/dev/tc/ioasicreg.h    Tue Jul 18 06:18:31 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ioasicreg.h,v 1.3.2.1 2000/07/18 06:16:13 thorpej Exp $ */
+/* $NetBSD: ioasicreg.h,v 1.3.2.2 2000/07/18 06:18:31 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))
 



Home | Main Index | Thread Index | Old Index