Commit graph

6716 commits

Author SHA1 Message Date
Florian Fainelli
0fb1c2d537 bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26875
2011-05-11 13:33:45 +00:00
Florian Fainelli
c6af9c23b7 bcm63xx: Decouple Board ID and image name for fixup
Make the fixup board ID independent from the image name to allow using
the same board ID for similar devices.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26874
2011-05-11 13:33:41 +00:00
Florian Fainelli
4ea316216a switch to 2.6.38
SVN-Revision: 26873
2011-05-11 13:33:34 +00:00
Florian Fainelli
3fc33726a5 add missing 2.6.38 touchscreen config symbols
SVN-Revision: 26872
2011-05-11 13:33:30 +00:00
John Crispin
60c125b8e6 (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC
This patch adds 802.1Q VLAN support for the ADM6996M chip.

The driver is loaded for both the FC and M model. It will detect which of the
two chips is connected. The FC model is initialised, but no further
functionality is offered.

The PHY driver will always report "100 Mbit/s, link up", for both the M and FC
models. This reflects the fact that the link between switch chip and Ethernet
MAC is always on[1].

Further documentation can be found in the kernel's
Documentation/networking/adm6996.txt

Signed-of-By: Peter Lebbing <peter@digitalbrains.com>

SVN-Revision: 26865
2011-05-09 15:21:58 +00:00
Gabor Juhos
9b5036a29d ar71xx: populate LED3 on the JA76PF board
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

SVN-Revision: 26862
2011-05-08 21:38:51 +00:00
Gabor Juhos
b39eebdf1e ar71xx: add uci config for the WLAN LED on the WRT160NL
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>

SVN-Revision: 26861
2011-05-08 21:38:49 +00:00
Gabor Juhos
858e2e719b ar71xx: use phy0tpt trigger for the WLAN LEDs
SVN-Revision: 26860
2011-05-08 21:38:48 +00:00
Gabor Juhos
869f3cb718 ar71xx: remove superfluous fifo_cfg overrides
SVN-Revision: 26859
2011-05-08 21:38:46 +00:00
Travis Kemen
bc121d5706 ipv6: restore correct ECN handling on TCP xmit Thanks Dave Taht
SVN-Revision: 26858
2011-05-08 17:08:06 +00:00
Gabor Juhos
5d77f370d6 ar71xx: ag71xx: make switch register access atomic
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.

This is easily noticable during an iperf session:

...
[  3] 52.0-53.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 53.0-54.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[  3] 54.0-55.0 sec  6.75 MBytes  56.6 Mbits/sec
[  3] 55.0-56.0 sec  0.00 Bytes  0.00 bits/sec
[  3] 56.0-57.0 sec  10.5 MBytes  88.1 Mbits/sec
...
[  3] 169.0-170.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 170.0-171.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[  3] 171.0-172.0 sec  7.63 MBytes  64.0 Mbits/sec
[  3] 172.0-173.0 sec  9.38 MBytes  78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[  3] 173.0-174.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 174.0-175.0 sec  11.4 MBytes  95.4 Mbits/sec

SVN-Revision: 26856
2011-05-08 16:32:53 +00:00
Gabor Juhos
3711658281 ar71xx: ag71xx: fix section mismatch warnings
The function __devinit ag71xx_probe() references
a function __devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.

The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the __devexit annotation of
ag71xx_ar7240_cleanup.

SVN-Revision: 26855
2011-05-08 13:30:36 +00:00
Gabor Juhos
ef53029870 ar71xx: ag71xx: fix build error if debugfs is enabled
SVN-Revision: 26854
2011-05-08 13:30:26 +00:00
Hauke Mehrtens
732abc44cc brcm47xx: update patches
SVN-Revision: 26846
2011-05-07 12:49:17 +00:00
Gabor Juhos
8b67d748cb ar71xx: ag71xx: add debugfs entry for [rt]x_ring
SVN-Revision: 26845
2011-05-07 12:40:34 +00:00
Gabor Juhos
2166432ba0 ar71xx: ag71xx: add timestamps to ag71xx_buf
SVN-Revision: 26844
2011-05-07 12:40:28 +00:00
Gabor Juhos
896e1d1ab4 ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
SVN-Revision: 26843
2011-05-07 12:40:26 +00:00
Gabor Juhos
a6708d20d1 ar71xx: ag71xx: use debugfs_remove_recursive
SVN-Revision: 26842
2011-05-07 12:40:25 +00:00
Gabor Juhos
c39e5b9360 ar71xx: override wmac device name for the AR934x SoCs
SVN-Revision: 26840
2011-05-07 09:23:32 +00:00
Florian Fainelli
fbbe154a48 remove useless patches
SVN-Revision: 26837
2011-05-06 12:37:40 +00:00
Florian Fainelli
de02a2795b fill maintainer infos for a couple of targets
SVN-Revision: 26836
2011-05-06 12:37:36 +00:00
Florian Fainelli
1adaa8790d update to 2.6.38.2
SVN-Revision: 26833
2011-05-05 16:35:44 +00:00
Florian Fainelli
fd33dffe60 add missing 2.6.38 symbols
SVN-Revision: 26832
2011-05-05 16:35:40 +00:00
Hauke Mehrtens
fcb1557a3e brcm47xx: when detecting a ssb pci device without an own sprom write the sprom data from the platform device to the correct pointer.
SVN-Revision: 26829
2011-05-05 14:05:21 +00:00
Hauke Mehrtens
54fb8868fa brcm47xx: fix typo in patch
SVN-Revision: 26828
2011-05-05 13:18:35 +00:00
Alexandros C. Couloumbis
7fb06ce6cd linux/ar71xx: add some missing symbols for nand/yaffs targets
SVN-Revision: 26827
2011-05-05 07:19:46 +00:00
Alexandros C. Couloumbis
c27ffb1912 linux/generic: port yaffs to 2.6.39
SVN-Revision: 26818
2011-05-04 09:35:06 +00:00
Alexandros C. Couloumbis
67339c1329 linux/rb532: use kernel and initramfs tags on image generation
SVN-Revision: 26817
2011-05-04 08:47:00 +00:00
Jo-Philipp Wich
ae5435adc9 geos: remove unneeded modules The via-sata and gpio-nsc modules are both unneeded on the Geos platform.
SVN-Revision: 26811
2011-05-03 21:18:12 +00:00
Florian Fainelli
a18ec3c37e update to 2.6.38
SVN-Revision: 26803
2011-05-02 07:57:25 +00:00
Felix Fietkau
af53fa1d91 cns3xxx: remove one of the dma cache patches, it causes a regression in the ethernet driver
SVN-Revision: 26802
2011-05-02 00:28:30 +00:00
Hauke Mehrtens
3dbb8c5088 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)

SVN-Revision: 26801
2011-05-01 20:28:35 +00:00
Felix Fietkau
f9a92812cf cns3xxx: fix missing and incomplete cache flushes on DMA cache sync for cpu - fixes some issues with ath9k
SVN-Revision: 26797
2011-05-01 15:53:56 +00:00
Felix Fietkau
cbc75a9c70 ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
SVN-Revision: 26779
2011-04-28 21:27:42 +00:00
Felix Fietkau
eb270c4d33 ar8316: automatically detect whether port4 is used as PHY or as a switch port
SVN-Revision: 26778
2011-04-28 21:27:37 +00:00
Felix Fietkau
36aecb08b8 ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
SVN-Revision: 26777
2011-04-28 19:30:49 +00:00
Felix Fietkau
2336d4b438 ar8216: support AR8316 rev 0 devices
SVN-Revision: 26776
2011-04-28 19:30:43 +00:00
Alexandros C. Couloumbis
8b7a516fa8 linux/atheros: add 2.6.38 preliminary support
SVN-Revision: 26772
2011-04-27 17:18:03 +00:00
Felix Fietkau
9e8cd78944 swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK
SPIN_LOCK_UNLOCKED has been deprecated since 2.6.19 and will get removed
in 2.6.39, so replace it with DEFINE_SPINLOCK().

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26770
2011-04-26 23:05:29 +00:00
Alexandros C. Couloumbis
edfcbe5705 linux/adm5120: update wget2nand script
SVN-Revision: 26748
2011-04-21 13:18:33 +00:00
Alexandros C. Couloumbis
f13581eedb linux/ar71xx: update wget2nand script
SVN-Revision: 26747
2011-04-21 12:38:25 +00:00
Alexandros C. Couloumbis
015b010f90 linux/ar71xx: add 2.6.38 preliminary support
SVN-Revision: 26746
2011-04-21 11:45:23 +00:00
Felix Fietkau
a2687e8d6d uml: fix the kernel config name override
SVN-Revision: 26715
2011-04-17 21:47:49 +00:00
Felix Fietkau
ae51f1972f x86: remove 2.6.35 patches
SVN-Revision: 26710
2011-04-17 18:39:50 +00:00
Felix Fietkau
1fcd26091b brcm63xx: remove patches/configs for 2.6.35
SVN-Revision: 26709
2011-04-17 18:39:46 +00:00
Felix Fietkau
8566daa5df au1000: remove patches/configs for 2.6.35
SVN-Revision: 26708
2011-04-17 18:39:42 +00:00
Felix Fietkau
f5d3d0e7d8 ar7: remove patches/configs for old kernel versions
SVN-Revision: 26707
2011-04-17 18:39:38 +00:00
Felix Fietkau
64f67b9c2a adm5120: remove patches/configs for unused kernel versions
SVN-Revision: 26706
2011-04-17 18:39:32 +00:00
Felix Fietkau
ede6b0d360 rootfs_split: Allow using MTDPART_OFS_APPEND macro for offset of rootfs.
Use offset from struct mtd_part instead of struct mtd_partition for defining
the new partitions. This enables the usage of MTDPART_OFS_APPEND macro in
struct mtd_partition.

Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 26705
2011-04-17 18:32:28 +00:00
Felix Fietkau
5a0df036b0 Remove 2.6.35. It's not used anymore.
Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 26704
2011-04-17 18:32:21 +00:00
Daniel Dickinson
8b18ce6807 Fixed directory error: added ra1320 patches to trunk/target... subdir instead if target.... in trunk branch.
SVN-Revision: 26699
2011-04-17 01:15:47 +00:00
Felix Fietkau
dcffeb99e2 ixp4xx: backport an upstream commit to fix gspca compile errors triggered by the buildbot
SVN-Revision: 26698
2011-04-16 21:30:48 +00:00
Felix Fietkau
f385231730 fix a typo in the kernel patch description
SVN-Revision: 26693
2011-04-16 18:40:23 +00:00
Felix Fietkau
a1624421ae kernel: reorganize 2.6.37 patches
SVN-Revision: 26692
2011-04-16 18:31:21 +00:00
Felix Fietkau
3fa43f54a2 kernel: reorganize 2.6.39 patches
SVN-Revision: 26691
2011-04-16 18:31:05 +00:00
Felix Fietkau
71d8c66250 kernel: reorganize 2.6.38 patches, clean up block2mtd patches
SVN-Revision: 26690
2011-04-16 18:30:57 +00:00
Felix Fietkau
4a6e01fa38 kernel: add a PATCHES text file describing the new patch categories
SVN-Revision: 26689
2011-04-16 18:30:51 +00:00
Felix Fietkau
2066c21c92 kernel: backport the fix "net_sched: fix ip_tos2prio" for 2.6.37 Fixes a bug that led to ECN enabled flows being de-prioritized by pfifo_fast
SVN-Revision: 26687
2011-04-16 01:46:57 +00:00
Daniel Dickinson
0d722113b9 Generate images for RTA1320_16M-based routers
SVN-Revision: 26681
2011-04-15 14:31:36 +00:00
Daniel Dickinson
f83c5938d2 bcm63xx: Move the OpenWrt rootfs length field
Dual image capable CFEs store an image sequence at the same place as
currently OpenWrt stores the actual rootfs length, so it will get
overwritten when flashing through such a CFE.

To prevent this from happening, move the rootfs length field to the next
four bytes, thus completely using the reserved1 field.

Since the reserved1 field is now completely in use, it does not make sense
to allow it to be set from the imagetag utility, so remove the option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26680
2011-04-15 12:18:25 +00:00
Daniel Dickinson
ff1bc5c29d x86: missing kernel symbols
Please include these two missing kernel CONFIG_ symbols.

SVN-Revision: 26679
2011-04-15 04:56:49 +00:00
Daniel Dickinson
4021469e4a geos: Add PC speaker to kernel definitions
Add the PC speaker back to the Geos platform.

Add DMI support in BIOS.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26678
2011-04-15 04:51:05 +00:00
Felix Fietkau
e6350dee82 adm5120: fix promiscuous mode handling (patch from #8581)
SVN-Revision: 26673
2011-04-15 00:20:59 +00:00
Felix Fietkau
cddc775ee8 ar71xx: enable the ip17xx PHY driver (fixes #5193, #8027)
SVN-Revision: 26670
2011-04-14 23:51:12 +00:00
Alexandros C. Couloumbis
05e533ba4d linux/adm5120: generate non-initramfs kernel images too
SVN-Revision: 26657
2011-04-14 09:59:13 +00:00
Alexandros C. Couloumbis
da323cc470 linux/adm5120: preliminary 2.6.38 config options
SVN-Revision: 26648
2011-04-13 16:47:26 +00:00
Alexandros C. Couloumbis
54d4dc56c5 linux/adm5120: add 2.6.38 preliminary support
SVN-Revision: 26647
2011-04-13 16:42:03 +00:00
Felix Fietkau
92bd56fea1 ar71xx: replace the madwifi profile with an ath5k profile
SVN-Revision: 26626
2011-04-12 21:10:45 +00:00
Jo-Philipp Wich
76bfcee5ea gzip jffs2 images Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 26625
2011-04-12 20:48:47 +00:00
Jo-Philipp Wich
d1f053d7ef Enable padding of jffs2 images to user specified filesystem size Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 26624
2011-04-12 20:46:34 +00:00
Felix Fietkau
0959467583 solos: various upstreamed solos patches
These patches were submitted to netdev and will likely be out in 2.6.38.3.
In the meantime, they're needed in 2.6.37.6.
Patch by Philip Prindeville

SVN-Revision: 26616
2011-04-12 19:50:15 +00:00
Felix Fietkau
127e4ebd32 generic: Add support for 2.6.39
Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.

SVN-Revision: 26615
2011-04-12 19:39:20 +00:00
Hamish Guthrie
f4f4ace363 Change partition table layout
SVN-Revision: 26607
2011-04-12 14:16:32 +00:00
Gabor Juhos
fa9f45f345 ar71xx: fix build error w/o CONFIG_PCI
SVN-Revision: 26606
2011-04-12 13:14:56 +00:00
Gabor Juhos
adb6217471 ar71xx: don't hardcode console parameters in kernel config
SVN-Revision: 26605
2011-04-12 13:14:53 +00:00
Gabor Juhos
e193547733 ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
SVN-Revision: 26603
2011-04-12 09:29:21 +00:00
Gabor Juhos
54ede24829 ar71xx: Add support for WZR-HP-G301NH
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.

While we are at it, also rename the profile to reflect that it now is for
more than one device.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26601
2011-04-12 09:29:10 +00:00
Gabor Juhos
f358166236 generic: rtl8366{s,rb}: remove the PHY driver.
Since the PHY driver is only used for the WAN port and there is virtually
no difference between it and the generic PHY driver, we can sefely remove
it.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26600
2011-04-12 09:29:07 +00:00
Gabor Juhos
e28b459b21 generic: add support for the MX25L1606E SPI flash
SVN-Revision: 26596
2011-04-11 17:37:13 +00:00
Gabor Juhos
ef4c1d49a6 ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
SVN-Revision: 26595
2011-04-11 17:37:08 +00:00
Gabor Juhos
4711dea8ff ar71xx: fix AR934X_WMAC_SIZE
SVN-Revision: 26594
2011-04-11 17:37:03 +00:00
Felix Fietkau
22285a76e5 atheros: use ath5k instead of madwifi
SVN-Revision: 26588
2011-04-11 03:26:58 +00:00
Felix Fietkau
4697a30c05 atheros: remove bogus wlan device mask checks
SVN-Revision: 26585
2011-04-11 03:25:59 +00:00
Florian Fainelli
247a688ca5 drop 005-au1000_phy_addr.patch, upstream is fixed
SVN-Revision: 26580
2011-04-10 18:25:56 +00:00
Hauke Mehrtens
aed622fd2c amazon: Upgrade amazon target to kernel 2.6.37
This was just a little bit tested on an SAMSUNG SMT-G3020 and pci and usb do not work like before.

SVN-Revision: 26576
2011-04-10 15:08:28 +00:00
Hauke Mehrtens
74a5c8148a at91: add some missing config options
SVN-Revision: 26571
2011-04-09 23:36:26 +00:00
Hauke Mehrtens
2ce13f05cb kernel: add symbols, small fixes
* Some module should be loaded later to load them after the modules they are depending on
* add some more missing config symbols
* make CS5535 build again

SVN-Revision: 26570
2011-04-09 23:34:20 +00:00
Gabor Juhos
8586e61b00 ar71xx: fix section mismatch
SVN-Revision: 26562
2011-04-09 18:47:55 +00:00
Gabor Juhos
a8bf5e3cdb ar71xx: rename ar934x_ref_freq to ar71xx_ref_freq
Also initialize that for each SoC and print its value along with the
other frequencies.

SVN-Revision: 26561
2011-04-09 18:47:52 +00:00
Gabor Juhos
5573d6eb28 ar71xx: show the SoC type earlier
SVN-Revision: 26560
2011-04-09 18:47:50 +00:00
Gabor Juhos
ab4c3b3a1c ar71xx: cleanup SoC detection code
SVN-Revision: 26559
2011-04-09 18:47:49 +00:00
Gabor Juhos
694d9059c9 ar71xx: sync kernel configuration
SVN-Revision: 26558
2011-04-09 18:47:45 +00:00
Gabor Juhos
3310c70702 ar71xx: Fix mac address offset for AR934x
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

SVN-Revision: 26557
2011-04-09 18:47:42 +00:00
Felix Fietkau
7486cf730a atheros: merge a few patches into the right place
SVN-Revision: 26556
2011-04-09 18:26:03 +00:00
Felix Fietkau
63c08f0f0b atheros: fix up empty radio data mac address (based on patch from #8601)
SVN-Revision: 26555
2011-04-09 18:25:59 +00:00
Felix Fietkau
4eb507901a atheros: fix ath5k support on ar2315/2317
- Use physical addresses definition for AR2315 the same way as AR5312. Fixes ioremap
- Fix dma mapping for AHB bus (only use the PCI DMA offset for PCI devices)

Based on patches by Wojciech Dubowik

SVN-Revision: 26554
2011-04-09 18:25:55 +00:00
Felix Fietkau
cf3adeaa22 atheros: enable CONFIG_IP17XX_PHY to add back switch support for the DIR-300
SVN-Revision: 26553
2011-04-09 18:25:51 +00:00
Hauke Mehrtens
bba5f37bb8 kernel: add missing config options
SVN-Revision: 26552
2011-04-09 17:39:44 +00:00
Hauke Mehrtens
8b837430f3 brcm47xx: upgrade to kernel 2.6.27.6.
This should be save now.

SVN-Revision: 26533
2011-04-08 15:12:08 +00:00
Jo-Philipp Wich
1340b0b98e Bump kernel version to 2.6.37.6
SVN-Revision: 26525
2011-04-07 21:54:29 +00:00