aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/files-3.3/drivers
Commit message (Collapse)AuthorAgeFilesLines
* [mcs814x] nuport-mac: various fixesFlorian Fainelli2012-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 accessorsFlorian Fainelli2012-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 accessorsFlorian Fainelli2012-09-084-16/+16
| | | | | | 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 closeFlorian Fainelli2012-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 RXFlorian Fainelli2012-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 pointersFlorian Fainelli2012-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 racesFlorian Fainelli2012-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 startFlorian Fainelli2012-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 deviceFlorian Fainelli2012-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 valuesFlorian Fainelli2012-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 handlerFlorian Fainelli2012-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 defaultFlorian Fainelli2012-08-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] use ohci_err() instead of err()Florian Fainelli2012-07-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32729 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] make sure we properly unmap DMA mappings we createdFlorian Fainelli2012-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 usedFlorian Fainelli2012-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 valueFlorian Fainelli2012-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 driverFlorian Fainelli2012-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 invalidationsFlorian Fainelli2012-06-201-22/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] improve ethernet driver debuggingFlorian Fainelli2012-06-201-19/+102
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] add Moschip MSC814x supportFlorian Fainelli2012-06-199-0/+1987
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