aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/files-3.3
Commit message (Collapse)AuthorAgeFilesLines
* [mcs814x] do not call clk_put() on the timer clockFlorian Fainelli2012-11-271-1/+0
| | | | | | | | We don't support disabling the clock, but this is actually what it would do. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] do not list specific board compatible stringsFlorian Fainelli2012-11-271-2/+0
| | | | | | | | | The general practice is to use the general SoC compatible string in both the DTS and the board specific .c file. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] remove unused variables from Makefile.bootFlorian Fainelli2012-11-271-2/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [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-033-7/+7
| | | | 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-089-52/+55
| | | | | | 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] MCS8140 actually selects CPU_ARM926TFlorian Fainelli2012-08-141-0/+1
| | | | | | Should make inclusion for other MCS814x SoCs easier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] change partition names to be more in line with other OpenWrt devicesFlorian Fainelli2012-08-111-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33127 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] set a compatible command-line to boot from flashFlorian Fainelli2012-08-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33078 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] add compatible property to pci nodeFlorian Fainelli2012-07-151-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32730 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] fix typo on of_node_put()Florian Fainelli2012-07-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] call of_node_put() on ethernet nodeFlorian Fainelli2012-07-051-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] fix EPHY clock bit definition after r32489Florian Fainelli2012-07-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] give an unique partition identifier for dLAN USB Extender Combined ↵Florian Fainelli2012-07-051-1/+1
| | | | | | partition git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] add missing interrupts properties to some device nodesFlorian Fainelli2012-07-041-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] provide an early ioremap cookie of the system configuration registerFlorian Fainelli2012-06-236-29/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] group SYSDBG register defines in mcs814x.hFlorian Fainelli2012-06-233-20/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] make hardware.h a forward inclusion of mcs814x.hFlorian Fainelli2012-06-2311-28/+43
| | | | | | mach/hardware.h is soon to be removed by upstream kernel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] remove platform specific initialization from ethernet driverFlorian Fainelli2012-06-234-24/+90
| | | | | | | | 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] regroup interrupt controller register definitions in hardware.hFlorian Fainelli2012-06-233-8/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] remove handle_irq callback in board-mcs8140-dt.cFlorian Fainelli2012-06-211-1/+0
| | | | | | This should have been removed in r32470. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32481 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] do not use MULTI_IRQ_HANDLER it is bogus on our platformFlorian Fainelli2012-06-202-21/+24
| | | | | | | This caused stalls in the Ethernet DMA block, so until properly written and sorted out, fallback to the assembly version instead. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] add Moschip MSC814x supportFlorian Fainelli2012-06-1934-0/+3724
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