Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci fix from OpenBSD, contributed by Gabriel Gonzale...



details:   https://anonhg.NetBSD.org/src/rev/3c983e10bf0b
branches:  trunk
changeset: 545177:3c983e10bf0b
user:      perry <perry%NetBSD.org@localhost>
date:      Fri Apr 04 01:04:37 2003 +0000

description:
fix from OpenBSD, contributed by Gabriel Gonzalez in PR kern/20999

diffstat:

 sys/dev/pci/autri.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7c705ad44604 -r 3c983e10bf0b sys/dev/pci/autri.c
--- a/sys/dev/pci/autri.c       Fri Apr 04 00:25:07 2003 +0000
+++ b/sys/dev/pci/autri.c       Fri Apr 04 01:04:37 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autri.c,v 1.14 2003/02/01 06:23:38 thorpej Exp $       */
+/*     $NetBSD: autri.c,v 1.15 2003/04/04 01:04:37 perry Exp $ */
 
 /*
  * Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro.
@@ -665,7 +665,7 @@
                delay(100);
                /* reset Digital Controller */
                reg = pci_conf_read(pc, pt, AUTRI_PCI_LEGACY_IOBASE);
-               pci_conf_write(pc, pt, AUTRI_PCI_LEGACY_IOBASE, reg | 0x00040000);
+               pci_conf_write(pc, pt, AUTRI_PCI_LEGACY_IOBASE, reg | 0x000c0000);
                delay(100);
                /* release reset */
                reg = pci_conf_read(pc, pt, AUTRI_PCI_LEGACY_IOBASE);



Home | Main Index | Thread Index | Old Index