florian
3d0fed711e
[brcm63xx] backport upstream spi-bcm63xx fixes
...
* message pump conversion
* not using stopping state
* setting spi driver mode bits
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:33 +00:00
florian
28f01f0d91
[generic/3.3] backport spi message queue infrastructure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:30 +00:00
florian
a7a19483fb
[brcm63xx] increase led number in patch 301-led_count.patch
...
So that board patches are only touching board-related code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:24 +00:00
blogic
9216dfc76c
[lantiq] clean up generic image building
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 17:49:42 +00:00
florian
6255930f93
[brcm63xx] fix board patches so that new boards are withing appropriate ifdef
...
Some new board definitions were added within the #ifdef CONFIG_CPU_6338
section while some other were added within #ifdef CONFIG_CPU_6345, fix this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:41 +00:00
florian
c7d60bd0db
[kernel/3.3] refresh generic patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:38 +00:00
florian
a6691cb6b1
[brcm63xx] fix bisectability of patch 303-spi-board-info.patch
...
It uses spi_register_board_info() from linux/spi/spi.h but does not include it
explicitely.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:35 +00:00
blogic
466d98bf88
[kernel] bump to 3.3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
luka
576ea25936
kirkwood: reorganize target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 00:43:56 +00:00
luka
090fe17a5f
uboot-envtools: update to 2012.04.01
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 21:55:49 +00:00
jogo
43bdeca579
bcm63xx: fix ethernet on 96328avng and 963281TAN
...
The internal switch did not get registered.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 08:35:25 +00:00
blogic
35d604e713
[lantiq] adds unset Kbuild symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-02 14:03:32 +00:00
juhosg
f6bfa9b749
malta: remove 3.2 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-02 12:06:28 +00:00
juhosg
8f3ef842f5
malta: use common kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-02 12:06:26 +00:00
juhosg
e17a638412
xburst: add missing config symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-02 12:06:15 +00:00
blogic
58c0d0ae3f
[imagebuilder] add $(SUBTARGET) to the filename if available
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 18:04:15 +00:00
blogic
b9f376d33a
[kernel] adds patch to make Tantos (psb6970) switch buildable again
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 17:41:28 +00:00
jogo
f91824b22d
bcm63xx: build images for 6328 reference boards with various flash sizes
...
Build images for 96328avng and 963281TAN (untested) for three different
flash sizes: 4MB, 8MB, and 16MB.
Known issues:
* Button setup unknown, thus no fail-safe available.
* All other BCM6328 and BCM63XX issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:46 +00:00
jogo
99b853b6b3
bcm63xx: readd accidentially dropped network config for SPW303V
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:42 +00:00
juhosg
7cab23d0dc
generic: ar8216: add revision specific PHY fixups for AR8327
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:27 +00:00
juhosg
72df0a7c48
generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_priv
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:26 +00:00
juhosg
6d10d89b29
generic: ar8216: add chip_is_ar8{216,236,316,327} helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:24 +00:00
juhosg
3ffc68003f
ar71xx: add default LED setup for the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:23 +00:00
juhosg
ab5576542a
cns21xx: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:22 +00:00
juhosg
014e1ffa51
lantiq: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:21 +00:00
juhosg
09f48c381b
kirkwood: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:20 +00:00
juhosg
93945c8815
ramips: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:18 +00:00
juhosg
22ae6b82eb
ar71xx: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:17 +00:00
juhosg
3a3aa7378b
kirkwood: use uci-defaults to configure different boards
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:15 +00:00
juhosg
436c9f6d34
ramips: WAN LED for D-Link DIR-300-B1
...
Add led devices for D-Link DIR-300-B1 WAN LED.
Note that the GPIO state is also ANDed with the esw switch port 4
LED state, which is why I've set the amber LED to default-on.
Closes: https://dev.openwrt.org/ticket/11326
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
[ juhosg:
- fix comment style in mach-dir-300-revb.c,
- remove the PPP specific LED setup, not everyone uses a PPP connection
on the WAN interface]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:03 +00:00
nbd
8c1c75ba17
ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 20:39:50 +00:00
nbd
0f299fab07
ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 02:55:59 +00:00
nbd
dfea949949
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 21:02:41 +00:00
nbd
295c63c334
kernel: fix suppressing -s for linking modules when profiling is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 21:02:36 +00:00
juhosg
d3fa7efc8c
ar71xx: fix TL-WR1041 image size
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:21:47 +00:00
juhosg
75c71fcaa0
ramips: rt3883: add device registration code for the SPI controller
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:10:00 +00:00
juhosg
84b342399c
ramips: allow to use the SPI driver on RT3662/RT3883
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:58 +00:00
juhosg
1e3e199faa
ramips: rt3883: fix GPIO reservation for the SPI pins
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:56 +00:00
juhosg
0c9cb51fbb
ramips: rt305x: remove superfluous controller_data assignment
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:52 +00:00
juhosg
ce2fd1dbc9
ramips: make rt2x00 firmware extraction quiet
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:50 +00:00
juhosg
39068e8b25
generic: rtl8367: rename a misnamed variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:47 +00:00
juhosg
11d6be39a6
generic: rtl8366_smi: remove duplicated spinlock initialization
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:45 +00:00
juhosg
63d3e3114d
generic: rtl8366_smi: rename debugfs Kconfig symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:43 +00:00
juhosg
5a1c605a9e
generic: rtl8367: allow to use VLANs > 31
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:41 +00:00
blogic
e4b72001f6
[lantiq] move files-3.3 -> files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:13:02 +00:00
blogic
c9e0ccf07c
[lantiq] 3.2 R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:12:59 +00:00
blogic
c8e24ec13e
[lantiq] dgn3500 support with eeprom loading from sysfs
...
WIFI eeprom:
As discussed, it is impossible for nand and spi flash platforms to have the eeprom data available from mtd. I suggested to load the eeprom from user-space. I've looked into regular firmware loading but this is only possible when using modules. I've created a sysfs entry that allows reading and writing the eeprom data to the platform data. After loading the eeprom data I rely on pci-hotplug support to disable the bogus pci device and rescan the bus (with fixups and all). Because hotplug is not available, an init script is created that performs the copy from mtd to platform data. I think it is best to eventually move the sysfs functions to dev_wifi_athxk.c file, this would get rid of the external to the ath9k platform data.
SPI flash:
It seems that the spi-xway driver is not really working. It causes my kernel to crash in all sorts of ways. I added to bitbang SPI to be able to the calibration data mention above.
I've kept the original mtd partitioning that Netgear uses.
Buttons/LED:
Both buttons are working properly. Two leds are not enabled: The red internet led is connected to the pci_gnt1 pin... I can't disable it because then DMA stops working.
The green wifi led is connected to an unknown atheros gpio.
Signed-off-by: Pieter Voorthuijsen <p.voorthuijsen at gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:02:22 +00:00
blogic
f72e7bf12d
[lantiq] fixes zyxel p2601hnfx
...
moves the linux partition, removes the config partition and the
buttons settings have small adjustments.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:02:20 +00:00
blogic
2b03aafe31
[lantiq] Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values.
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:02:16 +00:00
nbd
95d801c59d
kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:16:37 +00:00