Comments (4)
I see now that the whole thing is just commented out :D https://github.com/amery/linux-allwinner/blob/allwinner-v3.0-android-v2/drivers/net/sun4i/sun4i_wemac.c#L975 awesome.
from linux-sunxi.
There is already some discussion of wemac driver here https://github.com/amery/linux-allwinner/pull/39. This issues can probably be merged
from linux-sunxi.
This issues can probably be merged
That bug is about performance, this bug is about multicast. Two completely different issues.
Or do you advocate merging everything about some particular driver into one huge messy issue about everything.
from linux-sunxi.
I have managed to fix it with this patch:
--- orig/drivers/net/sun4i/sun4i_wemac.h 2012-06-28 11:56:32.073263842 +0600
+++ fixed/drivers/net/sun4i/sun4i_wemac.h 2012-07-23 14:16:44.868297894 +0600
@@ -180,7 +180,7 @@
#define EMAC_RX_UCAD 1 //0: Not accept 1: Accept unicast Packets(default)
#define EMAC_RX_DAF 1 //0: Normal(default) 1: DA Filtering
#define EMAC_RX_MCO 1 //0: Not accept 1: Accept multicast Packets(default)
-#define EMAC_RX_MHF 1 //0: Disable(default) 1: Enable Hash filter
+#define EMAC_RX_MHF 0 //0: Disable(default) 1: Enable Hash filter
#define EMAC_RX_BCO 1 //0: Not accept 1: Accept Broadcast Packets(default)
#define EMAC_RX_SAF 0 //0: Disable(default) 1: Enable SA Filtering
#define EMAC_RX_SAIF 0 //0: Normal(default) 1: Inverse Filtering
i.e. disabling the hash filter for multicast. The hash table function is non-functional (commented out) in the link above, so that's why it didn't work.
The multicast now works fine, maybe at the expense of no h/w filtering (my guess is now every multicast packet is passed to the above layers by the driver). But this is much much better than completely broken.
Also according to the comments in the modified line, the hash filter should be disabled by default, so no idea why the constant was set to 1. Every other constant seems to be set according to the "(default)" value in the corresponding comments.
from linux-sunxi.
Related Issues (20)
- GC2035 camera driver is unavailable at sunxi-next ? HOT 1
- sunxi-mmc 1c0f000.mmc: reset err -524 HOT 1
- Allwinner A33 -4.15.0-rc2-ga615204e7 - Logitech mouse - musb_hdrc error
- Best WiFi and Bluetooth IC for Sunxi
- thermal zone failes
- Ethernet and the h3-orangepi dts file HOT 1
- Can't get HDMI out on OrangePi One on sunxi-next HOT 2
- sunxi-next drm can't set unusual resolutions HOT 4
- Mainline: MMC-Error -110 on Vacuum HOT 4
- mainline 5.3-rc3: usb not working in otg mode
- FEL mode repeatedly connects and disconnects. Is this normal? HOT 3
- sunxi-mail seems to be down / unavailable HOT 1
- system can not login( 3.4.113-sun8i #6 )
- fbtft spi lcd not working after update to from 5.10.43 to 5.10.60 HOT 1
- Cedrus on A23
- sunxi-v3s uart1's reg can't operate HOT 2
- Error with toolchain compilation
- Include module kernel/drivers/iio/humidity/dht11.ko
- [Website] Website is down HOT 1
- sun8i-H3 NanoPi Neo Unable to wake from suspend with Power Button
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux-sunxi.