Commit graph

6243 commits

Author SHA1 Message Date
Gabor Juhos
7782fcf874 generic: fix erase operation on the pm25lv flash chip
SVN-Revision: 22861
2010-08-31 20:06:38 +00:00
Gabor Juhos
6c1d3b0a79 generic: introduce broadcast_uevent function
SVN-Revision: 22858
2010-08-31 20:06:25 +00:00
Felix Fietkau
08755b8858 rtl8366_smi: when setting VLAN ports, always initialize the PVID to ensure that the VLAN MC entry gets allocated. Fixes problems with tagged-only ports (#7795)
SVN-Revision: 22856
2010-08-31 19:04:02 +00:00
Florian Fainelli
8108b387d0 backport upstream multicast fix (#7848)
SVN-Revision: 22852
2010-08-31 14:10:25 +00:00
Florian Fainelli
685d598add refresh 2.6.32 patches
SVN-Revision: 22851
2010-08-31 14:10:07 +00:00
Florian Fainelli
c0411f877f rework multi_probe patch to be cleaner
SVN-Revision: 22850
2010-08-31 14:09:25 +00:00
Florian Fainelli
82e244fb28 refresh patches
SVN-Revision: 22849
2010-08-31 14:08:58 +00:00
Florian Fainelli
66f9c974c0 refresh 2.6.32 patches
SVN-Revision: 22848
2010-08-31 14:08:30 +00:00
Jo-Philipp Wich
867ac59ff9 enable SYSRQ for all targets, remove overrides from brcm63xx, octeon and omap35xx
SVN-Revision: 22846
2010-08-30 22:59:20 +00:00
Lars-Peter Clausen
34736c48b9 Build usb storage support into the kernel.
This allows for example to put the rootfs on a usb-stick.

SVN-Revision: 22845
2010-08-30 19:09:37 +00:00
Alexandros C. Couloumbis
a3b66e1ea1 linux/generic: update 2.6.36 kernel patches
SVN-Revision: 22844
2010-08-30 08:58:50 +00:00
Lars-Peter Clausen
dc116b1887 Add different profiles for Sheevaplug and Dockstar
Thanks to Gerrit Visser

SVN-Revision: 22838
2010-08-29 21:16:00 +00:00
Lars-Peter Clausen
429c8a56b6 Use kirkwood_nand_init instead of manually registering the nand driver
This fixes that the device would hang during boot.

SVN-Revision: 22837
2010-08-29 21:10:59 +00:00
Lars-Peter Clausen
014765e77c Align jffs2 to pagesize and fix mkfs2.jffs2 opts
SVN-Revision: 22836
2010-08-29 21:08:55 +00:00
Alexandros C. Couloumbis
67fd8d1fdc linux/generic: update 2.6.36 kernel patches
SVN-Revision: 22834
2010-08-29 18:33:06 +00:00
Lars-Peter Clausen
cf445bb48f Update 2.6.35.x to 2.6.35.4
SVN-Revision: 22833
2010-08-29 18:19:20 +00:00
Alexandros C. Couloumbis
206e5f313e linux/generic: add kernel 2.6.36 preliminary support
SVN-Revision: 22832
2010-08-29 14:35:23 +00:00
Lars-Peter Clausen
28d7de48b8 Cleanup image generation
SVN-Revision: 22829
2010-08-28 22:01:21 +00:00
Andy Boyett
5cc80a7c9a update wbd222 patch after r22662
SVN-Revision: 22821
2010-08-27 05:24:44 +00:00
Michael Büsch
e483dd2836 Improve n810 profile
SVN-Revision: 22817
2010-08-26 19:54:08 +00:00
Hamish Guthrie
b6869eb1cd Update kernel to 2.6.34.5, add USB storage to profile
SVN-Revision: 22813
2010-08-26 11:24:23 +00:00
Florian Fainelli
00e15a3abf add 2.6.35 support
SVN-Revision: 22812
2010-08-26 09:13:44 +00:00
Gabor Juhos
48af005b73 generic: fix pm25lv SPI flash support
SVN-Revision: 22804
2010-08-25 19:57:19 +00:00
Gabor Juhos
a80b9af0cd ar71xx: refresh patches
SVN-Revision: 22803
2010-08-25 19:57:11 +00:00
Florian Fainelli
cfb88ec980 add support for 2.6.35
SVN-Revision: 22802
2010-08-25 19:56:18 +00:00
Florian Fainelli
0505b8ba58 rename config-2.6.32 to config-default
SVN-Revision: 22801
2010-08-25 19:56:13 +00:00
Florian Fainelli
2e343d9760 add 2.6.35 support
SVN-Revision: 22800
2010-08-25 19:56:08 +00:00
Florian Fainelli
87100c3feb refresh 2.6.35 patches
SVN-Revision: 22799
2010-08-25 19:56:03 +00:00
Michael Büsch
7a8066735d Add usb gadget feature flag
SVN-Revision: 22798
2010-08-25 17:35:34 +00:00
Florian Fainelli
a61696b8f0 update to 2.6.35.3
SVN-Revision: 22791
2010-08-25 10:53:30 +00:00
Florian Fainelli
9678699591 update qemu README wrt latest qemu
SVN-Revision: 22790
2010-08-25 10:53:25 +00:00
Lars-Peter Clausen
061ca5765f Add missing symbols to 2.6.35 config
SVN-Revision: 22787
2010-08-25 01:04:18 +00:00
Lars-Peter Clausen
6e3060af50 Update kernel to 2.6.35
SVN-Revision: 22786
2010-08-24 19:46:24 +00:00
Michael Büsch
3b6d2366bd Add usb gadget packages
SVN-Revision: 22785
2010-08-24 15:15:23 +00:00
Michael Büsch
0eb37951ed n810: Fix USB board init
SVN-Revision: 22781
2010-08-23 16:14:04 +00:00
Michael Büsch
e54b810ace tahvo-usb: Use platform device interface properly (don't crash)
SVN-Revision: 22780
2010-08-23 14:24:39 +00:00
Lars-Peter Clausen
1dfa6cffb1 refresh config
SVN-Revision: 22777
2010-08-22 23:22:08 +00:00
Lars-Peter Clausen
b584c5f0f0 Fix n5x6 sound drivers
SVN-Revision: 22776
2010-08-22 23:21:11 +00:00
Hauke Mehrtens
f313fa0bd7 kernel: fix some mistakes in ssb patch refresh in r22766, r22767 and r22768.
SVN-Revision: 22774
2010-08-22 19:22:01 +00:00
Florian Fainelli
8b778d5ba3 refresh 2.6.35 patches
SVN-Revision: 22773
2010-08-22 17:09:23 +00:00
Florian Fainelli
31ce3e2546 refresh 2.6.35 patches
SVN-Revision: 22772
2010-08-22 17:09:18 +00:00
Florian Fainelli
3515a89f70 make adm6996 switches work on tnetd7200 and tnetd7300
SVN-Revision: 22771
2010-08-22 17:09:11 +00:00
Florian Fainelli
bb28b9941e cleanup the cpmac phy mask, patch from Ben Witten
SVN-Revision: 22770
2010-08-22 17:09:00 +00:00
Florian Fainelli
1e5f5ff823 refresh patches
SVN-Revision: 22769
2010-08-22 17:08:47 +00:00
Florian Fainelli
69120f3f47 update to 2.6.34.5
SVN-Revision: 22768
2010-08-22 17:08:37 +00:00
Florian Fainelli
dc6cc63c00 update to 2.6.33.7
SVN-Revision: 22767
2010-08-22 17:08:07 +00:00
Florian Fainelli
b1becffa5b update to 2.6.32.20
SVN-Revision: 22766
2010-08-22 17:07:37 +00:00
Lars-Peter Clausen
0e974c50ed Add Seagate Dockstar support
SVN-Revision: 22765
2010-08-22 17:03:25 +00:00
Michael Büsch
8c43d37dbb n810: Add basic battery management driver
SVN-Revision: 22760
2010-08-22 14:45:08 +00:00
Hauke Mehrtens
09e05d833d kernel: update kernel version to 2.6.34.5
SVN-Revision: 22759
2010-08-22 13:26:06 +00:00
Michael Büsch
7ebcd04786 Update to 2.6.35.3
SVN-Revision: 22753
2010-08-21 19:25:07 +00:00
Lars-Peter Clausen
bcdf9742be Danube: Fix irq ack
SVN-Revision: 22748
2010-08-21 15:58:44 +00:00
Michael Büsch
649d213428 n810: Add retu/tahvo userspace interface debugging
SVN-Revision: 22747
2010-08-21 15:43:39 +00:00
Claudio Mignanti
cdff144a64 Include the usb-ohci module as default
SVN-Revision: 22733
2010-08-19 19:06:47 +00:00
Florian Fainelli
e8487a49e4 add swconfig to the default set of packages
SVN-Revision: 22728
2010-08-19 14:56:21 +00:00
Florian Fainelli
9c4245c7e1 remove fixed phy support, enable most ar7 switch drivers.
SVN-Revision: 22727
2010-08-19 14:56:16 +00:00
Felix Fietkau
caf173f869 kernel: backport ppoll to 2.6.31 to fix udev build
SVN-Revision: 22719
2010-08-19 12:49:33 +00:00
Felix Fietkau
fe65572981 kernel: backport ssb dma_dev changes to fix b43 build
SVN-Revision: 22718
2010-08-19 12:49:29 +00:00
Michael Büsch
7c97bbabe7 Add Tahvo USB support
SVN-Revision: 22712
2010-08-19 11:22:15 +00:00
Gabor Juhos
0826570bc4 generic: rtl8366: allow use of VIDs 16-4095 if vlan4k is enabled
SVN-Revision: 22704
2010-08-18 16:00:39 +00:00
Gabor Juhos
08c5588cd2 generic: rtl8366: add generic code to enable VLANs
SVN-Revision: 22703
2010-08-18 16:00:37 +00:00
Gabor Juhos
77d6cd0feb generic: rtl8366: add enable_vlan{,4k} to smi_ops
SVN-Revision: 22702
2010-08-18 16:00:34 +00:00
Gabor Juhos
6855ac2393 ar71xx: don't override CONFIG_SWAP
SVN-Revision: 22701
2010-08-18 16:00:31 +00:00
Gabor Juhos
7bc5a672c1 ar71xx: change mac address initialization
SVN-Revision: 22700
2010-08-18 16:00:28 +00:00
Florian Fainelli
af0ecdebfd allow 1MB extra space for JFFS and other enhancements (#7706)
SVN-Revision: 22690
2010-08-17 15:31:27 +00:00
Florian Fainelli
0d29f1119b add missing config options from #7733, thanks maddes
SVN-Revision: 22685
2010-08-16 21:01:32 +00:00
Florian Fainelli
a1043e0c65 refresh 310-cfi0002-swap.patch
SVN-Revision: 22683
2010-08-16 20:55:18 +00:00
Felix Fietkau
523fcf0497 ar71xx: add a new driver for the ar7240 switch using swconfig. hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563
SVN-Revision: 22675
2010-08-16 19:21:57 +00:00
Florian Fainelli
9f1ed6e4d3 add missing symbol: CONFIG_UCB1400_CORE to 2.6.35 config
SVN-Revision: 22674
2010-08-16 18:40:43 +00:00
Hauke Mehrtens
26f323dcf5 brcm47xx: do not read out cfe
Reading the CFE properties causes system hangs on some devices. With
this patch nvram read will be successful very time so cfe will no be
read out. This code is not really correct but it will work around some
problems for some people.

Related ticket: #7693

SVN-Revision: 22663
2010-08-15 18:23:17 +00:00
Gabor Juhos
6e9e0e2e9b generic: update ARM mach-types
SVN-Revision: 22662
2010-08-15 17:35:53 +00:00
Alexandros C. Couloumbis
0780aa2278 brcm47xx/patches-2.6.35: Allow SSB EHCI/OHCI drivers to co-exist (thank you Steve Brown)
SVN-Revision: 22661
2010-08-15 16:30:00 +00:00
Gabor Juhos
462dabc7f5 ramips: add support for Sparklan WCR-150GN board
This patch adds support for Sparklan WCR-150GN board.
Network configuration should be tweaked to make it work fully. The
reason it's not in this patch is that ramips target should be modified
to support different /etc/config/network files for different boards.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 22658
2010-08-15 09:43:07 +00:00
Gabor Juhos
e01649c7cc generic: fix LED control on the RTL8366 switches
* patch from #7713

SVN-Revision: 22656
2010-08-15 06:47:42 +00:00
Gabor Juhos
670b736005 ixp4xx: fix compiler warnings in wrt300nv2-setup.c
SVN-Revision: 22655
2010-08-15 05:39:31 +00:00
Gabor Juhos
ff374f247e ixp4xx: fix compiler warnings in tw5334-setup.c
SVN-Revision: 22654
2010-08-15 05:39:29 +00:00
Gabor Juhos
47a940def6 ixp4xx: use the right parameter for ixp4xx_phy_disconnect
SVN-Revision: 22651
2010-08-14 21:07:48 +00:00
Gabor Juhos
fb029983ee ixp4xx: fix GPIOLIB support
SVN-Revision: 22650
2010-08-14 21:07:46 +00:00
Gabor Juhos
a1bee93fa0 ixp4xx: refresh patches
SVN-Revision: 22649
2010-08-14 21:07:42 +00:00
Gabor Juhos
78478d7973 ixp4xx: add TW-266-2 support to 2.6.32 as well
SVN-Revision: 22648
2010-08-14 21:07:40 +00:00
Gabor Juhos
6055df046d ixp4xx: backport IXP4XX_GPIO_IRQ macro to 2.6.32
SVN-Revision: 22647
2010-08-14 21:07:38 +00:00
Gabor Juhos
2b2affffb1 ixp4xx: sync 2.6.32 kernel config
SVN-Revision: 22646
2010-08-14 21:07:36 +00:00
Gabor Juhos
1a7021b3ea ixp4xx: include linux/slab.h in the latch LED driver
SVN-Revision: 22645
2010-08-14 21:07:34 +00:00
Gabor Juhos
e35f7ef51d ar71xx: add eap7660d board to diag.sh and sysupgrade
This patch adds support for the Senao EAP7660D board to diag.sh and sysupgrade.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 22644
2010-08-14 21:07:31 +00:00
Gabor Juhos
57bba92916 generic: fix wrong number of erase sectors for xxxS33B SPI flashes
SVN-Revision: 22643
2010-08-14 21:07:28 +00:00
Alexandros C. Couloumbis
9aef272f4a linux/ar71xx: add nanostation-m signature (thanks Antonio Anselmi)
SVN-Revision: 22631
2010-08-14 07:48:05 +00:00
Jo-Philipp Wich
6616951c15 add uci-defaults script to migrate vlan 0 to vlan 1 after sysupgrade on devices using the RTL8366s switch
SVN-Revision: 22625
2010-08-13 19:29:51 +00:00
Michael Büsch
1172df6491 n810: Make sysfs backlight controls work
SVN-Revision: 22623
2010-08-13 16:14:02 +00:00
Jo-Philipp Wich
8db0749823 fixup 2.6.34 kernel headers to properly export XT_ALIGN() to userspace Ref: http://lkml.org/lkml/2010/4/13/118
SVN-Revision: 22621
2010-08-13 16:04:40 +00:00
Jo-Philipp Wich
a8e2cc2534 ssb: give the PCI core more time to initialize, fixes PCI issues with Atheros cards on the Asus WL-500w and possibly others (#4710)
SVN-Revision: 22614
2010-08-13 00:18:16 +00:00
Florian Fainelli
a5371dfe39 rename 014-samsung_flash patch to a better name, thanks maddes
SVN-Revision: 22587
2010-08-10 20:23:40 +00:00
Florian Fainelli
b2cb720494 fix Freecom DT2 jffs2 rootfs generation issue (#7584)
SVN-Revision: 22585
2010-08-10 20:13:49 +00:00
Florian Fainelli
bea34111cc fix jffs2 128k image generation, patch from madddes (#7584)
SVN-Revision: 22580
2010-08-10 16:13:01 +00:00
Lars-Peter Clausen
9dbb998ee3 Fix gpio_spi_old module for 2.6.35
SVN-Revision: 22576
2010-08-10 11:17:04 +00:00
Hamish Guthrie
1835d39a9f Switch of echo on ttyS1 (required for bluetooth to function correctly)
SVN-Revision: 22575
2010-08-10 10:39:39 +00:00
Hamish Guthrie
42986e14fc Add stty to default config (required for gumstix bluetooth setup)
SVN-Revision: 22574
2010-08-10 09:39:56 +00:00
Hamish Guthrie
a1968ed7f4 enable gpio uesrspace interface via sysfs
SVN-Revision: 22571
2010-08-10 07:20:01 +00:00
Hamish Guthrie
93dad12eaf Remove sqlite from default config
SVN-Revision: 22570
2010-08-10 07:14:16 +00:00
Hamish Guthrie
d5de72f042 Remove shells from unavalable serial ports
SVN-Revision: 22569
2010-08-10 07:10:12 +00:00
Florian Fainelli
153f4c8b9b add support for 2.6.35
SVN-Revision: 22568
2010-08-09 20:07:02 +00:00
Michael Büsch
8b934b8d89 omap24xx: Update kernel config. This also fixes module loading.
SVN-Revision: 22564
2010-08-09 18:43:43 +00:00
Michael Büsch
27a297eece omap24xx: Fix MMC multiplexer
SVN-Revision: 22563
2010-08-09 18:43:20 +00:00
Jo-Philipp Wich
7d08b0bf47 fix localversion detection for linux 2.6.35
SVN-Revision: 22560
2010-08-09 15:50:18 +00:00
Imre Kaloz
16478f7dd6 workaround serial hang with SMP enabled
SVN-Revision: 22557
2010-08-09 11:27:14 +00:00
Andy Boyett
0f5d0f69ab image: use internal qemu-img for vmdk and vdi images drop host dependencies on qemu-utils and VirtualBox
SVN-Revision: 22553
2010-08-09 04:22:39 +00:00
Felix Fietkau
f8c4bf89b9 rtl8366: re-enable learning by default, disabling it broke switching functionality. add a configuration option for dynamically enabling/disabling this feature. based on patch from #7637
SVN-Revision: 22545
2010-08-08 20:15:10 +00:00
Florian Fainelli
088b641056 rename kmod-switch-ip175c package to kmod-switch-ip17xx
SVN-Revision: 22544
2010-08-08 20:01:16 +00:00
Florian Fainelli
dd3652e168 add missing 2.6.34 symbols
SVN-Revision: 22543
2010-08-08 20:01:10 +00:00
Florian Fainelli
c1dc4a8a66 refresh 2.6.34 patches
SVN-Revision: 22542
2010-08-08 20:01:05 +00:00
Florian Fainelli
083ff78000 crashlog depends on BOOTMEM
SVN-Revision: 22541
2010-08-08 20:00:52 +00:00
Florian Fainelli
35e7fc9c4b refresh 2.6.35 patches
SVN-Revision: 22540
2010-08-08 20:00:46 +00:00
Florian Fainelli
b86edec09b add missing 2.6.35 config symbols
SVN-Revision: 22539
2010-08-08 20:00:40 +00:00
Florian Fainelli
565a1e4ea3 add missing 2.6.35 config symbols
SVN-Revision: 22537
2010-08-08 20:00:28 +00:00
Michael Büsch
f3c312ac0d omap24xx: Add working inittab and watchdog init script
SVN-Revision: 22534
2010-08-08 18:36:38 +00:00
Michael Büsch
d9c0e977a4 omap24xx: Support booting userland from MMC card
SVN-Revision: 22531
2010-08-08 16:38:39 +00:00
Michael Büsch
975ba9a88d Add omap24xx.
Boots the kernel with working video and serial console. Userland is untested.

SVN-Revision: 22530
2010-08-08 14:16:48 +00:00
Lars-Peter Clausen
31f570fe4b qi_lb60: Fix keyboard gpio pins
SVN-Revision: 22524
2010-08-07 20:54:33 +00:00
Hauke Mehrtens
09244c0811 brcm47xx: do not generate image for wgr614_v8 as long as we did not get any positive reports with that device.
SVN-Revision: 22522
2010-08-06 22:50:58 +00:00
Lars-Peter Clausen
a97d6b0c95 Add kernel_nconfig make target
SVN-Revision: 22518
2010-08-06 21:36:35 +00:00
Hauke Mehrtens
7640f89045 brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2
Thank you realopty for the patch.
tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/

This closes #7702.

SVN-Revision: 22516
2010-08-06 20:21:32 +00:00
John Crispin
419128775a * remove references to gpio_dev * make vmmc driver register its own memory and dont rely on arch code to do so * makes any Danube board with a CFI commandset 2 NOR flash chip functional again * fixes filenames of downloaded firmwares
thanks, Ithamar R. Adema

SVN-Revision: 22515
2010-08-06 15:49:42 +00:00
Mirko Vogt
acd054f18d Add missing symbol to 2.6.35 config
SVN-Revision: 22513
2010-08-06 14:25:35 +00:00
Mirko Vogt
95265c5983 Add missing symbols to 2.6.35 config
SVN-Revision: 22512
2010-08-06 14:25:30 +00:00
Hamish Guthrie
8122c61c9d gumstix: Update wifi default settings
SVN-Revision: 22509
2010-08-06 11:12:36 +00:00
Jo-Philipp Wich
52fb76ebff explicitely enable bootmem on 2.6.35 - required by crashlog (#7695)
SVN-Revision: 22506
2010-08-06 02:02:21 +00:00
Jo-Philipp Wich
9de10fe381 add missing symbols for 2.6.34, explicitely enable bootmem - required by crashlog (#7695)
SVN-Revision: 22505
2010-08-06 02:01:36 +00:00
Jo-Philipp Wich
662620419a fix order fail in previous commit
SVN-Revision: 22504
2010-08-06 01:36:14 +00:00
Jo-Philipp Wich
947519fae0 add missing symbols for 2.6.35
SVN-Revision: 22503
2010-08-06 01:33:23 +00:00
Lars-Peter Clausen
1980190a5a Drop 2.6.32 patches
SVN-Revision: 22485
2010-08-04 13:33:55 +00:00
Lars-Peter Clausen
f312e1580b Set -march=mips32
SVN-Revision: 22484
2010-08-04 13:32:32 +00:00
Lars-Peter Clausen
75a7e3e55a Adjust codec driver module name for 2.6.35
SVN-Revision: 22483
2010-08-04 13:31:45 +00:00
Lars-Peter Clausen
5b8cbd5d5a Fix mmc card detection
SVN-Revision: 22481
2010-08-04 13:26:22 +00:00
Hamish Guthrie
20417d6663 gumstix: Change defconfig
SVN-Revision: 22478
2010-08-04 11:25:34 +00:00
Hamish Guthrie
1da361418e omap35xx: Add temporary fix for marvell wlan MAC address detection
SVN-Revision: 22477
2010-08-04 10:10:48 +00:00
Felix Fietkau
bd6324190f swconfig: cleanup of kernel drivers and interface - add some comments to a few data structures - add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy - get rid of the switch_dev.priv pointer - using container_of() is better
SVN-Revision: 22476
2010-08-04 00:43:40 +00:00
Hauke Mehrtens
86b209211e brcm47xx: ignore some parts of flash on some netgear devices. This space is used to store config values. When overwriting it the device will not start any more.
closes #7630

Thank you realopty for testing.

SVN-Revision: 22475
2010-08-03 20:35:53 +00:00
Jo-Philipp Wich
bf1db57017 ip17xx: r21709 broke VLAN functionality on the IP175C switch, add back mdelay() to wait before reading back the phy state, fixes ethernet on the DIR-300 and possibly others
SVN-Revision: 22468
2010-08-03 03:04:34 +00:00
Daniel Dickinson
a5fdf57a1b base-files: diag.sh: For power button as preinit status led, end with led left on, not off
SVN-Revision: 22466
2010-08-02 19:33:08 +00:00
Daniel Dickinson
d391ca2c8c base-files: brcm63xx.sh: Added comtrend (96348GW-11) to routers with buttons and leds on preinit
SVN-Revision: 22465
2010-08-02 19:32:59 +00:00
Daniel Dickinson
99d0f9ea05 patches-2.6.32/33: Reset button on Comtrend routers is GPIO 33 not GPIO 32
SVN-Revision: 22464
2010-08-02 19:32:40 +00:00
Lars-Peter Clausen
e1bfcceb93 Add 2.6.35 patches
SVN-Revision: 22463
2010-08-02 18:24:06 +00:00
Alexandros C. Couloumbis
6978c1cb83 package/compcache: use mainline modules for kernels >=2.6.33 (thank you nbd)
SVN-Revision: 22458
2010-08-01 16:57:24 +00:00
Florian Fainelli
2df3583611 add 2.6.34 support
SVN-Revision: 22452
2010-08-01 12:41:16 +00:00
Florian Fainelli
3144d90706 refresh 2.6.34 patches
SVN-Revision: 22451
2010-08-01 12:41:09 +00:00
Florian Fainelli
781c091ea5 fix jffs2 64k and 128k images overwrite each other
When trying to build images with jffs2 filesystem for ramips platform
there is only one jffs2 image produced instead of two (64k and 128k).

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 22435
2010-07-31 11:42:17 +00:00
Hauke Mehrtens
3aca383c72 brcm47xx: some checkpatch fixes
SVN-Revision: 22425
2010-07-31 10:06:05 +00:00
Hauke Mehrtens
96911f6b58 brcm47xx: some fixes
* fix return codes of nvram_getenv. Now it behaves like cfe_getenv.
* also check cfe for kernel_args param.
* some style fixes

SVN-Revision: 22424
2010-07-31 10:05:29 +00:00
Alexandros C. Couloumbis
927d42ed62 generic/patches-2.6.32: finalize jffs2/lzma support on 2.6.32.x
SVN-Revision: 22423
2010-07-31 06:49:38 +00:00
Jo-Philipp Wich
eea5f1c565 fix a typo in config-2.6.34 and config-2.6.35, thanks frogonwheels
SVN-Revision: 22421
2010-07-30 23:23:42 +00:00
Hauke Mehrtens
da7493d8f9 mostly revert commit r22396
CFE does not boot images generated with these checksums because of
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)

SVN-Revision: 22418
2010-07-30 21:19:49 +00:00
Alexandros C. Couloumbis
42738aa9ad add missing bits & bytes from r22412
SVN-Revision: 22416
2010-07-30 09:59:13 +00:00
Alexandros C. Couloumbis
b8d60bb9d4 target/linux: refresh kernel patches
SVN-Revision: 22413
2010-07-29 17:20:25 +00:00
Alexandros C. Couloumbis
daf10573ba enable mtu & mac config options
SVN-Revision: 22412
2010-07-29 17:16:44 +00:00
Alexandros C. Couloumbis
cb8ce973f7 atheros/patches-2.6.35: sync patches against 2.6.35-rc6
SVN-Revision: 22411
2010-07-29 14:13:51 +00:00
Alexandros C. Couloumbis
1e05fd6eef generic/patches-2.6.34: Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS, using ramfs instead. (gone mainline in kernel 2.6.35-r3)
SVN-Revision: 22407
2010-07-28 08:34:03 +00:00
Jo-Philipp Wich
e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems
SVN-Revision: 22406
2010-07-28 02:18:16 +00:00
Felix Fietkau
65899cfa49 ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
SVN-Revision: 22401
2010-07-27 21:04:43 +00:00
Markus Wigge
7a052dc799 fix CRC32 calculation for sysupgrade
* reduce image size for CRC calculation by fs_mark size

sysupgrade sometimes failed for me and I noticed that it was due
to incorrect CRC values in trx-header after performing it.
It seems that the fs_mark was completely included in the calculation
and that it was nevertheless modified by sysupgrade while appending
the jffs data.
This only occurs for the first boot after sysupgrade as the flashmap
driver recalculates the CRC to an even smaller area when it boots.

SVN-Revision: 22396
2010-07-27 15:37:37 +00:00
Jo-Philipp Wich
00cc52f14b reorder profiles
SVN-Revision: 22390
2010-07-26 18:58:35 +00:00
Hauke Mehrtens
763e011e70 brcm47xx: now hopfully realy commit the right things from r22385
SVN-Revision: 22388
2010-07-25 16:10:51 +00:00
Hauke Mehrtens
d67c25f592 brcm47xx: add missing part from r22385
SVN-Revision: 22387
2010-07-25 16:07:40 +00:00
Jo-Philipp Wich
7831006360 fix a typo in 040-bcm963xx_flashmap.patch
SVN-Revision: 22386
2010-07-25 00:10:37 +00:00
Hauke Mehrtens
163b24d092 brcm47xx: fill the whole sprom with data
SVN-Revision: 22385
2010-07-24 23:25:06 +00:00
Alexandros C. Couloumbis
766d2494b2 generic/config-2.6.32: switch from gzip to lzma jffs2 compression
SVN-Revision: 22374
2010-07-24 08:14:22 +00:00
Alexandros C. Couloumbis
54ad2c05af ixp4xx: add kernel 2.6.34 preliminary support
SVN-Revision: 22373
2010-07-24 00:18:58 +00:00
Jo-Philipp Wich
8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
2010-07-23 19:49:19 +00:00
Felix Fietkau
4ee3ae96c2 ar71xx: fix sysupgrade on the ubnt nanostation m
SVN-Revision: 22370
2010-07-23 18:16:47 +00:00
Jo-Philipp Wich
878267db01 renaming of the IP175C switch driver brioke switch detection on the Dir-300 and others, fix it
SVN-Revision: 22363
2010-07-23 10:39:10 +00:00
Felix Fietkau
900aaa919b ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
SVN-Revision: 22353
2010-07-22 12:37:44 +00:00
Claudio Mignanti
d4d6fefdf2 general cleanup
SVN-Revision: 22352
2010-07-22 11:32:42 +00:00
Claudio Mignanti
4a82997327 Add support for u-boot
SVN-Revision: 22351
2010-07-22 11:32:38 +00:00
Felix Fietkau
91edb99017 disable crash logging for uml, it cannot possibly work there anyway
SVN-Revision: 22326
2010-07-21 15:02:53 +00:00
Felix Fietkau
dff51d3f2c kernel: add some missing debugging related config symbols
SVN-Revision: 22324
2010-07-21 14:34:17 +00:00
Imre Kaloz
a1cdb24a3b add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
SVN-Revision: 22323
2010-07-21 11:20:53 +00:00
Hauke Mehrtens
ebeaea35fd brcm47xx: fix for boardflags by xMff and checkpatch.pl fixes
SVN-Revision: 22318
2010-07-20 19:41:17 +00:00
Felix Fietkau
9f6c22b497 kernel: add the new 'crashlog' feature, which tries to store kernel oops/panic logs in a fixed location in RAM to recover them after the reboot and make them available to user space using debugfs
SVN-Revision: 22305
2010-07-20 01:54:21 +00:00
Felix Fietkau
bced5d7d74 ar71xx: set default values for the fifo cfg registers on AR724x
SVN-Revision: 22303
2010-07-20 01:54:11 +00:00
Hauke Mehrtens
c811398d00 brcm47xx: write boardflags correct into sprom
SVN-Revision: 22298
2010-07-19 21:45:29 +00:00
Claudio Mignanti
3f25930247 pwm: export the generic pwm api as module
SVN-Revision: 22297
2010-07-19 21:14:24 +00:00
Hauke Mehrtens
49edb3c342 brcm47xx: prepare brcm47xx patches for sending to mainline.
SVN-Revision: 22296
2010-07-19 20:25:20 +00:00
Hauke Mehrtens
0799e77a8b brcm47xx: remove kernel 2.6.33
SVN-Revision: 22295
2010-07-19 20:07:24 +00:00
Imre Kaloz
d82495ee60 rename the mx2 target to imx21
SVN-Revision: 22294
2010-07-19 12:32:18 +00:00
Hamish Guthrie
5cecf83e38 Remove profile no longer required
SVN-Revision: 22293
2010-07-19 12:29:41 +00:00
Hamish Guthrie
11d3d82d82 replace dropbear with openssh
SVN-Revision: 22292
2010-07-19 12:13:47 +00:00
Imre Kaloz
ca8f45b142 update kernel versions
SVN-Revision: 22289
2010-07-19 11:34:03 +00:00
Imre Kaloz
6e5921c1f3 fixup some boardnames
SVN-Revision: 22288
2010-07-19 11:30:27 +00:00
Imre Kaloz
eb86bf8fe8 remove unneeded patches
SVN-Revision: 22287
2010-07-19 11:28:20 +00:00
Alexandros C. Couloumbis
34d506c321 ixp4xx: backport r21893 wrt300nv2 mac fix to 2.6.32
SVN-Revision: 22284
2010-07-18 19:24:00 +00:00
Florian Fainelli
370e1f64de add support for generic eb214a, thanks cezary (#7027)
SVN-Revision: 22275
2010-07-18 10:29:58 +00:00
Florian Fainelli
8b2e8f6674 remove 2.6.30 support
SVN-Revision: 22274
2010-07-18 10:29:51 +00:00
Florian Fainelli
f6935a4bdb fix alice gate2 internet:green led (#6743)
SVN-Revision: 22273
2010-07-18 10:29:44 +00:00
Hauke Mehrtens
2d87b1c1ee brcm47xx: activate swap again and run make oldconfig
SVN-Revision: 22266
2010-07-17 20:01:46 +00:00
Florian Fainelli
cb373b8d1b use bootloader baudrate settings, thanks bifferos (#7619)
SVN-Revision: 22259
2010-07-17 17:20:35 +00:00
Florian Fainelli
3184a71056 fix bifferboard flash map, thanks bifferos (#7622)
SVN-Revision: 22258
2010-07-17 17:20:29 +00:00
Florian Fainelli
5571c233e9 refresh 2.6.32 patches
SVN-Revision: 22257
2010-07-17 17:20:23 +00:00
Florian Fainelli
3ad5c63eec refresh 2.6.32 patches
SVN-Revision: 22256
2010-07-17 17:20:16 +00:00
Alexandros C. Couloumbis
2e0ff6cb7c ixp4xx: update 2.6.35 config options
SVN-Revision: 22254
2010-07-17 15:45:13 +00:00
Hauke Mehrtens
c5ef57706d kernel: refresh patches
SVN-Revision: 22252
2010-07-17 14:10:39 +00:00
Alexandros C. Couloumbis
628252073e ixp4xx: use default lzma kernel compression
SVN-Revision: 22249
2010-07-17 13:26:21 +00:00
Alexandros C. Couloumbis
472585ce4a ixp4xx: sync 2.6.33 patches against 2.6.33.6
SVN-Revision: 22248
2010-07-17 13:22:32 +00:00
Alexandros C. Couloumbis
9a4ca45096 ixp4xx: fix lzma/jffs2 config options
SVN-Revision: 22247
2010-07-17 13:18:42 +00:00
Hauke Mehrtens
bcec3ad0e9 kernel: fix kernel panic when traffic goes over the network.
SVN-Revision: 22246
2010-07-17 13:01:16 +00:00
Hauke Mehrtens
2e05035bb1 kernel: the interface fsync changed a little
SVN-Revision: 22244
2010-07-17 11:56:03 +00:00
Alexandros C. Couloumbis
30b022c3bd ixp4xx: update 2.6.35 patches to 2.6.35-rc5
SVN-Revision: 22239
2010-07-16 16:26:59 +00:00
Alexandros C. Couloumbis
883e39cf8f generic: update 2.6.35 patches to 2.6.35-rc5
SVN-Revision: 22238
2010-07-16 16:25:37 +00:00
Hamish Guthrie
d163ae3f61 Add a profile including Jamvm for Gumstix
SVN-Revision: 22230
2010-07-16 09:20:06 +00:00
Gabor Juhos
1ca67cba7f ramips: enable ethernet driver for rt288x
SVN-Revision: 22214
2010-07-15 19:45:49 +00:00
Gabor Juhos
2e45ce264d ramips: register ethernet device on the RT-N15
SVN-Revision: 22213
2010-07-15 19:45:46 +00:00
Gabor Juhos
c2ebadc504 ramips: add generic ethernet device for the RT288x
SVN-Revision: 22212
2010-07-15 19:45:43 +00:00
Gabor Juhos
0d8c036e56 ramips: add mdio_cfg configuration for the ethernet driver
SVN-Revision: 22211
2010-07-15 19:45:40 +00:00
Gabor Juhos
9445ce43a6 generic: rtl8366: add debugfs file to show PVIDs
SVN-Revision: 22206
2010-07-15 13:05:56 +00:00
Gabor Juhos
9a92e1a32c generic: rtl8366: make rtl8366_set_vlan static
SVN-Revision: 22205
2010-07-15 13:05:53 +00:00
Gabor Juhos
48934bbd88 generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
SVN-Revision: 22204
2010-07-15 13:05:50 +00:00
Gabor Juhos
d4e0b75dda generic: rtl8366: add common rtl8366_sw_get_vlan_info
SVN-Revision: 22203
2010-07-15 13:05:47 +00:00
Gabor Juhos
a59fa57985 generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k
SVN-Revision: 22202
2010-07-15 13:05:43 +00:00
Gabor Juhos
ce7eca2dff generic: rtl8366: add is_vlan_valid function to smi_ops
SVN-Revision: 22201
2010-07-15 13:05:39 +00:00
Gabor Juhos
dffd45dc61 generic: rtl8366: add common rtl8366_sw_get_port_mib function
SVN-Revision: 22200
2010-07-15 13:05:36 +00:00
Gabor Juhos
0049e74882 generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions
SVN-Revision: 22199
2010-07-15 13:05:32 +00:00
Gabor Juhos
e110321fce generic: rtl8366: make rtl8366_{g,s}et_pvid static
SVN-Revision: 22198
2010-07-15 13:05:29 +00:00
Gabor Juhos
e561b18521 generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
SVN-Revision: 22197
2010-07-15 13:05:25 +00:00
Gabor Juhos
534480d3fb generic: rtl8366: add setup to rtl8366_smi_ops struct
SVN-Revision: 22196
2010-07-15 13:05:21 +00:00
Gabor Juhos
b093cec6cc generic: rtl8366: introduce rtl8366_smi_alloc
SVN-Revision: 22195
2010-07-15 13:05:16 +00:00
Gabor Juhos
c7bc8fb46c generic: rtl8366: get rid of private rtl8366{s,rb} structs
SVN-Revision: 22194
2010-07-15 13:05:10 +00:00
Gabor Juhos
008c81b859 generic: rtl8366: move switch device to the rtl8366_smi struct
SVN-Revision: 22193
2010-07-15 13:05:06 +00:00
Gabor Juhos
5508b23aaf generic: rtl8366: get rid of private vlan_{mc,4k} structs
The usage of bitfields causes problems in Little-Endian mode. Remove
them and manipulate the bits directly in the appropriate functions. This
change also reduces the size of the binary a bit.

SVN-Revision: 22192
2010-07-15 13:05:02 +00:00
Gabor Juhos
540b3e6419 generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributes
SVN-Revision: 22191
2010-07-15 13:04:57 +00:00
Gabor Juhos
4bb11f9a39 generic: move ath5k_platform.h from ar71xx to generic files
SVN-Revision: 22189
2010-07-15 07:36:58 +00:00
Gabor Juhos
95e09cccd8 ar71xx: in-flash macs and eeprom for mach-eap7660d
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 22187
2010-07-15 07:36:52 +00:00
Daniel Dickinson
17ba48cd90 target (base-files): Fixed failsafe mode by adding back insmod diag
SVN-Revision: 22186
2010-07-15 02:46:03 +00:00
Jo-Philipp Wich
abdf25b045 add required exports for wl.ko
SVN-Revision: 22174
2010-07-13 17:03:56 +00:00
Gabor Juhos
d14e9e706e ramips: Fix bridging in ramips ethernet driver
Bridging between the ramips ethernet driver and rt2800pci was somewhat
broken. Frames received by the ethernet driver which were passed to the
wifi driver for transmission were sometimes corrupted or sent out with
huge delays.

The reason for this is the missing assignment of skb->tail in the ramips
ethernet driver's rx path resulting in skb->tail pointing to skb->data.
Since skb->tail is used by mac80211 it writes into skb->data which messes
up the frames content.

Fix this by using skb_put to correctly set skb->len and skb->tail.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 22172
2010-07-13 16:52:07 +00:00
Gabor Juhos
27375c5139 ramips: protect GPIO register access with a spinlock
SVN-Revision: 22171
2010-07-13 16:52:04 +00:00
Gabor Juhos
9ee8b1f8c6 ramips: sync kernel config
SVN-Revision: 22170
2010-07-13 16:52:02 +00:00
Jo-Philipp Wich
9978dd7637 export SSB fallback SPROM - required for wl.ko
SVN-Revision: 22168
2010-07-13 16:20:29 +00:00
Claudio Mignanti
2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Claudio Mignanti
86f3d57a00 pwm: use coherent naming to avoid conflicts
SVN-Revision: 22142
2010-07-12 13:19:57 +00:00
Hauke Mehrtens
91ce82ef77 kernel: Add missing kernel config options
SVN-Revision: 22136
2010-07-11 18:52:30 +00:00
Hauke Mehrtens
d6e8db7e6a kernel: add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
SVN-Revision: 22135
2010-07-11 18:50:55 +00:00
Claudio Mignanti
07ccad1f99 enable usb support by default.
SVN-Revision: 22129
2010-07-11 12:27:09 +00:00
Claudio Mignanti
ba56a699a9 add defautl config for eth0
SVN-Revision: 22128
2010-07-11 12:27:05 +00:00
Claudio Mignanti
581dfd912c fix typo in Makefile tgz -> targz
SVN-Revision: 22125
2010-07-11 09:53:00 +00:00
Hauke Mehrtens
3310fdf6fa brcm47xx: use kernel 2.6.34.1 as default kernel
SVN-Revision: 22119
2010-07-10 22:40:45 +00:00
Hauke Mehrtens
e2ce2feedb kernel: update to kernel 2.6.34.1
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Felix Fietkau
9c8d55541a brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
SVN-Revision: 22116
2010-07-10 12:17:41 +00:00
Felix Fietkau
fbff44c98a Get rid of the b44 'BUG! Timeout waiting for bit 80000000 of register 428 to clear.' spam.
more and more users are getting confused by this, and consider it a regression in brcm47xx,
because brcm-2.4 was not showing this message. It's not particularly interesting for debugging,
most of the time it only happens because of an unconnected port.

SVN-Revision: 22110
2010-07-10 00:48:37 +00:00
Claudio Mignanti
482557bc88 fix a bug inside usb driver, thanks to Jesper Nilsson
SVN-Revision: 22105
2010-07-09 10:58:44 +00:00
Claudio Mignanti
63a7fad924 add some missing symbols
SVN-Revision: 22104
2010-07-09 10:58:40 +00:00
Hamish Guthrie
0a82d07f4b gumstix: add luci
SVN-Revision: 22093
2010-07-08 12:46:36 +00:00
Hamish Guthrie
35539f9709 Add kmod-usb-hid
SVN-Revision: 22086
2010-07-07 12:30:29 +00:00
Hauke Mehrtens
3aa9ba520f kernel: add missing config option found by buildbot
SVN-Revision: 22080
2010-07-06 20:50:47 +00:00
Felix Fietkau
36b295eefd repair the damage that was done to the packet socket type filter patch when it was forward ported to 2.6.33 this should fix the mac80211 problems in 2.6.33 and later versions
SVN-Revision: 22079
2010-07-06 18:53:55 +00:00
Felix Fietkau
a27ea45e76 ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
SVN-Revision: 22075
2010-07-06 12:40:07 +00:00
Felix Fietkau
3e425b2cbc add mini_fo fix to 2.6.30 as well
SVN-Revision: 22058
2010-07-04 15:35:34 +00:00
Felix Fietkau
3512ba10c0 mini_fo: add error pointer checks after dentry lookups to fix various crash bugs (fixes #7277, #7207, #7259)
SVN-Revision: 22057
2010-07-04 15:28:41 +00:00
Felix Fietkau
15b209d09f ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
SVN-Revision: 22055
2010-07-04 02:15:08 +00:00
Felix Fietkau
89da22d1ea ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down fixes boot time crashes under load reported by matteo
SVN-Revision: 22054
2010-07-04 01:31:33 +00:00
Gabor Juhos
86b4b5e1e9 generic: rtl8366: enable VLAN ingress filtering
SVN-Revision: 22044
2010-07-02 09:55:57 +00:00
Florian Fainelli
b917b09b91 refresh 2.6.34 patches
SVN-Revision: 22042
2010-07-01 22:28:22 +00:00
Florian Fainelli
7484ad4108 add 2.6.34 support
SVN-Revision: 22041
2010-07-01 22:28:16 +00:00
Florian Fainelli
a92623b92a fix line wrapped patch
SVN-Revision: 22040
2010-07-01 22:28:05 +00:00
Florian Fainelli
48b8c5e945 fix PCI, thanks br1, put back 2.6.32.14 support by default
SVN-Revision: 22033
2010-07-01 19:07:27 +00:00
Markus Wigge
25602743d1 brcm47xx: added dual image support to flashmap driver
some CFE versions (i.e. WRT54G3Gv2-VF) expect two separate firmware
images which each consume half of the available flash space.
these changes check for the TRX header version and set the partition
size correctly.
Tested on G3Gv2-VF and Asus WL-500GP

SVN-Revision: 22019
2010-07-01 16:26:24 +00:00
Gabor Juhos
5a28fb88a4 ar71xx: fix leds-rb750 build failure on 2.6.34
SVN-Revision: 22016
2010-07-01 14:49:06 +00:00
Markus Wigge
114ce0bd4c renamed wrt54g3gv2-vf images
'factory' and 'sysupgrade' did not make much sense. A discussion
with jow convinced me that .trx results in a helpdesk disaster.
So I decided to use '.bin' for normal bin-headers and '.noheader.bin'
for the trx-v2 image.
I fixed the wiki accordingly.

SVN-Revision: 22013
2010-07-01 10:48:13 +00:00
Florian Fainelli
09ed7e00a4 revert upstream commit that broke PCI until we have a better fix
SVN-Revision: 22010
2010-07-01 08:30:16 +00:00
Jo-Philipp Wich
1650f33f97 add a wifi profile for proprietary wl
SVN-Revision: 22009
2010-07-01 01:39:04 +00:00
Jo-Philipp Wich
d6d8014cfd fix dir-825-b1 default network config after r21905
SVN-Revision: 22005
2010-07-01 00:03:43 +00:00
Alexandros C. Couloumbis
cd2069a57c fix commit r21994 (thanks juhosg)
SVN-Revision: 21995
2010-06-30 19:46:45 +00:00
Alexandros C. Couloumbis
0409c64e34 fix commit r21993
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Claudio Mignanti
d30bf22a55 Don't force pci support on .34 and .35
SVN-Revision: 21993
2010-06-30 17:23:19 +00:00
Claudio Mignanti
ffa2e4eaec Add board definition previously forgotten
SVN-Revision: 21991
2010-06-30 15:06:17 +00:00
Gabor Juhos
50d88ac7d4 generic: rtl8366: minor cleanup
SVN-Revision: 21985
2010-06-28 17:24:05 +00:00
Gabor Juhos
e19838e04c generic: rtl8366: add common read_debugfs_mibs function
SVN-Revision: 21984
2010-06-28 17:24:02 +00:00
Gabor Juhos
393f0bda89 generic: rtl8366: standardize read_debugfs_mibs functions
SVN-Revision: 21983
2010-06-28 17:23:59 +00:00
Gabor Juhos
5986c1f2d0 generic: rtl8366: use common rtl8366_mib_counter structure
SVN-Revision: 21982
2010-06-28 17:23:56 +00:00
Gabor Juhos
672018a30d generic: rtl8366: move common debugfs code to rtl8366_smi.c
SVN-Revision: 21981
2010-06-28 17:23:52 +00:00
Gabor Juhos
19ed040c62 generic: rtl8366: move buf to struct rtl8366_smi
SVN-Revision: 21980
2010-06-28 17:23:48 +00:00
Gabor Juhos
830b04bd72 generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
SVN-Revision: 21979
2010-06-28 17:23:45 +00:00
Gabor Juhos
81e9e7916f generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi
SVN-Revision: 21978
2010-06-28 17:23:41 +00:00
Gabor Juhos
08942e9a98 generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops
SVN-Revision: 21977
2010-06-28 17:23:37 +00:00
Gabor Juhos
e8e8554192 generic: rtl8366: use RTL8366{S,RB} prefixes for all defines
SVN-Revision: 21976
2010-06-28 17:23:33 +00:00
Gabor Juhos
c4dc96934d generic: rtl8366rb: fix MIB counter reset
SVN-Revision: 21969
2010-06-27 14:37:34 +00:00
Florian Fainelli
f394178e15 reinstate 2.6.30 support until 2.6.32 is fixed
SVN-Revision: 21959
2010-06-26 22:18:23 +00:00
Felix Fietkau
da1bb88a2b rename target/linux/generic-2.6 to generic
SVN-Revision: 21952
2010-06-26 20:42:58 +00:00
Felix Fietkau
95c5443b84 remove generic linux 2.4 support
SVN-Revision: 21948
2010-06-26 20:42:18 +00:00
Felix Fietkau
cfbefb4b87 remove the brcm-2.4 target, it will no longer be supported in future releases. please use brcm47xx with broadcom-wl instead
SVN-Revision: 21946
2010-06-26 20:41:59 +00:00
Felix Fietkau
812f026323 add back the base-files/image code from brcm-2.4 to brcm47xx
SVN-Revision: 21945
2010-06-26 20:41:49 +00:00
Felix Fietkau
519b6a2f4c remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a proper type changing commit)
SVN-Revision: 21944
2010-06-26 20:41:40 +00:00
Gabor Juhos
8989c682c4 generic: rtl8366: rename vlan debugfs file to vlan_mc, and clean up it's format
SVN-Revision: 21923
2010-06-26 19:16:48 +00:00
Gabor Juhos
f60301e82b generic: rtl8366: update vlan handling code for rtl8366s
SVN-Revision: 21922
2010-06-26 19:16:45 +00:00
Gabor Juhos
d4d8c4d7ea generic: rtl8366: update vlan handling code of rtl8366rb
SVN-Revision: 21921
2010-06-26 19:16:41 +00:00
Gabor Juhos
62f2e8e981 generic: rtl8366: add hw_init to initialize registers after reset
SVN-Revision: 21920
2010-06-26 19:16:38 +00:00
Gabor Juhos
91a3323401 generic: rtl8366: introduce rtl8366_smi_rmwr function
SVN-Revision: 21919
2010-06-26 19:16:34 +00:00
Gabor Juhos
23e44e1367 generic: rtl8366s: get some MIB counters from another offset
SVN-Revision: 21918
2010-06-26 19:16:30 +00:00
Gabor Juhos
e89c10585e generic: rtl8366: cleanup MIB counter printing
SVN-Revision: 21917
2010-06-26 19:16:27 +00:00
Gabor Juhos
0d6fb64ac3 generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb}
SVN-Revision: 21916
2010-06-26 19:16:24 +00:00
Gabor Juhos
14688b75b7 generic: rtl8366: add common vlan_4k structure
SVN-Revision: 21915
2010-06-26 19:16:20 +00:00
Gabor Juhos
3d9c3067d3 generic: rtl8366: add common vlan_mc structure
SVN-Revision: 21914
2010-06-26 19:16:16 +00:00
Gabor Juhos
a6b57e3d3c generic: rtl8366: rename vlanmc and vlan4k related structures an functions
SVN-Revision: 21913
2010-06-26 19:16:12 +00:00
Gabor Juhos
5078264bef generic: rtl8366: use struct rtl8366_smi for phy_reg_{read,write} calls
SVN-Revision: 21912
2010-06-26 19:16:06 +00:00
Gabor Juhos
47de539b93 generic: rtl8366: move mii bus handling to the rtl8366_smi code
SVN-Revision: 21911
2010-06-26 19:16:01 +00:00
Gabor Juhos
dcc8caac45 generic: rtl8366: introduce rtl8366_smi_ops
SVN-Revision: 21910
2010-06-26 19:15:57 +00:00
Gabor Juhos
3471627f59 generic: rtl8366: change format string for debugfs error messages
SVN-Revision: 21909
2010-06-26 19:15:52 +00:00
Gabor Juhos
e627f76251 generic: rtl8366: don't show link parameters if the link is down
SVN-Revision: 21908
2010-06-26 19:15:48 +00:00
Gabor Juhos
0aa0d49169 generic: rtl8366: fix register offset and size of MIB counters
SVN-Revision: 21907
2010-06-26 19:15:43 +00:00
Gabor Juhos
8742057763 generic: rtl8366: prevent modifications of VLAN 0
SVN-Revision: 21906
2010-06-26 19:15:38 +00:00
Gabor Juhos
e827a12c48 ar71xx: don't use vlan 0 for devices with rtl8366s switch
SVN-Revision: 21905
2010-06-26 19:15:32 +00:00
Hamish Guthrie
2f5a5497be Add script support for Marvell 88W8686 mac80211. This is a hack now, but it works. cfg80211 is very broken in the current mainline Marvell driver. A new patch set to address this is in linux-next, I just do not have time today to address it.
SVN-Revision: 21899
2010-06-25 08:11:54 +00:00
Hamish Guthrie
ca67278b9e Use modules for wifi and usb
SVN-Revision: 21898
2010-06-25 08:08:05 +00:00
Alexandros C. Couloumbis
6bc17e57b0 ixp4xx: remove 2.6.35 unedded patches
SVN-Revision: 21897
2010-06-25 04:37:14 +00:00
Alexandros C. Couloumbis
257d87204b mpc83xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21896
2010-06-24 15:07:36 +00:00
Alexandros C. Couloumbis
7381af2207 ixp4xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21895
2010-06-24 14:40:36 +00:00
Alexandros C. Couloumbis
7cf04396c5 ixp4xx: add Mikael Petterssons patch works
SVN-Revision: 21894
2010-06-24 14:38:03 +00:00
Alexandros C. Couloumbis
93db39b3d3 ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
SVN-Revision: 21893
2010-06-24 14:36:41 +00:00
Alexandros C. Couloumbis
3c52f9a53d ixp4xx: add Titan Wireless TW-266-2 support
SVN-Revision: 21892
2010-06-24 14:34:49 +00:00
Alexandros C. Couloumbis
2b66b4735b ixp4xx: add kernel 2.6.33 preliminary support
SVN-Revision: 21891
2010-06-24 14:29:41 +00:00
Alexandros C. Couloumbis
60b4d65953 ixp4xx: revert kernel support for 2.6.33 & 2.6.35
SVN-Revision: 21890
2010-06-24 14:25:07 +00:00
Florian Fainelli
6f4c13a017 add missing CONFIG_PCMCIA_XIRCOM spotted by buildbot
SVN-Revision: 21889
2010-06-24 12:17:46 +00:00
Jo-Philipp Wich
91468dcf4f package TPROXY target and module infrastructure
SVN-Revision: 21883
2010-06-22 22:39:22 +00:00
Hauke Mehrtens
ded2b77652 orion: Missing symbols in 2.6.35-rc2 kernel config for Orion
Thank you Maddes for your patch

This closes #7441

SVN-Revision: 21882
2010-06-22 21:05:29 +00:00
Alexandros C. Couloumbis
f2bf29dcfb ixp4xx: add Mikael Petterssons patch works for 2.6.33 & 2.6.35
SVN-Revision: 21879
2010-06-22 14:10:55 +00:00
Hamish Guthrie
c75dcdd011 Add c++ std library to gumstix rte
SVN-Revision: 21870
2010-06-22 07:07:24 +00:00
Hamish Guthrie
4732fe9718 Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
SVN-Revision: 21858
2010-06-21 11:59:59 +00:00
Claudio Mignanti
738b30afeb another #ifdef around pci_set_mwi call
SVN-Revision: 21854
2010-06-20 14:04:45 +00:00
Jo-Philipp Wich
5181a82334 change a typo in ath5k profile
SVN-Revision: 21853
2010-06-20 13:46:24 +00:00
Jo-Philipp Wich
af1eb7ec46 deselect wpad-mini in wl profile instead of adding it to all other profiles, slightly change titles
SVN-Revision: 21852
2010-06-20 13:44:19 +00:00
Jo-Philipp Wich
da6e39e592 add a profile using proprietary wl instead of b43
SVN-Revision: 21851
2010-06-20 13:32:40 +00:00
Claudio Mignanti
e80e447944 pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
SVN-Revision: 21849
2010-06-20 12:41:22 +00:00
Claudio Mignanti
4bb7ab3057 revamp target: add support for netusg20 board
SVN-Revision: 21838
2010-06-18 22:12:33 +00:00
Gabor Juhos
7bff9c0101 ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 21837
2010-06-18 16:22:05 +00:00
Alexandros C. Couloumbis
44e51c530f ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
SVN-Revision: 21836
2010-06-18 11:14:20 +00:00
Alexandros C. Couloumbis
b54213c580 ixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35
SVN-Revision: 21835
2010-06-18 11:09:10 +00:00
Jo-Philipp Wich
c32b99c0bd fix sysupgrade for the Netgear WNR854T (#7484)
SVN-Revision: 21833
2010-06-18 07:57:45 +00:00
Alexandros C. Couloumbis
27e4cb3628 ixp4xx: fir commit r21825
SVN-Revision: 21827
2010-06-17 11:41:26 +00:00
Gabor Juhos
518f43efd8 ar71xx: fix RB750 LED configuration
Patch-by: Ray Bellis

SVN-Revision: 21826
2010-06-17 09:24:26 +00:00
Alexandros C. Couloumbis
ced9c58145 ixp4xx: (Titan Wireless 2662) check for invalid/null MAC before assigning a random one
SVN-Revision: 21825
2010-06-17 08:17:17 +00:00
Gabor Juhos
08c2e29018 ar71xx: avoid duplicated 'board' parameter in kernel command line
SVN-Revision: 21805
2010-06-14 20:02:44 +00:00
Florian Fainelli
b7e3430ba5 reinstate netdev LED trigger dependency against CONFIG_NET
SVN-Revision: 21804
2010-06-14 19:39:04 +00:00
Claudio Mignanti
46de802c0e Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment
SVN-Revision: 21800
2010-06-14 18:01:11 +00:00
Felix Fietkau
50bf15dd26 backport the ssb dma device change to 2.6.30 as well
SVN-Revision: 21798
2010-06-14 15:47:06 +00:00
Alexandros C. Couloumbis
3a270cbf6f ixp4xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21797
2010-06-14 14:59:37 +00:00
Felix Fietkau
b6fb8fd821 rename broadcom-wl to broadcom-wl-old
SVN-Revision: 21794
2010-06-14 11:00:30 +00:00
Felix Fietkau
efa4f94436 brcm47xx: add some exports to be used by the new wl driver
SVN-Revision: 21793
2010-06-14 10:03:05 +00:00
Jo-Philipp Wich
fb1058d1f9 add b43 dma_dev fix to 2.6.32 and 2.6.33
SVN-Revision: 21789
2010-06-13 18:35:23 +00:00
Claudio Mignanti
35ff4c9aa8 Extend the gpio device driver (#5671)
SVN-Revision: 21787
2010-06-13 13:27:06 +00:00
Florian Fainelli
fb94196462 add missing alice gate2 leds (#6743)
SVN-Revision: 21785
2010-06-13 12:20:53 +00:00
Florian Fainelli
0c5ef5387f refresh 2.6.33 patches
SVN-Revision: 21784
2010-06-13 12:20:48 +00:00
Florian Fainelli
08450811e3 refresh 2.6.32 patches
SVN-Revision: 21783
2010-06-13 12:20:42 +00:00
Gabor Juhos
e8c46b8a2a swconfig: fix lock imbalance in unregister_switch()
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>

SVN-Revision: 21780
2010-06-13 11:37:35 +00:00
Gabor Juhos
3165ea7886 swconfig: release switch in error path of swconfig_get_attr
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>

SVN-Revision: 21779
2010-06-13 11:37:32 +00:00
Florian Fainelli
3c10fdc725 rename partition map patch to a better name, since it s wrt350nv2 specific
SVN-Revision: 21778
2010-06-13 09:54:11 +00:00
Florian Fainelli
8338fec757 remove now empty samsung flash related patches
SVN-Revision: 21777
2010-06-13 09:54:06 +00:00
Florian Fainelli
10e325d736 rename 014-samsung_flash -> 014-samsung_flash.patch
SVN-Revision: 21776
2010-06-13 09:54:01 +00:00
Florian Fainelli
368745c06a fix samsung flash patch after r21408, thanks to Matthias Buecher (#7348)
SVN-Revision: 21775
2010-06-13 09:53:55 +00:00
Florian Fainelli
b99922180b add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
SVN-Revision: 21770
2010-06-12 18:10:22 +00:00
Florian Fainelli
145fd381d7 do not override cfg80211-related config symbols
SVN-Revision: 21769
2010-06-12 18:10:16 +00:00
Florian Fainelli
61ff8d986d refresh 2.6.34 patches
SVN-Revision: 21768
2010-06-12 18:10:09 +00:00
Gabor Juhos
b86e4e1c6a ar71xx: add default network config for the RB433UAH board
SVN-Revision: 21765
2010-06-12 13:20:41 +00:00
Gabor Juhos
9789f0215a ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
SVN-Revision: 21764
2010-06-12 13:20:39 +00:00
Alexandros C. Couloumbis
7f32c3672e generic-2.6/patches-2.6.35: fix ocf missing parts
SVN-Revision: 21757
2010-06-11 13:49:39 +00:00
Alexandros C. Couloumbis
97904a9d2f rb532: fix a module dependency issue
SVN-Revision: 21755
2010-06-10 12:33:43 +00:00
Alexandros C. Couloumbis
69c4e34f3a rb532: add kernel 2.6.35 preliminary support
SVN-Revision: 21754
2010-06-10 12:32:27 +00:00
Alexandros C. Couloumbis
93993b29e0 adm5120: add kernel 2.6.35 preliminary support
SVN-Revision: 21751
2010-06-10 11:21:10 +00:00
Gabor Juhos
9bc1e548a1 generic: move more common options to generic configuration
* CONFIG_ABX500_CORE
 * CONFIG_ATOMIC64_SELFTEST
 * CONFIG_BRIDGE_IGMP_SNOOPING
 * CONFIG_CAIF
 * CONFIG_CEPH_FS
 * CONFIG_CRYSTALHD
 * CONFIG_DEFAULT_SECURITY_SELINUX
 * CONFIG_DEFAULT_SECURITY_SMACK
 * CONFIG_DEFAULT_SECURITY_TOMOYO
 * CONFIG_DT3155
 * CONFIG_IP_MROUTE_MULTIPLE_TABLES
 * CONFIG_L2TP
 * CONFIG_LOGFS
 * CONFIG_LPC_SCH
 * CONFIG_MFD_JANZ_CMODIO
 * CONFIG_MFD_RDC321X
 * CONFIG_N_GSM
 * CONFIG_RAMOOPS
 * CONFIG_SERIAL_ALTERA_JTAGUART
 * CONFIG_SERIAL_ALTERA_UART
 * CONFIG_SERIAL_TIMBERDALE
 * CONFIG_SM_FTL
 * CONFIG_SQUASHFS_XATTRS

SVN-Revision: 21750
2010-06-10 10:45:51 +00:00
Gabor Juhos
4128c72275 generic: don't override CONFIG_DEBUG_FS
SVN-Revision: 21749
2010-06-10 10:45:42 +00:00
Gabor Juhos
2f328ce488 generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO

SVN-Revision: 21748
2010-06-10 08:58:14 +00:00
Gabor Juhos
57c5fe2e7f generic: remove trailing whitespaces from kernel configs
SVN-Revision: 21747
2010-06-10 08:58:09 +00:00
Gabor Juhos
5cad9d5c73 generic: standardize CONFIG_INLINE_* symbols usage
SVN-Revision: 21746
2010-06-10 08:09:41 +00:00
Gabor Juhos
65de4c2102 ar71xx: sync kernel configs
SVN-Revision: 21745
2010-06-10 08:09:36 +00:00
Gabor Juhos
f24395618e ar71xx: remove more config overrides
SVN-Revision: 21744
2010-06-10 06:14:19 +00:00
Gabor Juhos
adb0a95df1 ar71xx: fix phy_mask for the RB450
SVN-Revision: 21743
2010-06-09 19:48:35 +00:00
Gabor Juhos
f731dbec62 ar71xx: don't override CONFIG_BRIDGE_* options
SVN-Revision: 21742
2010-06-09 19:48:32 +00:00
Gabor Juhos
8c6a9eccb7 generic: update xt_layer7 module fix for 2.6.35
SVN-Revision: 21741
2010-06-09 17:56:42 +00:00
Alexandros C. Couloumbis
c9f459572e generic-2.6: layer7: convert xt_match_param to xt_action_param
SVN-Revision: 21740
2010-06-09 17:29:25 +00:00
Gabor Juhos
270d8bd6da generic: more missing symbols for 2.6.35
SVN-Revision: 21739
2010-06-09 15:31:43 +00:00
Gabor Juhos
e09af769c6 generic: add missing layer7 patches for 2.6.35
SVN-Revision: 21738
2010-06-09 15:31:39 +00:00
Gabor Juhos
dc27a440b2 ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
SVN-Revision: 21737
2010-06-09 15:31:36 +00:00
Gabor Juhos
6ce447427c ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
SVN-Revision: 21736
2010-06-09 15:31:34 +00:00
Alexandros C. Couloumbis
3e5f4450b5 generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
SVN-Revision: 21735
2010-06-09 15:14:12 +00:00
Alexandros C. Couloumbis
d45dc5e820 ar71xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21734
2010-06-09 10:45:47 +00:00
Alexandros C. Couloumbis
bef7ceff09 generic-2.6: add (some) missing config symbols for kernel 2.6.35
SVN-Revision: 21733
2010-06-09 10:43:59 +00:00
Gabor Juhos
e16d46a350 generic: rename ip175c driver to ip17xx on 2.6.35 as well
SVN-Revision: 21732
2010-06-09 07:52:48 +00:00
Gabor Juhos
3045632eb0 ar71xx: add default network configuration file for the RB450/RB433 boards
SVN-Revision: 21730
2010-06-08 20:19:23 +00:00
Gabor Juhos
2666ae6f0e ar71xx: enable the IP17xx driver for the nand subtarget
Also disable the old ICPlus driver.

SVN-Revision: 21729
2010-06-08 20:19:20 +00:00
Gabor Juhos
d55ebf3a8a ar71xx: fix phy_mask on the RB433 for the IP17xx driver
SVN-Revision: 21728
2010-06-08 20:19:18 +00:00
Gabor Juhos
464d384762 ip17xx: fix autonegotioation issues
SVN-Revision: 21727
2010-06-08 20:19:14 +00:00
Gabor Juhos
94c6afe09d generic: add aneg_done and update_link functions for the phy_device
SVN-Revision: 21726
2010-06-08 20:19:11 +00:00
Gabor Juhos
0cc840f158 ip17xx: Update the copyright message
Update the copyright message to reflect my changes.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21725
2010-06-08 20:19:08 +00:00
Gabor Juhos
b650fecb7d ip17xx: Rename the driver to ip17xx.c
Following the big internal rename, this is the external rename.
Rename the source file to ip17xx.c and adjust Makefile and Kconfig.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21724
2010-06-08 20:19:05 +00:00
Gabor Juhos
0b84c5a1c1 ip17xx: The big rename
Recognize that the driver supports many more devices than the ip175c.

The driver itself is now called ip17xx, all generic functions have been
renamed to ip17xx_*. The model-dependent functions have prefixes ip175c_
and ip175d_.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21723
2010-06-08 20:18:58 +00:00
Gabor Juhos
2ccaef4f4a ip17xx: Keep all state locally
Instead of reading the hardware state every time we want to inspect it or
to modify it, maintain it in struct ip175c_state.

This simplifies the code significantly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21722
2010-06-08 20:18:55 +00:00
Gabor Juhos
4511da99b9 ip17xx: Add support for IP175D
Add support for the IP175D chip. Since the register set is vastly different
from the previous models, we cannot not use the register number tables in struct
register_mappings (except for VLAN_DEFAULT_TAG_REG), so we supply a different
set of low-level functions.

Unlike with the previous models, we keep the VLAN setup in our state structure
instead of querying the hardware (it would be much harder in case of IP175D,
because the mapping between hardware and software state is not 1:1). Therefore,
get_flags() and get_state() are no-ops.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21721
2010-06-08 20:18:51 +00:00
Gabor Juhos
d48ba78aa4 ip17xx: Avoid auto-negotiation
Let ip175c_config_init() initialize the link state of the PHY and set the
PHY state machine directly to the PHY_RUNNING state in order to skip the
auto-negotiation phase.

Previously, auto-negotiation on PHY 0 (switch port 0) influenced the ethernet
driver connected to the CPU port, causing all sorts of weird effects.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21720
2010-06-08 20:18:47 +00:00
Gabor Juhos
a7301c57a4 ip17xx: New chip detection
Clean up get_model() and make it recognize IP175D using yet another
chip ID register. Log the detected model.

Also fix a bug in the interface between the PHY layer and our probe function,
which caused IP175A devices to be ignored.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21719
2010-06-08 20:18:42 +00:00
Gabor Juhos
d577cfa397 ip17xx: Add VLAN tag field
Since IP175D uses tag-based VLANs, we need an ability to set VLAN tag
of every VLAN.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21718
2010-06-08 20:18:38 +00:00
Gabor Juhos
d08093b8b3 ip17xx: Maintain state->remove_tag incrementally
So far, state->remove_tag was sometimes updated incrementally, sometimes
left to correct_vlan_state() to recalculate. Since I want to avoid use of
correct_vlan_state() for IP175D, this patch fixes the only two remaining
places which leave state->remove_tag inconsistent with state->add_tag
and it drops the recalculation.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21717
2010-06-08 20:18:34 +00:00
Gabor Juhos
e04dd645f2 ip17xx: Initialize VLAN state upon reset
Let VLAN state variables be initialized not only when the enable VLAN bit
is toggled, but also upon reset.

At this point, this should be a no-op, since the driver reads the current
hardware state before doing any modifications anyway, but I plan to keep
some state locally in the subsequent patches.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21716
2010-06-08 20:18:30 +00:00
Gabor Juhos
3c213b14ed ip17xx: Introduce vlan array
Replace vlan_ports array in struct ip175c_state by an array of structures.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21715
2010-06-08 20:18:25 +00:00
Gabor Juhos
065bc60f37 ip17xx: Introduce indirection of low-level operations
This patch introduces seperation between low-level and high-level parts
of the driver. The low-level functions are now called via pointers stored
in struct ip175c_regs.

The only functional changes are:

  o  correct_vlan_state() is now called as a part of every update_state().

  o  The order of setting of MODE_REG and resetting switch ports
     has changed. (These are independent actions, so it should not matter.)

  o  ip175c_set_tagged() sets the tags via update_state() instead of writing
     directly to the registers.

  o  The same for ip175c_set_pvid().

The only gaps in this abstraction are operations on ports (get_port_speed
and friends), which access PHY registers directly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21714
2010-06-08 20:18:20 +00:00
Gabor Juhos
09be47cf90 ip17xx: Fix use of MODE_VAL
The value written to MODE_REG in ip175c_reset() should be obviously MODE_VAL,
not RESET_VAL. Actually, this change is a NOP, because in the only case where
the MODE_REG is used, the two values are identical, but it makes the code
more readable.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21713
2010-06-08 20:18:15 +00:00
Gabor Juhos
f09e3fb65b ip17xx: Fix indentation in get_state() and update_state()
Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21712
2010-06-08 20:18:10 +00:00
Gabor Juhos
7b5a77fa39 ip17xx: Fixed error handling in ip175c_set_val()
Upon error, ip175c_set_val() returned 0 instead of -EINVAL.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21711
2010-06-08 20:18:05 +00:00
Gabor Juhos
b3073617a5 ip17xx: Cosmetic cleanups
Trying to unify capitalization and formatting of comments. Writing of periods
at the end of comments is however still inconsistent.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21710
2010-06-08 20:18:00 +00:00
Gabor Juhos
f96f1cd16f ip17xx: Consolidate operations with PHY registers
Call mdiobus_{read,write} instead of duplicating their code.

Introduce ip_phy_write_masked(), which changes a part of a register. Will
be used later in this patch series. Please note that it does not hold any
lock between reading and writing, so it is up to the caller to serialize.

Also add DUMP_MII_IO, which enables logging of all MII accesses.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21709
2010-06-08 20:17:55 +00:00
Gabor Juhos
c0c0a60718 swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED
SWITCH_PORT_FLAG_TAGGED is a bit index, not a bit mask.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21708
2010-06-08 20:17:03 +00:00
Alexandros C. Couloumbis
cfa9a1f6d6 brcm47xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21707
2010-06-08 16:58:06 +00:00
Alexandros C. Couloumbis
ce6b70119c generic-2.6: fix mini_fo 2.6.35 kernel issue
SVN-Revision: 21706
2010-06-08 16:44:42 +00:00
Alexandros C. Couloumbis
7414d7d943 fix a typo on commit r21704
SVN-Revision: 21705
2010-06-08 16:19:34 +00:00
Alexandros C. Couloumbis
7e2b5d177b generic-2.6: generic: add missing config symbols for 2.6.35
SVN-Revision: 21704
2010-06-08 16:13:37 +00:00
Alexandros C. Couloumbis
d7dc747324 atheros: add kernel 2.6.35 preliminary support
SVN-Revision: 21703
2010-06-08 15:01:35 +00:00
Gabor Juhos
9f196d5223 generic: add missing config symbol for 2.6.34
SVN-Revision: 21699
2010-06-07 09:18:18 +00:00
Gabor Juhos
90e2b1ad6b ar71xx: fix 2.6.34 build errors
SVN-Revision: 21698
2010-06-07 09:18:13 +00:00
Gabor Juhos
84f6a9c5a1 ar71xx: add missing 2.6.34 config symbol
SVN-Revision: 21697
2010-06-07 09:17:34 +00:00
Alexandros C. Couloumbis
4503e77b0d generic-2.6: add kernel 2.6.35 preliminary support (patches)
SVN-Revision: 21696
2010-06-07 05:56:49 +00:00
Alexandros C. Couloumbis
1428b8f9bc refresh kernel patches
SVN-Revision: 21694
2010-06-06 21:16:31 +00:00
Florian Fainelli
0499ba96eb generate NA and non-NA images for Titan platforms
SVN-Revision: 21692
2010-06-06 19:17:01 +00:00
Florian Fainelli
2210c5274a add Titan MTD partitionning support (#6632)
SVN-Revision: 21691
2010-06-06 19:16:55 +00:00
Florian Fainelli
a289ee48ca titan board also have CYWL as a product id
SVN-Revision: 21690
2010-06-06 19:16:49 +00:00
Florian Fainelli
ac23dcfe11 do not override kmod-usb-storage-extras Kconfig symbols (#7285)
SVN-Revision: 21688
2010-06-06 19:02:30 +00:00
Gabor Juhos
e897618fe1 ar71xx: build firmware images if Minimal profile is selected
SVN-Revision: 21684
2010-06-06 17:41:39 +00:00
Gabor Juhos
f0ec6c9529 ar71xx: rename Minimal profile
SVN-Revision: 21683
2010-06-06 17:41:34 +00:00
Hauke Mehrtens
35031a5daf orion: Update Orion in trunk to kernel 2.6.34.
Was flashed on WRT350Nv2, booted and is running for several days.
Closes #7405

Thank you maddes for your patch.

SVN-Revision: 21682
2010-06-06 10:51:52 +00:00
Gabor Juhos
b730849966 generic: update mips multimachine patch
SVN-Revision: 21681
2010-06-05 18:26:45 +00:00
Gabor Juhos
ac8b72c8c9 adm5120: convert to use the new mips multimachine stuff
SVN-Revision: 21680
2010-06-05 18:26:40 +00:00
Felix Fietkau
b61dce0a9b ar71xx: clarify the nand subtarget a bit
SVN-Revision: 21679
2010-06-05 11:55:49 +00:00
Gabor Juhos
2dfcdb9465 generic: merge mips multi machine update to generic patches for 2.6.34
SVN-Revision: 21675
2010-06-04 19:09:52 +00:00
Gabor Juhos
35765bfcf8 generic: merge mips multi machine update to generic patches for 2.6.33
SVN-Revision: 21674
2010-06-04 19:09:49 +00:00
Gabor Juhos
383bd396fa generic: merge mips multi machine update to generic patches for 2.6.32
SVN-Revision: 21673
2010-06-04 19:09:46 +00:00
Gabor Juhos
5cca5172bc adm5120: don't use linux/autoconf.h
SVN-Revision: 21672
2010-06-04 19:09:43 +00:00
Gabor Juhos
f77ca8db76 adm5120: fix build error on 2.6.34
SVN-Revision: 21671
2010-06-04 19:09:39 +00:00
Claudio Mignanti
2f4339f7ea Force usb features, fix depends
SVN-Revision: 21664
2010-06-03 09:52:34 +00:00
Felix Fietkau
4586129989 orion: fix lan and wan mac address for wrt530n v2 (patch by maddes from #7113)
SVN-Revision: 21647
2010-06-01 14:41:37 +00:00
Alexandros C. Couloumbis
2b743a266f ar71xx: fix rootfs mount issue (closes #7319)
SVN-Revision: 21645
2010-06-01 08:49:57 +00:00
John Crispin
971b7ff50e Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
Signed-off-by: Helmut Schaa

SVN-Revision: 21643
2010-05-31 11:57:32 +00:00
Daniel Dickinson
44062d09b4 brcm-2.4: preinit: Renamed failsafe echo scriplet to reflect that it is brcm-specific
SVN-Revision: 21637
2010-05-30 03:21:22 +00:00
Daniel Dickinson
49ead8b0ad brcm-2.4: preinit: Removed duplicate failsafe switch config file
SVN-Revision: 21636
2010-05-30 03:21:11 +00:00
Daniel Dickinson
ba2b75f710 ramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced
SVN-Revision: 21635
2010-05-30 03:21:00 +00:00
Daniel Dickinson
6bccc41f6c ar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced
SVN-Revision: 21634
2010-05-30 03:20:49 +00:00
Daniel Dickinson
abb91e135f adm5120: Added preinit script to set vars based on cpuinfo during preinit main; This fixes a bug in which the per-board vars were not set due to cpuinfo not being mounted when the adm5120.sh was run
SVN-Revision: 21633
2010-05-30 03:20:38 +00:00
Daniel Dickinson
50a5ef1200 adm5120: Fixed name of preinit_iface scriptlet
SVN-Revision: 21632
2010-05-30 03:20:27 +00:00
Daniel Dickinson
f296eeab53 brcm63xx: Fixed 96348GW (Tecom Gx00) LED definitions to match reality (vs reference design)
SVN-Revision: 21631
2010-05-30 02:04:56 +00:00
Daniel Dickinson
6a267cfa76 brcm63xx: Tecom GW6x00 profile: Added hotplug button events and gpio-leds kmods
SVN-Revision: 21630
2010-05-30 01:44:37 +00:00
Daniel Dickinson
40c53c6556 brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21629
2010-05-30 01:33:20 +00:00
Daniel Dickinson
82edb6eafa brcm63xx: Added preinit reset button module loading for devices known to support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21628
2010-05-30 01:33:09 +00:00
Daniel Dickinson
cc8fba8441 brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)
SVN-Revision: 21627
2010-05-30 01:32:58 +00:00
Daniel Dickinson
bd8cfa63f4 brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21626
2010-05-30 01:32:47 +00:00
Hauke Mehrtens
6ef6b4e8b3 kernel: add missing config symbols.
Thank you Maddes for your patch

This closes #7375.

SVN-Revision: 21623
2010-05-29 14:32:58 +00:00
Hauke Mehrtens
d9461d438a kernel: add lzma support for arm cpu.
This patch appears to be lost beetween 2.6.32 and 2.6.33.

Thank you Maddes for the patch.

This helps making orion work with kernel 2.6.34.
closes  #7377.

SVN-Revision: 21622
2010-05-29 14:31:56 +00:00
Lars-Peter Clausen
c88f0ac390 udc: Fix recursive spinlocks
Driver had recursive spinlock locking: 1. jz4740_queue() acquires lock 2. done()
is called in chain:
jz4740_queue()->jz4740_ep0_kick()->jz4740_ep0_in()->write_fifo_ep0()->done() and
it tries to acquire same lock. 3. Deadlock.

Signed-off-by:
Yauhen Kharuzhy <jekhor@gmail.com>

SVN-Revision: 21619
2010-05-29 00:12:09 +00:00
Lars-Peter Clausen
e66107e12b ASoC: Fix and cleaup dma config
SVN-Revision: 21618
2010-05-29 00:09:51 +00:00