Commit Graph

8479 Commits

Author SHA1 Message Date
Florian Fainelli
23fc737b9d backport upstream spi-bcm63xx fixes
* message pump conversion
* not using stopping state
* setting spi driver mode bits

SVN-Revision: 32078
2012-06-06 13:31:33 +00:00
Florian Fainelli
7b12e9e49c backport spi message queue infrastructure
SVN-Revision: 32077
2012-06-06 13:31:30 +00:00
Florian Fainelli
4112094dbb increase led number in patch 301-led_count.patch
So that board patches are only touching board-related code

SVN-Revision: 32076
2012-06-06 13:31:24 +00:00
John Crispin
95e69ac4f1 clean up generic image building
SVN-Revision: 32065
2012-06-05 17:49:42 +00:00
Florian Fainelli
9a61b249c5 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

SVN-Revision: 32060
2012-06-05 13:40:41 +00:00
Florian Fainelli
5ec2209734 refresh generic patches
SVN-Revision: 32059
2012-06-05 13:40:38 +00:00
Florian Fainelli
36c99bcc42 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.

SVN-Revision: 32058
2012-06-05 13:40:35 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Luka Perkov
605012ad5d kirkwood: reorganize target
SVN-Revision: 32053
2012-06-05 00:43:56 +00:00
Luka Perkov
7f00e5ffc6 uboot-envtools: update to 2012.04.01
SVN-Revision: 32051
2012-06-04 21:55:49 +00:00
Jonas Gorski
ffea8eb913 bcm63xx: fix ethernet on 96328avng and 963281TAN
The internal switch did not get registered.

SVN-Revision: 32041
2012-06-04 08:35:25 +00:00
John Crispin
2b4ef2eafa adds unset Kbuild symbol
SVN-Revision: 32026
2012-06-02 14:03:32 +00:00
Gabor Juhos
f4b02b91ce malta: remove 3.2 patches
SVN-Revision: 32023
2012-06-02 12:06:28 +00:00
Gabor Juhos
c0c60f7bd3 malta: use common kernel config
SVN-Revision: 32022
2012-06-02 12:06:26 +00:00
Gabor Juhos
9375e83586 xburst: add missing config symbol
SVN-Revision: 32021
2012-06-02 12:06:15 +00:00
John Crispin
76e4cd2a24 add $(SUBTARGET) to the filename if available
SVN-Revision: 32007
2012-05-30 18:04:15 +00:00
John Crispin
47ef62d1b8 adds patch to make Tantos (psb6970) switch buildable again
SVN-Revision: 32006
2012-05-30 17:41:28 +00:00
Jonas Gorski
3fc76fb781 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

SVN-Revision: 32004
2012-05-30 10:27:46 +00:00
Jonas Gorski
c454ba3657 bcm63xx: readd accidentially dropped network config for SPW303V
SVN-Revision: 32003
2012-05-30 10:27:42 +00:00
Gabor Juhos
9e02593b70 generic: ar8216: add revision specific PHY fixups for AR8327
SVN-Revision: 32000
2012-05-29 16:39:27 +00:00
Gabor Juhos
0d241e6670 generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_priv
SVN-Revision: 31999
2012-05-29 16:39:26 +00:00
Gabor Juhos
b2fce19a70 generic: ar8216: add chip_is_ar8{216,236,316,327} helpers
SVN-Revision: 31998
2012-05-29 16:39:24 +00:00
Gabor Juhos
cd7ab1d30b ar71xx: add default LED setup for the DB120 board
SVN-Revision: 31997
2012-05-29 16:39:23 +00:00
Gabor Juhos
29a579e43a cns21xx: use the generic uci-default functions for initial LED setup
SVN-Revision: 31996
2012-05-29 16:39:22 +00:00
Gabor Juhos
ff74305623 lantiq: use the generic uci-default functions for initial LED setup
SVN-Revision: 31995
2012-05-29 16:39:21 +00:00
Gabor Juhos
c81c6516de kirkwood: use the generic uci-default functions for initial LED setup
SVN-Revision: 31994
2012-05-29 16:39:20 +00:00
Gabor Juhos
ffbb4f88a9 ramips: use the generic uci-default functions for initial LED setup
SVN-Revision: 31993
2012-05-29 16:39:18 +00:00
Gabor Juhos
4e40bdc190 ar71xx: use the generic uci-default functions for initial LED setup
SVN-Revision: 31992
2012-05-29 16:39:17 +00:00
Gabor Juhos
ba3ad24514 kirkwood: use uci-defaults to configure different boards
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31990
2012-05-29 16:39:15 +00:00
Gabor Juhos
c71838faa1 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]

SVN-Revision: 31989
2012-05-29 16:39:03 +00:00
Felix Fietkau
a9cd8446f3 ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
SVN-Revision: 31956
2012-05-28 20:39:50 +00:00
Felix Fietkau
367e4b3994 ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
SVN-Revision: 31934
2012-05-28 02:55:59 +00:00
Felix Fietkau
8039a1bbb2 ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
SVN-Revision: 31925
2012-05-27 21:02:41 +00:00
Felix Fietkau
f638414fdc kernel: fix suppressing -s for linking modules when profiling is enabled
SVN-Revision: 31924
2012-05-27 21:02:36 +00:00
Gabor Juhos
8865f0923e ar71xx: fix TL-WR1041 image size
SVN-Revision: 31923
2012-05-27 17:21:47 +00:00
Gabor Juhos
1c552ba8e5 ramips: rt3883: add device registration code for the SPI controller
SVN-Revision: 31922
2012-05-27 17:10:00 +00:00
Gabor Juhos
9c241983fc ramips: allow to use the SPI driver on RT3662/RT3883
SVN-Revision: 31921
2012-05-27 17:09:58 +00:00
Gabor Juhos
78a750dcce ramips: rt3883: fix GPIO reservation for the SPI pins
SVN-Revision: 31920
2012-05-27 17:09:56 +00:00
Gabor Juhos
0622fdd82c ramips: rt305x: remove superfluous controller_data assignment
SVN-Revision: 31919
2012-05-27 17:09:52 +00:00
Gabor Juhos
7f5bec0642 ramips: make rt2x00 firmware extraction quiet
SVN-Revision: 31918
2012-05-27 17:09:50 +00:00
Gabor Juhos
86dad96fd0 generic: rtl8367: rename a misnamed variable
SVN-Revision: 31917
2012-05-27 17:09:47 +00:00
Gabor Juhos
705d31203c generic: rtl8366_smi: remove duplicated spinlock initialization
SVN-Revision: 31916
2012-05-27 17:09:45 +00:00
Gabor Juhos
9217115687 generic: rtl8366_smi: rename debugfs Kconfig symbol
SVN-Revision: 31915
2012-05-27 17:09:43 +00:00
Gabor Juhos
466ef30173 generic: rtl8367: allow to use VLANs > 31
SVN-Revision: 31914
2012-05-27 17:09:41 +00:00
John Crispin
f567980d38 move files-3.3 -> files
SVN-Revision: 31912
2012-05-27 16:13:02 +00:00
John Crispin
8002770520 3.2 R.I.P.
SVN-Revision: 31911
2012-05-27 16:12:59 +00:00
John Crispin
81ddc886e1 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>

SVN-Revision: 31910
2012-05-27 16:02:22 +00:00
John Crispin
6e8fe84472 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>

SVN-Revision: 31909
2012-05-27 16:02:20 +00:00
John Crispin
3f2f50c681 Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31908
2012-05-27 16:02:16 +00:00
Felix Fietkau
51bc47ce7c kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
SVN-Revision: 31906
2012-05-27 15:16:37 +00:00