Florian Fainelli
d59ba20030
do not call clk_put() on the timer clock
...
We don't support disabling the clock, but this is actually what it would do.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34394
12 years ago
Florian Fainelli
5d6208f34d
do not list specific board compatible strings
...
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>
SVN-Revision: 34393
12 years ago
Florian Fainelli
94b7be6dd7
remove unused variables from Makefile.boot
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34392
12 years ago
Florian Fainelli
254d851d8a
nuport-mac: various fixes
...
- 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
SVN-Revision: 33780
12 years ago
Florian Fainelli
d504b6251c
more convertions to {read,write}_relaxed I/O accessors
...
SVN-Revision: 33604
12 years ago
Florian Fainelli
6771d63284
use the recommended ARM I/O accessors
...
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.
SVN-Revision: 33330
12 years ago
Florian Fainelli
e88e20d975
nuport-mac: disable MAC RX and TX during interface close
...
Fixes sporadic crashes while reconfiguring the network interface.
SVN-Revision: 33312
12 years ago
Florian Fainelli
a183ced08e
MCS8140 actually selects CPU_ARM926T
...
Should make inclusion for other MCS814x SoCs easier
SVN-Revision: 33188
12 years ago
Florian Fainelli
43ddb1d7af
change partition names to be more in line with other OpenWrt devices
...
SVN-Revision: 33127
12 years ago
Florian Fainelli
c16bf519f1
nuport-mac: delay call to napi_start() until fully able to process RX
...
SVN-Revision: 33079
12 years ago
Florian Fainelli
0028429dfa
set a compatible command-line to boot from flash
...
SVN-Revision: 33078
12 years ago
Florian Fainelli
47380a4388
nuport-mac: use dma_mapping_error() instead of checking pointers
...
Thanks Gabor for spotting this
SVN-Revision: 33071
12 years ago
Florian Fainelli
7f9bfa3fcd
nuport-mac: rework PHY interrupt configuration to avoid races
...
SVN-Revision: 33070
12 years ago
Florian Fainelli
5e877f02b4
nuport-mac: close possible race condition during start
...
SVN-Revision: 33069
12 years ago
Florian Fainelli
35351a28b9
nuport-mac: unmap the DMA buffer when closing device
...
SVN-Revision: 33068
12 years ago
Florian Fainelli
b77494fa2f
nuport-mac: check dma_map_single address return values
...
SVN-Revision: 33067
12 years ago
Florian Fainelli
162e272b4b
nuport-mac: properly protect the phy interrupt handler
...
SVN-Revision: 32951
12 years ago
Florian Fainelli
5133a44785
assume the link is up and full-duplex by default
...
SVN-Revision: 32940
12 years ago
Florian Fainelli
a5d72815b5
add compatible property to pci node
...
SVN-Revision: 32730
13 years ago
Florian Fainelli
b5578d83d5
use ohci_err() instead of err()
...
SVN-Revision: 32729
13 years ago
Florian Fainelli
0e0b396663
make sure we properly unmap DMA mappings we created
...
SVN-Revision: 32728
13 years ago
Florian Fainelli
0f0e42f28e
nuport-mac: add definitions of the various bits/masks used
...
SVN-Revision: 32727
13 years ago
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
13 years ago
Florian Fainelli
93bf00ff36
fix typo on of_node_put()
...
SVN-Revision: 32653
13 years ago
Florian Fainelli
110fd3525a
call of_node_put() on ethernet node
...
SVN-Revision: 32628
13 years ago
Florian Fainelli
a8fab2cb78
fix EPHY clock bit definition after r32489
...
SVN-Revision: 32627
13 years ago
Florian Fainelli
81681d7367
give an unique partition identifier for dLAN USB Extender Combined partition
...
SVN-Revision: 32626
13 years ago
Florian Fainelli
0fdac1102d
add missing interrupts properties to some device nodes
...
SVN-Revision: 32603
13 years ago
Florian Fainelli
81e8757da4
provide an early ioremap cookie of the system configuration register
...
SVN-Revision: 32489
13 years ago
Florian Fainelli
98b2bc9189
group SYSDBG register defines in mcs814x.h
...
SVN-Revision: 32488
13 years ago
Florian Fainelli
a8965f0005
make hardware.h a forward inclusion of mcs814x.h
...
mach/hardware.h is soon to be removed by upstream kernel
SVN-Revision: 32487
13 years ago
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
13 years ago
Florian Fainelli
2c47bbc199
regroup interrupt controller register definitions in hardware.h
...
SVN-Revision: 32485
13 years ago
Florian Fainelli
481c9faf20
remove handle_irq callback in board-mcs8140-dt.c
...
This should have been removed in r32470.
SVN-Revision: 32481
13 years ago
Florian Fainelli
007fa4d638
remove uselss cache invalidations
...
SVN-Revision: 32472
13 years ago
Florian Fainelli
9a2367aa6d
improve ethernet driver debugging
...
SVN-Revision: 32471
13 years ago
Florian Fainelli
3b0dba382b
do not use MULTI_IRQ_HANDLER it is bogus on our platform
...
This caused stalls in the Ethernet DMA block, so until properly
written and sorted out, fallback to the assembly version instead.
SVN-Revision: 32470
13 years ago
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
13 years ago