Commit graph

9 commits

Author SHA1 Message Date
Florian Fainelli
162e272b4b nuport-mac: properly protect the phy interrupt handler
SVN-Revision: 32951
2012-08-02 18:13:17 +00:00
Florian Fainelli
5133a44785 assume the link is up and full-duplex by default
SVN-Revision: 32940
2012-08-01 21:56:54 +00:00
Florian Fainelli
0e0b396663 make sure we properly unmap DMA mappings we created
SVN-Revision: 32728
2012-07-15 14:09:24 +00:00
Florian Fainelli
0f0e42f28e nuport-mac: add definitions of the various bits/masks used
SVN-Revision: 32727
2012-07-15 14:09:18 +00:00
Florian Fainelli
8765e49fbe nuport-mac: check netif_receive_skb() return value
We did not reassign status to netif_receive_skb() return value, we thus
almost always incremented the dropped counter because the descriptor status
value never matches the NET_RX_DROP.

SVN-Revision: 32659
2012-07-11 08:29:01 +00:00
Florian Fainelli
7c984552ed 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.

SVN-Revision: 32486
2012-06-23 11:03:35 +00:00
Florian Fainelli
007fa4d638 remove uselss cache invalidations
SVN-Revision: 32472
2012-06-20 21:57:53 +00:00
Florian Fainelli
9a2367aa6d improve ethernet driver debugging
SVN-Revision: 32471
2012-06-20 21:57:49 +00:00
Florian Fainelli
f4afa00862 add Moschip MSC814x support
This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.

Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core

Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832

SVN-Revision: 32462
2012-06-19 14:48:56 +00:00