Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2021 09:00:10 GMT
From:      Wojciech Macek <wma@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f5639a06b80c - main - mvneta: fix encap property
Message-ID:  <202110290900.19T90AlT005679@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wma:

URL: https://cgit.FreeBSD.org/src/commit/?id=f5639a06b80caf363a28f9b99e0ee697bb32b555

commit f5639a06b80caf363a28f9b99e0ee697bb32b555
Author:     Wojciech Macek <wma@FreeBSD.org>
AuthorDate: 2021-10-29 08:56:57 +0000
Commit:     Wojciech Macek <wma@FreeBSD.org>
CommitDate: 2021-10-29 08:56:57 +0000

    mvneta: fix encap property
    
    Fix MVNETA encap property.
---
 sys/dev/neta/if_mvneta_fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/neta/if_mvneta_fdt.c b/sys/dev/neta/if_mvneta_fdt.c
index 85948adb69d4..102ee1f1c884 100644
--- a/sys/dev/neta/if_mvneta_fdt.c
+++ b/sys/dev/neta/if_mvneta_fdt.c
@@ -133,7 +133,7 @@ mvneta_fdt_attach(device_t dev)
 	}
 
 	if (ofw_bus_has_prop(dev, "tx-csum-limit")) {
-		err = OF_getprop(ofw_bus_get_node(dev), "tx-csum-limit",
+		err = OF_getencprop(ofw_bus_get_node(dev), "tx-csum-limit",
 			    &tx_csum_limit, sizeof(tx_csum_limit));
 		if (err <= 0) {
 			device_printf(dev,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110290900.19T90AlT005679>