Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/dev/pci/ixgbe Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/8e56685608a8
branches: netbsd-6
changeset: 777155:8e56685608a8
user: snj <snj%NetBSD.org@localhost>
date: Sat Mar 25 17:35:56 2017 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #1439):
sys/dev/pci/ixgbe/ixgbe.c: revision 1.60 via patch
Use 64bit DMA tag. If not, a lot of bounce buffer is allocated.
Fixes PR#49968 reported by Hauke.
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r e1b5cb0ed1a0 -r 8e56685608a8 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Sat Mar 25 17:30:18 2017 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Sat Mar 25 17:35:56 2017 +0000
@@ -59,7 +59,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/*$FreeBSD: src/sys/dev/ixgbe/ixgbe.c,v 1.51 2011/04/25 23:34:21 jfv Exp $*/
-/*$NetBSD: ixgbe.c,v 1.2 2011/11/19 22:51:24 tls Exp $*/
+/*$NetBSD: ixgbe.c,v 1.2.4.1 2017/03/25 17:35:56 snj Exp $*/
#include "opt_inet.h"
@@ -475,6 +475,10 @@
adapter->osdep.pc = pa->pa_pc;
adapter->osdep.tag = pa->pa_tag;
adapter->osdep.dmat = pa->pa_dmat;
+ if (pci_dma64_available(pa))
+ adapter->osdep.dmat = pa->pa_dmat64;
+ else
+ adapter->osdep.dmat = pa->pa_dmat;
ent = ixgbe_lookup(pa);
Home |
Main Index |
Thread Index |
Old Index