Module Name: src
Committed By: msaitoh
Date: Thu Nov 7 18:45:32 UTC 2013
Modified Files:
src/sys/dev/pci: if_bge.c
Log Message:
Revert previos. Sorry.
To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.264 src/sys/dev/pci/if_bge.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.263 src/sys/dev/pci/if_bge.c:1.264
--- src/sys/dev/pci/if_bge.c:1.263 Thu Nov 7 18:44:09 2013
+++ src/sys/dev/pci/if_bge.c Thu Nov 7 18:45:32 2013
@@ -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 @@ bge_attach(device_t parent, device_t sel
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 @@ bge_attach(device_t parent, device_t sel
}
}
}
-#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,