Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt/dev Don't set pba.pba_flags twice. No funct...



details:   https://anonhg.NetBSD.org/src/rev/7dafbc5ce96b
branches:  trunk
changeset: 764312:7dafbc5ce96b
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Fri Apr 15 21:03:31 2011 +0000

description:
Don't set pba.pba_flags twice.  No functional change intended.

diffstat:

 sys/arch/cobalt/dev/gt.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 98b9b1a72f43 -r 7dafbc5ce96b sys/arch/cobalt/dev/gt.c
--- a/sys/arch/cobalt/dev/gt.c  Fri Apr 15 21:02:47 2011 +0000
+++ b/sys/arch/cobalt/dev/gt.c  Fri Apr 15 21:03:31 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gt.c,v 1.23 2011/02/20 07:54:11 matt Exp $     */
+/*     $NetBSD: gt.c,v 1.24 2011/04/15 21:03:31 dyoung Exp $   */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.23 2011/02/20 07:54:11 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.24 2011/04/15 21:03:31 dyoung Exp $");
 
 #include "opt_pci.h"
 #include "pci.h"
@@ -135,7 +135,6 @@
 #endif
        pba.pba_dmat = &pci_bus_dma_tag;
        pba.pba_dmat64 = NULL;
-       pba.pba_flags = PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED;
        pba.pba_bus = 0;
        pba.pba_bridgetag = NULL;
        pba.pba_flags = PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED |



Home | Main Index | Thread Index | Old Index