Commit Graph

79 Commits (e602e40d2c3fa24ba076dd85c643a029f2d52a92)

Author SHA1 Message Date
Florian Fainelli a8facfad2a [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 Fainelli 677ee8449a [mcs814x] add missing netmask to the network config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 22:09:13 +00:00
Florian Fainelli 031b03b3dd [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 Fainelli bf2807bdf2 [mcs814x] add a default and suitable network config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 21:56:49 +00:00
Florian Fainelli fb8c91abdd [mcs814x] resync defconfig enable XZ compression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:01:27 +00:00
Florian Fainelli df6b8c9431 [mcs814x] properly generate squashfs, jffs2 and initramfs images and kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 23:09:50 +00:00
Florian Fainelli d85b408d9b [mcs814x] set DEVICE_TYPE to other to avoid pulling unecessary packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:10:03 +00:00
Florian Fainelli b6ea2c7d2e [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 Fainelli d830eca387 [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 Fainelli 4b394c1b83 [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 Fainelli 8f1bb68c38 [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 Fainelli 62fe65a569 [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 Fainelli a6e9faddf5 [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 Fainelli 6bd1255c39 [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 Fainelli e9c7ab5034 [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 Fainelli 1469b30ee6 [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 Fainelli 59677232f8 [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 Fainelli 2c440535b3 [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 Fainelli 32e4646654 [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 Fainelli ce5f9970fe [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 Fainelli a2cd791e83 [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 Fainelli 106cd1abfa [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 Fainelli 12db25fe25 [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 Fainelli f176627d9e [mcs814x] fix USB led triggers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:58:00 +00:00
Florian Fainelli 3d38250a52 [mcs814x] use generic uci defaults functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:56 +00:00
Florian Fainelli a3c7dde953 [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 Fainelli 2c4cbaba5d [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 Fainelli e8d95819ae [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 Fainelli fea5404e8a [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