Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Revert previos. Sorry.



details:   https://anonhg.NetBSD.org/src/rev/21b97aeb8324
branches:  trunk
changeset: 791180:21b97aeb8324
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Nov 07 18:45:32 2013 +0000

description:
Revert previos. Sorry.

diffstat:

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

diffs (34 lines):

diff -r 3742ed5b96ba -r 21b97aeb8324 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Thu Nov 07 18:44:09 2013 +0000
+++ b/sys/dev/pci/if_bge.c      Thu Nov 07 18:45:32 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.263 2013/11/07 18:44:09 msaitoh Exp $     */
+/*     $NetBSD: if_bge.c,v 1.264 2013/11/07 18:45:32 msaitoh Exp $     */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.263 2013/11/07 18:44:09 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.264 2013/11/07 18:45:32 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -3724,7 +3724,6 @@
        else
                sc->bge_dmatag = pa->pa_dmat;
 
-#if 0
        /* 40bit DMA workaround */
        if (sizeof(bus_addr_t) > 4) {
                if ((sc->bge_flags & BGEF_40BIT_BUG) != 0) {
@@ -3740,7 +3739,6 @@
                        }
                }
        }
-#endif
        DPRINTFN(5, ("bus_dmamem_alloc\n"));
        if (bus_dmamem_alloc(sc->bge_dmatag, sizeof(struct bge_ring_data),
                             PAGE_SIZE, 0, &sc->bge_ring_seg, 1,



Home | Main Index | Thread Index | Old Index