shithub: riscv

Download patch

ref: ce4de950a71f03fe0df9ffb44307ad1c2577b997
parent: 37ffa0b9e158bfdca1fc0e2373a993be6653b7a5
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Apr 21 10:10:06 EDT 2025

etherbcm: fix for BCM57781 (thanks yasinbread)

--- a/sys/src/9/pc/etherbcm.c
+++ b/sys/src/9/pc/etherbcm.c
@@ -629,6 +629,7 @@
 	case BCM5762:
 	case BCM57765:
 	case BCM57766:
+	case BCM57781:
 		/* 57765 series have the max frame length field,
 		 * but not the different receive bd addr */
 		csr32(ctlr, ReceiveBDFlags) = RecvProdRingLen << 16 | 1536 << 2;
--