1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 11:43:10 +02:00
Commit Graph

60 Commits

Author SHA1 Message Date
florian
140306fae8 [mcs814x] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-27 18:42:36 +00:00
florian
e91eb83f16 [mcs814x] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-27 18:42:32 +00:00
florian
a80887b95e [mcs814x] remove unused variables from Makefile.boot
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-27 18:42:28 +00:00
florian
05a3ece84a [mcs814x] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-15 21:03:57 +00:00
florian
8eed7abf41 [mcs814x] more convertions to {read,write}_relaxed I/O accessors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-03 16:10:47 +00:00
florian
237dcc5119 [mcs814x] add wmbus-repeater to the dLAN USB Extender profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 20:56:50 +00:00
florian
e47c1f32bb [mcs814x] enable multicast and advanced ip routers configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 20:53:34 +00:00
florian
9b1b55700d [mcs814x] add kmod-usb-serial-ftdi to the dLAN USB Extender profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 20:50:20 +00:00
juhosg
93a698140f generic: move GENERIC_PWM symbol into the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 06:38:31 +00:00
florian
08b17128a1 [mcs814x] use the recommended ARM I/O accessors
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
2012-09-08 09:51:05 +00:00
florian
d6378b5278 [mcs814x] add some ohci workarounds to make ohci work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:19:29 +00:00
florian
8e3e58e908 [mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:51 +00:00
florian
902cbf7fcc [mcs814x] pad squashfs image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:46 +00:00
florian
cfcbecc91d [mcs814x] add Generic and dLAN USB Extender profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:40 +00:00
florian
cfcb04f63c [mcs814x] nuport-mac: disable MAC RX and TX during interface close
Fixes sporadic crashes while reconfiguring the network interface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 10:26:01 +00:00
florian
b04e0a47c5 [mcs814x] MCS8140 actually selects CPU_ARM926T
Should make inclusion for other MCS814x SoCs easier

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 16:19:30 +00:00
florian
b117ae421e [mcs814x] only support 128KiB erase block sizes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:56:09 +00:00
florian
8c1ea6515e [mcs814x] disable PCI support
None of the boards we support have PCI connectors

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:56:00 +00:00
florian
abbd73f17d [mcs814x] strip a bit more the kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:51 +00:00
florian
7bea2cc208 [mcs814x] properly advertise OHCI and EHCI capabilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:41 +00:00
florian
0855a531ce [mcs814x] change partition names to be more in line with other OpenWrt devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:30 +00:00
florian
5a05d95284 [mcs814x] generate upgrade files suffixed with filesystem type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:15 +00:00
florian
3a86756f40 [mcs814x] nuport-mac: delay call to napi_start() until fully able to process RX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 07:04:21 +00:00
florian
b3a374d1f1 [mcs814x] set a compatible command-line to boot from flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 07:04:16 +00:00
florian
0301cbafe2 [mcs814x] nuport-mac: use dma_mapping_error() instead of checking pointers
Thanks Gabor for spotting this

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 09:06:35 +00:00
florian
aa4d6d46de [mcs814x] nuport-mac: rework PHY interrupt configuration to avoid races
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:18 +00:00
florian
1536e98836 [mcs814x] nuport-mac: close possible race condition during start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:13 +00:00
florian
fe5c16eebf [mcs814x] nuport-mac: unmap the DMA buffer when closing device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:09 +00:00
florian
403b1f1906 [mcs814x] nuport-mac: check dma_map_single address return values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:04 +00:00
florian
d1e20e7b57 [mcs814x] build a Devolo dLAN USB Extender specific image
The kernel has to be rounded up to the nearest 1MB, then we append
the root filesystem at its end.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:00 +00:00
florian
df804c6333 [mcs814x] cleanup image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:50:55 +00:00
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
0a53c615c8 [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
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
9a9ced9072 [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
bd34f5017a [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
c48bcd5433 [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
bf2c3d0b49 [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
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