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/pci Pull up revision 1.4 (requested by bouyer):



details:   https://anonhg.NetBSD.org/src/rev/a4d76a914de6
branches:  netbsd-1-5
changeset: 490870:a4d76a914de6
user:      he <he%NetBSD.org@localhost>
date:      Tue Mar 13 21:23:53 2001 +0000

description:
Pull up revision 1.4 (requested by bouyer):
  Support Ultra/100 speed on Promise Ultra/100, and fix ``bogus
  intr'' messages generated under some conditions.

diffstat:

 sys/dev/pci/pciide_pdc202xx_reg.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 2607bb902818 -r a4d76a914de6 sys/dev/pci/pciide_pdc202xx_reg.h
--- a/sys/dev/pci/pciide_pdc202xx_reg.h Tue Mar 13 21:23:35 2001 +0000
+++ b/sys/dev/pci/pciide_pdc202xx_reg.h Tue Mar 13 21:23:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide_pdc202xx_reg.h,v 1.3 2000/05/15 08:46:01 bouyer Exp $ */
+/*     $NetBSD: pciide_pdc202xx_reg.h,v 1.3.4.1 2001/03/13 21:23:53 he Exp $ */
 
 /*
  * Copyright (c) 1999 Manuel Bouyer.
@@ -71,7 +71,7 @@
 
 /* Ultra-DMA mode 3/4 control (PDC20262 only, 1 byte) */
 #define PDC262_U66     0x11
-#define PDC262_U66_EN(chan) (0x1 << ((chan) *2))
+#define PDC262_U66_EN(chan) (0x2 << ((chan) *2))
 /* primary mode (1 byte) */
 #define PDC2xx_PM      0x1a
 /* secondary mode (1 byte) */
@@ -108,7 +108,7 @@
 
 static int8_t pdc2xx_pa[] = {0x9, 0x5, 0x3, 0x2, 0x1};
 static int8_t pdc2xx_pb[] = {0x13, 0xc, 0x8, 0x6, 0x4};
-static int8_t pdc2xx_dma_mb[] = {0x7, 0x3, 0x3};
-static int8_t pdc2xx_dma_mc[] = {0xf, 0x4, 0x3};
-static int8_t pdc2xx_udma_mb[] = {0x3, 0x2, 0x1, 0x2, 0x1};
-static int8_t pdc2xx_udma_mc[] = {0x3, 0x2, 0x1, 0x2, 0x1};
+static int8_t pdc2xx_dma_mb[] = {0x3, 0x3, 0x3};
+static int8_t pdc2xx_dma_mc[] = {0x5, 0x4, 0x3};
+static int8_t pdc2xx_udma_mb[] = {0x3, 0x2, 0x1, 0x2, 0x1, 0x1};
+static int8_t pdc2xx_udma_mc[] = {0x3, 0x2, 0x1, 0x2, 0x1, 0x1};



Home | Main Index | Thread Index | Old Index