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:
@@ -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 {
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
|
||||
ahb {
|
||||
vci {
|
||||
eth0: ethernet@40084000 {
|
||||
nuport-mac,link-activity = <0x01>;
|
||||
};
|
||||
|
||||
adc {
|
||||
sdram: memory@0,0 {
|
||||
|
||||
Reference in New Issue
Block a user