1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[mcs814x] remove platform specific initialization from ethernet driver

Hardware filtering must always be enabled as long as there is an Ethernet
device registered, and use device tree for setting the link activity and
buffer shifting enable/disable bit.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32486 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2012-06-23 11:03:35 +00:00
parent bc89518781
commit 4c31778fc4
4 changed files with 90 additions and 24 deletions

View File

@@ -37,11 +37,12 @@
ranges;
eth0: ethernet@40084000 {
//compatible = "moschip,mcs814x-eth";
compatible = "moschip,nuport-mac";
reg = <0x40084000 0xd8 // mac
0x40080000 0x58>; // dma channels
interrupts = <4 5 29>; /* tx, rx, link */
nuport-mac,buffer-shifting;
nuport-mac,link-activity = <0>;
};
tso@40088000 {

View File

@@ -19,6 +19,9 @@
ahb {
vci {
eth0: ethernet@40084000 {
nuport-mac,link-activity = <0x01>;
};
adc {
sdram: memory@0,0 {