Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/dev/ic Pull up revision 1.36 (requested by nakayama...



details:   https://anonhg.NetBSD.org/src/rev/15553c59f635
branches:  netbsd-1-6
changeset: 530207:15553c59f635
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Apr 28 06:25:50 2003 +0000

description:
Pull up revision 1.36 (requested by nakayama in ticket #1275):
Make DMA mode works on Promise Ultra66/100 with 48-bit LBA drives.
Ok'ed by bouyer in tech-kern%netbsd.org@localhost.

diffstat:

 sys/dev/ic/wdcvar.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 6477232e3920 -r 15553c59f635 sys/dev/ic/wdcvar.h
--- a/sys/dev/ic/wdcvar.h       Mon Apr 28 06:25:40 2003 +0000
+++ b/sys/dev/ic/wdcvar.h       Mon Apr 28 06:25:50 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdcvar.h,v 1.34 2002/01/13 17:24:29 christos Exp $     */
+/*     $NetBSD: wdcvar.h,v 1.34.10.1 2003/04/28 06:25:50 tron Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -121,8 +121,9 @@
        void           (*dma_start) __P((void *, int, int));
        int            (*dma_finish) __P((void *, int, int, int));
 /* flags passed to dma_init */
-#define WDC_DMA_READ 0x01
-#define WDC_DMA_IRQW 0x02
+#define WDC_DMA_READ   0x01
+#define WDC_DMA_IRQW   0x02
+#define WDC_DMA_LBA48  0x04
        int             dma_status; /* status returned from dma_finish() */
 #define WDC_DMAST_NOIRQ        0x01    /* missing IRQ */
 #define WDC_DMAST_ERR  0x02    /* DMA error */



Home | Main Index | Thread Index | Old Index