Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Use GPP_GPC in the last place it isn't already u...



details:   https://anonhg.NetBSD.org/src/rev/8c893a3836f4
branches:  trunk
changeset: 771138:8c893a3836f4
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Fri Nov 11 23:01:59 2011 +0000

description:
Use GPP_GPC in the last place it isn't already used.

diffstat:

 sys/dev/pci/if_tlp_pci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ffdf1d800bc8 -r 8c893a3836f4 sys/dev/pci/if_tlp_pci.c
--- a/sys/dev/pci/if_tlp_pci.c  Fri Nov 11 22:57:27 2011 +0000
+++ b/sys/dev/pci/if_tlp_pci.c  Fri Nov 11 23:01:59 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tlp_pci.c,v 1.120 2011/11/11 22:57:27 jakllsch Exp $        */
+/*     $NetBSD: if_tlp_pci.c,v 1.121 2011/11/11 23:01:59 jakllsch Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2002 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tlp_pci.c,v 1.120 2011/11/11 22:57:27 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tlp_pci.c,v 1.121 2011/11/11 23:01:59 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1357,7 +1357,7 @@
 tlp_pci_phobos_21140_reset(struct tulip_softc *sc)
 {
 
-       TULIP_WRITE(sc, CSR_GPP, 0x1fd);
+       TULIP_WRITE(sc, CSR_GPP, GPP_GPC | 0xfd);
        delay(10);
        TULIP_WRITE(sc, CSR_GPP, 0xfd);
        delay(10);



Home | Main Index | Thread Index | Old Index