florian
6b899d5dea
[mcs814x] nuport-mac: properly protect the phy interrupt handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 18:13:17 +00:00
florian
de000e9b36
[mcs814x] assume the link is up and full-duplex by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 21:56:54 +00:00
florian
5ecd917028
[mcs814x] add compatible property to pci node
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:09:40 +00:00
florian
cf67c71c56
[mcs814x] use ohci_err() instead of err()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:09:32 +00:00
florian
a79b37bfe8
[mcs814x] make sure we properly unmap DMA mappings we created
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:09:24 +00:00
florian
c2e42c1d07
[mcs814x] nuport-mac: add definitions of the various bits/masks used
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:09:18 +00:00
florian
261b7b2d42
[mcs814x] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 08:29:01 +00:00
florian
0c7b89359f
[mcs814x] fix typo on of_node_put()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-09 14:44:15 +00:00
florian
af91801f83
[mcs814x] call of_node_put() on ethernet node
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:46:55 +00:00
florian
fa5a8f6863
[mcs814x] fix EPHY clock bit definition after r32489
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:46:52 +00:00
florian
c5bc9b0989
[mcs814x] give an unique partition identifier for dLAN USB Extender Combined partition
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:46:48 +00:00
florian
c9906b31cd
[mcs814x] add missing interrupts properties to some device nodes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-04 19:37:11 +00:00
florian
27abc2e19f
[mcs814x] provide an early ioremap cookie of the system configuration register
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:50 +00:00
florian
a699bb193a
[mcs814x] group SYSDBG register defines in mcs814x.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:45 +00:00
florian
01532c0031
[mcs814x] make hardware.h a forward inclusion of mcs814x.h
...
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
2012-06-23 11:03:40 +00:00
florian
4c31778fc4
[mcs814x] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:35 +00:00
florian
bc89518781
[mcs814x] regroup interrupt controller register definitions in hardware.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:29 +00:00
florian
0235660f48
[mcs814x] remove handle_irq callback in board-mcs8140-dt.c
...
This should have been removed in r32470.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-21 12:20:47 +00:00
florian
aa77c3e868
[mcs814x] remove uselss cache invalidations
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:53 +00:00
florian
ee556c7f7b
[mcs814x] improve ethernet driver debugging
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:49 +00:00
florian
3a5b7c7629
[mcs814x] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:45 +00:00
florian
7c90f3b2b4
[mcs814x] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 14:48:56 +00:00