shithub: riscv

Download patch

ref: 0f5f226ba1ccbc3b134c77a33503ad2182c05e5a
parent: 2e5e5cde710255d9f6ba8255a7e11f9d38b3e88a
author: cinap_lenrek <[email protected]>
date: Fri Jul 10 22:34:28 EDT 2015

etherrt2860: add multicast stub

--- a/sys/src/9/pc/etherrt2860.c
+++ b/sys/src/9/pc/etherrt2860.c
@@ -1430,6 +1430,11 @@
 	qunlock(ctlr);
 }
 
+static void
+rt2860multicast(void *, uchar*, int)
+{
+}
+
 static FWImage*
 readfirmware(void){
 	static char name[] = "ral-rt2860";
@@ -3550,7 +3555,7 @@
 	edev->ifstat = rt2860ifstat;
 	edev->ctl = rt2860ctl;
 	edev->promiscuous = rt2860promiscuous;
-	edev->multicast = nil;
+	edev->multicast = rt2860multicast;
 	edev->mbps = 10;
 
 	if(rt2860init(edev) < 0){