summaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/files-3.3/drivers/net
Commit message (Collapse)AuthorAgeFilesLines
* mcs814x: use devm_request_and_ioremap helper for nuport_mac driverflorian2013-03-171-4/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mcs814x: use the standard device tree binding to represent a PHY nodeflorian2013-03-161-3/+21
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: various fixesflorian2012-10-151-3/+5
| | | | | | | | - properly check for the link up condition in the phylib adjust callback - do not assign skb->dev, eth_type_trans() already does it - handle skb allocation failures in the refill path git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] more convertions to {read,write}_relaxed I/O accessorsflorian2012-10-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] use the recommended ARM I/O accessorsflorian2012-09-081-3/+3
| | | | | | use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: disable MAC RX and TX during interface closeflorian2012-09-031-0/+5
| | | | | | Fixes sporadic crashes while reconfiguring the network interface. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: delay call to napi_start() until fully able to process RXflorian2012-08-101-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: use dma_mapping_error() instead of checking pointersflorian2012-08-091-2/+2
| | | | | | Thanks Gabor for spotting this git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33071 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: rework PHY interrupt configuration to avoid racesflorian2012-08-081-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: close possible race condition during startflorian2012-08-081-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: unmap the DMA buffer when closing deviceflorian2012-08-081-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33068 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: check dma_map_single address return valuesflorian2012-08-081-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: properly protect the phy interrupt handlerflorian2012-08-021-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] assume the link is up and full-duplex by defaultflorian2012-08-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] make sure we properly unmap DMA mappings we createdflorian2012-07-151-6/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32728 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: add definitions of the various bits/masks usedflorian2012-07-151-24/+67
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: check netif_receive_skb() return valueflorian2012-07-111-2/+1
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] remove platform specific initialization from ethernet driverflorian2012-06-231-20/+11
| | | | | | | | 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
* [mcs814x] remove uselss cache invalidationsflorian2012-06-201-22/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] improve ethernet driver debuggingflorian2012-06-201-19/+102
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] add Moschip MSC814x supportflorian2012-06-194-0/+1137
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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32462 3c298f89-4303-0410-b956-a3cf2f4a3e73