Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Use uint64_t instead of bus_addr_t for the...
details: https://anonhg.NetBSD.org/src/rev/308a70c2be1a
branches: trunk
changeset: 379225:308a70c2be1a
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu May 20 10:39:32 2021 +0000
description:
Use uint64_t instead of bus_addr_t for the TX descriptor's buffer address.
At least, this change is required for macppc (sizeof(bus_addr_t) == 4) to
make TX work.
diffstat:
sys/dev/pci/ixgbe/ix_txrx.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fbdda8e34f21 -r 308a70c2be1a sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Thu May 20 02:01:07 2021 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Thu May 20 10:39:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.76 2021/05/20 01:02:42 ryo Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.77 2021/05/20 10:39:32 msaitoh Exp $ */
/******************************************************************************
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.76 2021/05/20 01:02:42 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.77 2021/05/20 10:39:32 msaitoh Exp $");
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -501,7 +501,7 @@ retry:
i = txr->next_avail_desc;
for (j = 0; j < map->dm_nsegs; j++) {
bus_size_t seglen;
- bus_addr_t segaddr;
+ uint64_t segaddr;
txbuf = &txr->tx_buffers[i];
txd = &txr->tx_base[i];
Home |
Main Index |
Thread Index |
Old Index