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/pci Pull up revision 1.10 (requested by bouyer ...



details:   https://anonhg.NetBSD.org/src/rev/6793791b33c1
branches:  netbsd-1-6
changeset: 530575:6793791b33c1
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Aug 16 15:58:33 2003 +0000

description:
Pull up revision 1.10 (requested by bouyer in ticket #1369):
Correct setup of General Purpose Register for PDC20265 (Ultra/100) and newer.
>From Andreas Johansson in private mail.

diffstat:

 sys/dev/pci/pciide_pdc202xx_reg.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 3987e5f8fcfb -r 6793791b33c1 sys/dev/pci/pciide_pdc202xx_reg.h
--- a/sys/dev/pci/pciide_pdc202xx_reg.h Sat Aug 16 15:58:24 2003 +0000
+++ b/sys/dev/pci/pciide_pdc202xx_reg.h Sat Aug 16 15:58:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide_pdc202xx_reg.h,v 1.7.4.1 2003/04/28 06:25:24 tron Exp $ */
+/*     $NetBSD: pciide_pdc202xx_reg.h,v 1.7.4.2 2003/08/16 15:58:33 tron Exp $ */
 
 /*
  * Copyright (c) 1999 Manuel Bouyer.
@@ -90,8 +90,9 @@
 #define PDC2xx_SCR_FLOAT       0x08000000
 #define PDC2xx_SCR_RSET                0x10000000
 #define PDC2xx_SCR_TST         0x20000000
-/* Values for "General Purpose Register" (PDC20262 only) */
+/* Values for "General Purpose Register" (PDC2026{2|5} only) */
 #define PDC262_SCR_GEN_LAT     0x20
+#define PDC265_SCR_GEN_LAT     0x03
 
 /* ATAPI port ((PDC20262 only) (4 bytes) */
 #define PDC262_ATAPI(chan) (0x20 + (4 * (chan)))



Home | Main Index | Thread Index | Old Index