Commit graph

6505 commits

Author SHA1 Message Date
John Crispin
275c33c6f8 * Make sure that Geos baud-rate defaults correctly Changeset 23414 somehow got reordered. The unconditional default trumps later settings.
contributed by Philip Prindeville

SVN-Revision: 25068
2011-01-22 23:10:51 +00:00
John Crispin
079ba5ac14 * adds sane default uci environment * adds sane default package selection
contributed by Philip Prindeville

SVN-Revision: 25065
2011-01-22 22:43:51 +00:00
Imre Kaloz
c700e57cc7 preliminary 2.6.38 support
SVN-Revision: 25057
2011-01-21 17:52:22 +00:00
Hamish Guthrie
bb95af7a51 update package dependencies
SVN-Revision: 25050
2011-01-20 11:26:47 +00:00
John Crispin
4d465f4036 * revert [25002] * fixes EBU ack when EBU causes an irq
SVN-Revision: 25047
2011-01-19 15:56:27 +00:00
Jo-Philipp Wich
18ed5bca9b fix null pointer access in mach-dir-600-a1.c machine setup (#8671)
SVN-Revision: 25043
2011-01-18 18:04:50 +00:00
Florian Fainelli
5c8c4a2c1f disable built-in MMC support
SVN-Revision: 25042
2011-01-18 14:53:21 +00:00
Florian Fainelli
da7074758f add missing config symbols
SVN-Revision: 25041
2011-01-18 14:53:15 +00:00
Felix Fietkau
a303220605 mpc85xx: disable the i8259 irq on mpc8548cds (but leave the controller initialized) - it shares an irq with the pcie device which causes irq storms
SVN-Revision: 25037
2011-01-18 14:43:44 +00:00
Florian Fainelli
100211927c add missing keyboard symbol
SVN-Revision: 25036
2011-01-18 12:10:26 +00:00
Daniel Dickinson
cc7e8eabb1 Missing symbols for CONFIG_xxx .. Thanks Philip Prindeville
SVN-Revision: 25031
2011-01-17 05:49:02 +00:00
Felix Fietkau
8740549c57 mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale powerpc cpus The SPE FPU is ABI-incompatible with the regular powerpc FPU, this needs to be reflected in the toolchain target name. Fixes floating point crashes in user space
SVN-Revision: 25018
2011-01-16 01:25:06 +00:00
Felix Fietkau
9299345c7f add missing kernel kernel config symbol
SVN-Revision: 25017
2011-01-16 01:25:02 +00:00
Felix Fietkau
d80506e8d5 mpc85xx: clean up bogus kernel config overrides
SVN-Revision: 25016
2011-01-16 01:24:57 +00:00
Felix Fietkau
d6d301bb14 mpc85xx: fix mpc8548 support (reorder serial ports, add default stdout path to device tree), enable pcie
SVN-Revision: 25015
2011-01-16 01:24:53 +00:00
Mirko Vogt
63aeef20c0 move irq.c from patch into own file
SVN-Revision: 25002
2011-01-15 03:32:16 +00:00
Gabor Juhos
0b98f1f64f ar71xx: rework WNDR3700 image generation
SVN-Revision: 24983
2011-01-14 10:37:14 +00:00
Gabor Juhos
b99f5f9c4a ar71xx: build separate image for the WNDR3700 with NA region
SVN-Revision: 24982
2011-01-14 10:37:11 +00:00
Hamish Guthrie
3c43d6fb30 Update gumstix profile
SVN-Revision: 24979
2011-01-14 09:38:20 +00:00
Claudio Mignanti
3559931d8f Fix i2c driver and package it
SVN-Revision: 24975
2011-01-13 12:01:07 +00:00
Claudio Mignanti
c4238a64ac Allow module compilation for adc driver
SVN-Revision: 24974
2011-01-13 11:00:47 +00:00
Gabor Juhos
541bebf4ec brcm47xx: add gpio_set_debounce function
SVN-Revision: 24968
2011-01-11 20:05:01 +00:00
Gabor Juhos
b67bbfe287 ar71xx: fix wlan LED on the TL-WR741 board
* Patch from #8630

SVN-Revision: 24963
2011-01-11 08:20:47 +00:00
Gabor Juhos
dd53effe15 ar71xx: fix wrong names of the WPS LED/button
Reported-by: Nuno Gonçalves

SVN-Revision: 24961
2011-01-10 18:15:47 +00:00
Hauke Mehrtens
8067116c10 kernel: deactivate ext4 SElinux support and extended attributes support in general config. This effects the build in kmod-fs-ext4 and when it is build into the kernel in the x86 target.
Thank you Philip Prindeville

SVN-Revision: 24951
2011-01-09 22:43:06 +00:00
Gabor Juhos
088d334311 generic: generic: remove MIPS device tree backport patch from 2.6.36
It makes no sense without a platform which uses that.

SVN-Revision: 24946
2011-01-09 09:52:12 +00:00
Gabor Juhos
a894d10d4d ar71xx: remove the gpio_wr_fix patch
SVN-Revision: 24945
2011-01-09 09:29:51 +00:00
Gabor Juhos
23a6173099 ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
SVN-Revision: 24944
2011-01-09 09:29:45 +00:00
Gabor Juhos
5641e8233e generic: rtl8366: fix build error
SVN-Revision: 24943
2011-01-09 05:36:44 +00:00
Gabor Juhos
505f0e7a86 ar71xx: add kmod-ledtrig-usbdev for the MZK-W04NU profile as well
SVN-Revision: 24941
2011-01-08 21:04:57 +00:00
Gabor Juhos
271ce88567 ar71xx: add kmod-ledtrig-usbdev to the relevant profiles
SVN-Revision: 24940
2011-01-08 21:02:25 +00:00
Gabor Juhos
792a1fb2c0 generic: rtl8366: enable vlans before enabling the ports
SVN-Revision: 24939
2011-01-08 20:24:29 +00:00
Gabor Juhos
c16715f8d2 generic: rtl8366: enable ports only after VLAN configuration is done
SVN-Revision: 24938
2011-01-08 20:24:26 +00:00
Gabor Juhos
0bcc97ac26 generic: rtl8366: add enable_port helper
SVN-Revision: 24937
2011-01-08 20:24:22 +00:00
Gabor Juhos
5120660512 generic: rtl8366_smi: init VLANs only in first switch initialization
SVN-Revision: 24936
2011-01-08 20:24:18 +00:00
Gabor Juhos
d88fc86fca generic: rtl8366s: use correct bitmasks in sanity checks
SVN-Revision: 24935
2011-01-08 18:04:04 +00:00
Gabor Juhos
ec9b5d6243 generic: rtl8366s: add vlan fid support
SVN-Revision: 24934
2011-01-08 18:04:00 +00:00
Gabor Juhos
72779e560b generic: rtl8366: add debugfs file for VLAN4K table
SVN-Revision: 24933
2011-01-08 18:03:57 +00:00
Gabor Juhos
a4472870bd generic: rtl8366rb: use correct bitmasks in sanity checks
SVN-Revision: 24930
2011-01-08 11:28:35 +00:00
Gabor Juhos
0de8689b70 ar71xx: use spinlock in ar71xx_device_{start,stop}
SVN-Revision: 24929
2011-01-08 11:28:32 +00:00
Gabor Juhos
271bb8385b ar71xx: add kmod-usb-ohci module for the WNDR3700 profile
SVN-Revision: 24927
2011-01-08 10:51:20 +00:00
Lars-Peter Clausen
a6ede8ac59 Drop support for older kernel versions
SVN-Revision: 24915
2011-01-06 01:33:19 +00:00
Lars-Peter Clausen
4f7abc1c7a Add 2.6.37 support
SVN-Revision: 24914
2011-01-06 01:32:17 +00:00
Jo-Philipp Wich
e8cee6c850 fix unbalanced mutex_lock/mutex_unlock in mini_fo getxattr op. Thanks Daniel Dickinson for tracking this down
SVN-Revision: 24906
2011-01-05 03:07:56 +00:00
Jo-Philipp Wich
dcec7f5e20 disable CONFIG_EXT4_FS_XATTR on kernel 2.6.35 and 2.6.37, this exposes a mutex bug in mini_fo leading to hard lockups with various filesystem operations
SVN-Revision: 24905
2011-01-05 02:48:19 +00:00
Gabor Juhos
b99a637795 ramips: ramips_esw: fix typos
Patch from #8577.

SVN-Revision: 24898
2011-01-04 13:44:05 +00:00
Gabor Juhos
061228d73c ar71xx: make uci-default scripts executable
Reported-by: Nuno Gonçalves <nunojpg@gmail.com>

SVN-Revision: 24897
2011-01-04 13:44:01 +00:00
Hauke Mehrtens
d6af00c555 brcm47xx: fix compile problem when serial is deactivated.
Thank you Andrey

SVN-Revision: 24885
2011-01-02 20:53:09 +00:00
Gabor Juhos
74f55db5e1 generic: more CONFIG_KEYBOARD_* symbols
SVN-Revision: 24860
2010-12-30 20:10:18 +00:00
Gabor Juhos
72ba27ae72 cns21xx: add initial support for the Cavium CNS21xx SoC
SVN-Revision: 24859
2010-12-30 17:19:16 +00:00
Gabor Juhos
757315f80e generic: update ARM mach-types
SVN-Revision: 24854
2010-12-29 20:01:35 +00:00
Gabor Juhos
06c41ce02e generic: add missing CONFIG_KEYBOARD_* symbols
SVN-Revision: 24852
2010-12-29 18:08:06 +00:00
Gabor Juhos
51dbb3d661 generic: add CONFIG_DEBUG_ICEDCC symbol
SVN-Revision: 24850
2010-12-29 17:29:01 +00:00
Florian Fainelli
c6d9ec5173 multiple SPI driver fixes
- fix platform device registration
- fix chipselect, command register defines, add missing clock
- make slave select proper
- fix multibytes transferts

Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>

SVN-Revision: 24849
2010-12-29 16:19:59 +00:00
Alexandros C. Couloumbis
a623456e93 target/linux: sync to kernel 2.6.37-rc8, refresh patches
SVN-Revision: 24847
2010-12-29 13:24:17 +00:00
Daniel Dickinson
dc9c1ac1f7 patches-2.6.35: mtd flashmap: Really fixed sparelen and rootfslen. The real rootfslen for OpenWRT images comes from a bigendian uint32_t in reserved1 of the bcm_tag, which is now used to correctly calculate the rootfslen (and thus the sparelen).
SVN-Revision: 24843
2010-12-28 08:10:32 +00:00
Daniel Dickinson
5ee2a6c696 patches-2.6.36: Fix flashmap spare length calculation from previous commit (for rootfs and rootfs_data mtd partitions). Apparently the interruption in working on it resulted in an incorrect memory of getting it working.
SVN-Revision: 24842
2010-12-28 04:05:04 +00:00
Florian Fainelli
093ebfe217 spi driver: remove bcm_rset usage
Since bcm636x platform embeds two spi master device,
the attached patch removes static bcm_rset usage, replaced  by
"bs->regs" field for all I/O operation.

Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 24840
2010-12-28 00:24:50 +00:00
Gabor Juhos
600b8aba3f gemini: enable GPIO sysfs interface
SVN-Revision: 24839
2010-12-27 08:10:05 +00:00
Daniel Dickinson
fc3a1d0ba3 Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24838
2010-12-26 04:18:13 +00:00
Daniel Dickinson
6ee5411686 base-files: Added uci-defaults script to run mtd fixtrx on firstboot for devices that need it.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24836
2010-12-26 04:18:04 +00:00
Daniel Dickinson
31f7259e3e mtd flashmap: Switched to calculating the rootfs size rather than depending on being given the size in the imagetag. This is because solving the problem of second boot CRC errors requires changeing the rootfs size in the image to zero.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24834
2010-12-26 04:17:56 +00:00
Claudio Mignanti
cd540fed5b Import an experimental ADC driver
SVN-Revision: 24814
2010-12-23 15:20:26 +00:00
Gabor Juhos
0f659a13dd ar71xx: add support for TL-WR740N v1
Same as TL-WR741ND but with different hardware ID and without
detachable antenna.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 24811
2010-12-23 12:42:16 +00:00
Imre Kaloz
76774e1daa upgrade u-boot to v2010.12
SVN-Revision: 24810
2010-12-23 00:08:55 +00:00
Hauke Mehrtens
acb5e80846 kernel: add config option added in kernel 2.6.37-rc7 to generic and run make kernel_oldconfig for brcm47xx.
SVN-Revision: 24805
2010-12-22 19:44:54 +00:00
Hauke Mehrtens
d5bda1db31 kernel: refresh patches with kernel 2.6.37-rc7
SVN-Revision: 24804
2010-12-22 19:43:25 +00:00
Hauke Mehrtens
4bee3672dd brcm47xx: refresh patches with kernel 2.6.37-rc7
The deleted patches went upstream in 2.6.37-rc7

SVN-Revision: 24803
2010-12-22 19:42:37 +00:00
Hauke Mehrtens
1ccae0efc0 uml: this patch went upstream
SVN-Revision: 24802
2010-12-22 18:20:50 +00:00
Hauke Mehrtens
22d8dcbf44 adm5120: make patches apply again and refresh them
SVN-Revision: 24800
2010-12-22 17:19:36 +00:00
Hauke Mehrtens
72ca63488b kernel: use tab in front of ledtrig-netdev.o and refresh kernel
SVN-Revision: 24798
2010-12-22 17:18:11 +00:00
Hauke Mehrtens
93e09b14eb brcm47xx: wgt634u mac address fix
The Netgear wgt634u uses minus between the hex digest of the mac
address and all other broadcom devices are using colons between the hex
digest. Now the mac address is correctly parsed also when minus is used.

SVN-Revision: 24749
2010-12-21 13:34:09 +00:00
John Crispin
1d6fbd2e85 * fixes duplicate registration of dwc_otg usb core
SVN-Revision: 24738
2010-12-20 17:56:09 +00:00
Claudio Mignanti
2c0596cd69 unifi: add sysupgrade and leds support
SVN-Revision: 24737
2010-12-20 17:28:34 +00:00
Felix Fietkau
0f157c1ad2 mpc85xx: fix up kernel config and make the target boot on the MPC8568E-MDS-PB board
SVN-Revision: 24736
2010-12-20 14:25:25 +00:00
Jo-Philipp Wich
4869f2c5e8 fix layer7 patches for Kernels >= 2.6.35, thanks Daniel Gimpelevich
SVN-Revision: 24728
2010-12-19 16:46:47 +00:00
Felix Fietkau
6acfae9379 ar71xx: enable ar7240 switch support on the UBNT NanoStation M Fixes broadcast frames on the second ethernet MAC
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

SVN-Revision: 24723
2010-12-19 11:56:42 +00:00
Gabor Juhos
b512523d6f ar71xx: fix micrel phy patch (Patch from #8041.)
SVN-Revision: 24718
2010-12-19 10:05:55 +00:00
Gabor Juhos
96da72dc56 generic: fix min/max confusion in jffs2_sum_init on 2.6.32
SVN-Revision: 24652
2010-12-17 20:34:26 +00:00
Gabor Juhos
cafe08a1b2 ar71xx: remove stray semicolons
SVN-Revision: 24651
2010-12-17 17:57:20 +00:00
Gabor Juhos
01c76bf128 ar71xx: fix WLAN LEDs on the DIR-825 board
SVN-Revision: 24650
2010-12-17 17:10:21 +00:00
Gabor Juhos
c1d3a23d19 ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
SVN-Revision: 24649
2010-12-17 17:10:19 +00:00
Gabor Juhos
e7ea6387a3 ar71xx: use usbdev trigger for USB LEDs by default
SVN-Revision: 24648
2010-12-17 17:10:16 +00:00
Gabor Juhos
a059a11ee1 generic: add LED trigger for USB device presence/activity
SVN-Revision: 24646
2010-12-17 17:10:11 +00:00
Gabor Juhos
3b8a79395a generic: add usb_find_device_by_name helper
SVN-Revision: 24645
2010-12-17 17:10:08 +00:00
Gabor Juhos
0d01356fc6 generic: nuke 2.6.33 specific stuff, is not used by any platform
SVN-Revision: 24644
2010-12-17 17:10:04 +00:00
Gabor Juhos
8390b7dc9b ar71xx: UBNT Secondary MAC address duplicate fix
There is Secondary MAC address duplicate problem with some UBNT
RouterStation and RouterStation Pro HW batches as Primary MAC addresses
are not increased by 2 per device in board data. Fix is to use 'Locally
Administrated bit' for Secondary MAC address instead of increasing
Primary MAC addresses by 1 which could overlap with other device
Primary MAC address.

Signed-off-by: Kestutis Barkauskas<keba@devint.net>

SVN-Revision: 24643
2010-12-17 17:10:01 +00:00
Gabor Juhos
a26c3e60e2 ar71xx: populate LED configuration for WZR-HP-G300NH
Signed-off-by: Dave Lichterman <laviddichterman@gmail.com>

[nand-disk trigger has been removed - juhosg]

SVN-Revision: 24642
2010-12-17 17:09:57 +00:00
Hauke Mehrtens
9daa5485ba brcm47xx: add ssb debug option.
This fixes a problem with wrt350n.
It boots only if this config option is set, otherwise it reboots after "Switching to clocksource MIPS"

Thank you sn9 for fixing this problem.

SVN-Revision: 24626
2010-12-16 19:35:59 +00:00
Hauke Mehrtens
1da5dcbb7a brcm47xx: add some missing pci ID for tg3 driver
Broadcom removed these pci id, but at least the wrt350n has a Ethernet
controller with a pci id of 14e4:1676

Thank you sn9 for fixing this problem.

SVN-Revision: 24625
2010-12-16 19:31:05 +00:00
Hauke Mehrtens
c58d8a369c brcm47xx: this patch went upstream
SVN-Revision: 24624
2010-12-16 19:26:55 +00:00
Gabor Juhos
a2a5598c00 ar71xx: add wlan led for the TL-WR941ND
SVN-Revision: 24612
2010-12-15 19:55:50 +00:00
Gabor Juhos
e421d2575f ar71xx: UBNT M-Series MAC address fix
UBNT M-Series devices have 2 MAC addresses in board data.
Fix is to use both entries from board data instead of one entry.

Signed-off-by: Kestutis Barkauskas<keba@devint.net>

SVN-Revision: 24611
2010-12-15 19:55:47 +00:00
Imre Kaloz
87f73331a4 revert r24604
SVN-Revision: 24605
2010-12-15 12:24:27 +00:00
Alexandros C. Couloumbis
164c97838a target/linux: clean up non generic & obsolete kernel options for 2.6.36, 2.6.37
SVN-Revision: 24604
2010-12-15 12:15:46 +00:00
Gabor Juhos
6c1ace2f28 ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
SVN-Revision: 24569
2010-12-14 18:01:04 +00:00
Gabor Juhos
a7750dae90 ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
SVN-Revision: 24568
2010-12-14 18:01:00 +00:00
John Crispin
5e3e1d4a02 * make the usb gpio configurable * 105-header_xway.patch has a corrupt line count in it
SVN-Revision: 24564
2010-12-14 13:02:49 +00:00
Gabor Juhos
d2fdd1dbe1 ramips: remove 2.6.3[24] support
SVN-Revision: 24562
2010-12-14 08:00:31 +00:00
Gabor Juhos
1403850be1 ramips: switch to 2.6.36
SVN-Revision: 24561
2010-12-14 08:00:29 +00:00
Gabor Juhos
f9898e30fb ramips: handle OTG interrupt on the RT305x SoC
SVN-Revision: 24560
2010-12-14 08:00:25 +00:00
Imre Kaloz
1f002efd98 bump kernel version, add MAINTAINER entry
SVN-Revision: 24559
2010-12-14 07:58:24 +00:00
Imre Kaloz
d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
2010-12-14 07:57:22 +00:00
Hamish Guthrie
5495be1421 Update package selection
SVN-Revision: 24544
2010-12-13 12:59:22 +00:00
Jo-Philipp Wich
81edc28358 enable mach support for OpenRD Base and OpenRD Client (#8417), spare the rest
SVN-Revision: 24541
2010-12-13 10:06:40 +00:00
Felix Fietkau
5a351509aa base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
SVN-Revision: 24540
2010-12-13 08:01:21 +00:00
John Crispin
9f47e80bb3 adds new lantiq kernel. once the codebase is fully tested and know to be working on all the devices previously supported by ifxmips, we will drop ifxmips support.
SVN-Revision: 24526
2010-12-12 22:57:16 +00:00
Hauke Mehrtens
b8ab3d34eb kernel: update kernel versions Update kernel 2.6.32.26 to 2.6.32.27 Update kenrel 2.6.36.1 to 2.6.36.2
SVN-Revision: 24486
2010-12-11 16:07:21 +00:00
Gabor Juhos
9f38f9bf76 ar71xx: add missing files for the JA76PF board
SVN-Revision: 24444
2010-12-10 19:55:28 +00:00
Daniel Dickinson
44e22cbd49 Fixed Comtrend CT536_CT5621 board settings. These boards are based on the 96348GW-11 reference design but have different GPIOs therefore we use the board fixups now availabed (thanks the patches by Jonas Gorski) to create a separate board entry for these boards and leave the reference design with reference GPIOs. Also these boards only have enet1 (no enet0) so we set that in the board definition, and use a defconfig for a single interface network.
SVN-Revision: 24442
2010-12-10 18:59:58 +00:00
Gabor Juhos
b680f088ba ar71xx: add support for the jjPlus JA79PF
Patch-by: Cezary Jackiewicz

SVN-Revision: 24440
2010-12-10 17:57:51 +00:00
Gabor Juhos
5b0c83edd9 ar71xx: add support for the TP-LINK TL-MR3220 v1 board
SVN-Revision: 24439
2010-12-10 17:57:48 +00:00
Gabor Juhos
83834da33b ar71xx: add default network configuration file for the TL-MR3420
SVN-Revision: 24437
2010-12-10 17:57:40 +00:00
Felix Fietkau
1fa3e7a941 ar71xx: do not throw compile errors if the nbg460n uboot is not selected
SVN-Revision: 24426
2010-12-10 16:07:27 +00:00
Gabor Juhos
d9c68341ef ar71xx: select u-boot for the NBG460N in the Default/Minimal profiles as well
SVN-Revision: 24421
2010-12-10 15:17:08 +00:00
Gabor Juhos
081796fe47 ar71xx: add nbg460n image generation
This adds image generation for NBG460N/550N/550NH boards.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>

SVN-Revision: 24419
2010-12-10 15:17:03 +00:00
Alexandros C. Couloumbis
ce0984ec5d linux/generic: update & refresh 2.6.36 & 2.6.37. (closes #8324)
SVN-Revision: 24370
2010-12-08 21:20:40 +00:00
Imre Kaloz
502dc1cb39 add optimization to Freescale targets
SVN-Revision: 24341
2010-12-08 11:27:06 +00:00
Gabor Juhos
502d21dc2a ramips: ramips_esw: add more definitions
SVN-Revision: 24340
2010-12-08 10:15:33 +00:00
Gabor Juhos
bf58ef7c6d ramips: ramips_esw: add helper function to set pvid
SVN-Revision: 24339
2010-12-08 10:15:28 +00:00
Gabor Juhos
692d379b50 ramips: ramips_esw: add helper function to set vlan members
SVN-Revision: 24338
2010-12-08 10:15:25 +00:00
Gabor Juhos
f7c3f91074 ramips: ramips_esw: add helper function to set VLAN id
SVN-Revision: 24337
2010-12-08 10:15:22 +00:00
Gabor Juhos
0d2ad7a816 ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
SVN-Revision: 24336
2010-12-08 10:15:16 +00:00
Gabor Juhos
7b878dde4b ramips: ramips_esw: use rt305x_esw prefix in function names
SVN-Revision: 24335
2010-12-08 10:15:14 +00:00
Gabor Juhos
0fcedc7bda ramips: ramips_esw: coding style cleanup
SVN-Revision: 24334
2010-12-08 10:15:12 +00:00
Gabor Juhos
48e6a31812 ramips: ramips_esw: add defines for switch register offsets
SVN-Revision: 24333
2010-12-08 10:15:07 +00:00
Gabor Juhos
74c13f06df ramips: ramips_esw: don't touch GPIO_PURPOSE register
It must have been set by the board initialization code.

SVN-Revision: 24332
2010-12-08 10:15:04 +00:00
Gabor Juhos
3b9a6adc7d ramips: ramips_esw: convert it to be a platform driver
SVN-Revision: 24331
2010-12-08 10:15:00 +00:00
Gabor Juhos
889729df01 ramips: ramips_esw: move hardware initialization into a separate function
SVN-Revision: 24330
2010-12-08 10:14:58 +00:00
Gabor Juhos
8957f39064 ramips: ramips_esw: use a private structure for the functions
SVN-Revision: 24329
2010-12-08 10:14:54 +00:00
Imre Kaloz
f586bb26dd ethernet driver fixup for ppc4xx
SVN-Revision: 24328
2010-12-08 08:59:31 +00:00
Daniel Dickinson
7224337d71 Profiles: GW6X00: Replace ext2 module with ext4 as ext2 and 3 are going away. Remove kmod-loop as the need for it has been superseded by block-extroot, and remove kmod-fs-vfat as it takes space and is rarely needed.
SVN-Revision: 24316
2010-12-08 00:40:31 +00:00
Daniel Dickinson
2a86dcc3d6 Profiles: Make buttons and led modules included by default so that failsafe will work in the case of builds for releases.
SVN-Revision: 24315
2010-12-08 00:40:28 +00:00
Daniel Dickinson
c6ef9a0720 Profiles: Move wpad-mini to the profiles that use it, rather than default for all profiles (because -wpad-mini means it's not selectable, which isn't what we always want for the No WiFi profile
SVN-Revision: 24314
2010-12-08 00:40:24 +00:00
Daniel Dickinson
4ab2416621 flash_chips: Added Macronix MX29LV640T Flash Chip support previously mistakenly added to brcm63xx. Thanks blunoise.
SVN-Revision: 24313
2010-12-07 19:45:08 +00:00
Daniel Dickinson
f8ed133c0a patches: Renamed 150-led_count to 141-led_count so it comes before the 15-alice_gate2_leds.patch as which led count was mistakenly given the same number.
SVN-Revision: 24310
2010-12-07 17:32:29 +00:00
Daniel Dickinson
0e839ea40d Revert "[brcm63xx] patches-2.6.35: Added flash chip definition for Macronix MX29LV640T."
This reverts commit 43511418ae2771a6662a83a254f06e37f4ac19e5.

It belongs in generic not brcm63xx.

SVN-Revision: 24308
2010-12-07 17:02:31 +00:00
Daniel Dickinson
183d628485 patches-2.6.35: Added flash chip definition for Macronix MX29LV640T. Thanks blunoise
SVN-Revision: 24307
2010-12-07 16:42:23 +00:00
Daniel Dickinson
8f9b14dafe boards: Added GW6x00 fixups and GPIOs. The GW6200 GPIOs are different than the reference design 96348GW so we use fixup to allow us to define the correct ones, also the GW6000 has no GPIO-controlled leds.
SVN-Revision: 24305
2010-12-07 15:15:54 +00:00
Daniel Dickinson
3baa168e09 patches: Refreshed patches after led_count
SVN-Revision: 24304
2010-12-07 15:15:51 +00:00
Daniel Dickinson
b963cbde33 board definitions: Added patch for calculating led count, which was part of the patch removed in the previous commit
SVN-Revision: 24303
2010-12-07 15:15:47 +00:00
Daniel Dickinson
e5ca4d81f4 Remove patch 140-new_bcm96348gw_leds because it is really the GW6200 leds, not the generic 96348GW. Another commit will add the GW6200 specific boardid and leds. This removal reverts the 96348GW leds to the reference design GPIOs.
SVN-Revision: 24302
2010-12-07 15:15:41 +00:00
Hauke Mehrtens
0fc35b30e3 kernel: fix cryptodev with kernel >= 2.6.35
The fix is from http://sourceforge.net/mailarchive/forum.php?thread_name=20100906035717.GA7562%40mcafee.com&forum_name=ocf-linux-users

Thank you tripolar for reporting the issue and finding a solution for it.

SVN-Revision: 24286
2010-12-06 17:01:10 +00:00
Daniel Dickinson
ad24e14b35 base-files: Added the preinit information for reset button and preinit indication led, and preinit interface
SVN-Revision: 24276
2010-12-06 06:46:03 +00:00
Daniel Dickinson
244db5ac6a board definition: Fixed CPVA642 LED definitions
SVN-Revision: 24275
2010-12-06 06:45:57 +00:00
Daniel Dickinson
8316194016 board definitions: Added CPVA642 GPIO leds and buttons and refreshed patches later in series due to fuzz
SVN-Revision: 24274
2010-12-06 04:31:23 +00:00
Daniel Dickinson
7129521696 base-files: Added network defconfig because board only has one ethernet (4-port switch)
SVN-Revision: 24273
2010-12-06 02:01:08 +00:00
Gabor Juhos
0449d92dd7 ramips: add support for 2.6.36
SVN-Revision: 24270
2010-12-05 20:14:38 +00:00
Gabor Juhos
01a5cb48c8 ramips: default profile fix
Fix package names in default profiles.

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

SVN-Revision: 24269
2010-12-05 20:14:35 +00:00
Gabor Juhos
47dd3b9fea ramips: use tabs instead of spaces in mach-f5d8235-v2.c
SVN-Revision: 24268
2010-12-05 20:14:30 +00:00
Hauke Mehrtens
2f7964de3e brcm47xx: do not read from CFE
SVN-Revision: 24267
2010-12-05 19:20:26 +00:00
Hauke Mehrtens
852f7b37ed brcm47xx: backport patch from kernel 2.6.37
Backport patches from r24162
  brcm47xx: reorder patches like they were commitet upstream

SVN-Revision: 24266
2010-12-05 19:19:50 +00:00
Hauke Mehrtens
7b1ae48645 brcm47xx: use on common files dir
SVN-Revision: 24264
2010-12-05 18:34:58 +00:00
Imre Kaloz
044ea01f9c preliminary support for Freescale MPC85xx based boards
SVN-Revision: 24259
2010-12-05 11:38:59 +00:00
Felix Fietkau
8067f3f3cc ar71xx: work around a PCI controller bug which causes reads to the PCI_COMMAND register to return bogus values - properly fixes ath9k module reload issues
SVN-Revision: 24236
2010-12-04 01:32:15 +00:00
Imre Kaloz
187359dc67 remove unused kernel versions, make 2.6.36 the default
SVN-Revision: 24223
2010-12-03 09:19:52 +00:00
Hauke Mehrtens
41b3383499 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)

SVN-Revision: 24217
2010-12-02 21:27:54 +00:00
Jo-Philipp Wich
6f7e2d4ce8 tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
SVN-Revision: 24215
2010-12-02 20:19:55 +00:00
Gabor Juhos
79c24b2cb0 ar71xx: refresh patches
SVN-Revision: 24210
2010-12-01 18:40:01 +00:00
Gabor Juhos
17564e7db8 generic: yet another missing config symbol for 2.6.37
SVN-Revision: 24208
2010-12-01 18:39:55 +00:00
Jo-Philipp Wich
30b950154b add a new image for the TEW-652BRP which can be used with the bootloader recovery option
SVN-Revision: 24196
2010-11-30 02:04:57 +00:00
Jo-Philipp Wich
2fe5c1d124 backport two changes from kernel.org: 65e9b62d4503849b10bedfc29bff0473760cc597 ipv6: add special mode accept_ra=2 to accept RA while configured as router
c3bccac2fa76f1619dfe4fb7b9bee69de7f066d8
ipv6: add special mode forwarding=2 to send RS while configured as router

SVN-Revision: 24195
2010-11-30 01:52:51 +00:00
Daniel Dickinson
9677b65cb6 image Makefile: Corrected router imagename length limiting. Thanks KanjiMonster for reminding me.
SVN-Revision: 24191
2010-11-28 22:13:00 +00:00
Daniel Dickinson
314bce63e6 bcm63xx: Add support for the T-Com Speedport W 500V.
Add support for the T-Com Speedport W 500V using a special tagged image as it
identifies itself as a 96348GW, but has some gpios wired differently, and also
has only one ethernet port without a switch attached to it.

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

SVN-Revision: 24190
2010-11-28 22:04:44 +00:00
Daniel Dickinson
3a49f669f2 bcm63xx: Add board id override fixup.
Add a fixup for the kernel to check the bcm tag of the image for a boardid in
the information1 field, and use that instead of the supplied one by cfe. This
is triggered by a + at the start of the information1 field.

Also modify the image generation to generate apropriately tagged images.

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

SVN-Revision: 24189
2010-11-28 22:04:40 +00:00
Daniel Dickinson
c51d772e62 bcm63xx: Finalize support for DSL-274xB, rev C2.
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition,
resulting in a kernel panic on boot.
This patch adds it, and also renames the generated image name to properly
reflect that it is for the revision C2, and for both the DSL-2740B and
DSL-2741B.

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

SVN-Revision: 24188
2010-11-28 22:04:36 +00:00
Daniel Dickinson
8fa9b24a4c bcm63xx: Allow 'colored' power leds.
Since some devices have more than one power led, they might be separated by
their color in the name. To also allow them to be on after leaving preinit,
set any status led starting with 'power' to on instead of only those with
the exact name of 'power'.

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

SVN-Revision: 24187
2010-11-28 22:04:30 +00:00
Daniel Dickinson
fec30c8c80 bcm63xx: Don't hardcode the switch ethernet interface in preinit.
Currently eth1 is hardcoded as the expected interface switches in diagmode.
This patch replaces the eth1 with the ifname, and also directly tests if
the interface specified by ifname has a switch attached.

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

SVN-Revision: 24186
2010-11-28 22:04:26 +00:00
Daniel Dickinson
b1b318750a bcm63xx: Add defconfigs.
Port the mechanism for different default configurations from ar71xx and
use the old configuration as the default configuration. This should have
no functional differences to before.
While we are at it, remove the obsolete nat option.

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

SVN-Revision: 24185
2010-11-28 22:04:19 +00:00
Florian Fainelli
a133b09b07 refresh patches and remove trailing whitespaces
SVN-Revision: 24181
2010-11-28 18:14:34 +00:00
Florian Fainelli
27189b328e refresh and refine 972-cpmac_multi_probe.patch, patch from sn9
SVN-Revision: 24180
2010-11-28 18:03:56 +00:00
Florian Fainelli
629cc5b101 refresh 973-cpmac_handle_mvswitch.patch
SVN-Revision: 24179
2010-11-28 18:03:48 +00:00
Florian Fainelli
a2aa5a227e refresh and refine vlynq patch, patch from sn9
SVN-Revision: 24178
2010-11-28 18:03:42 +00:00
Hauke Mehrtens
af2349b4bc brcm47xx: remove support for old kernel versions
SVN-Revision: 24168
2010-11-28 14:08:04 +00:00
Hauke Mehrtens
6f58cc20fc brcm47xx: use kernel 2.6.36.1 as new default kernel for this target.
SVN-Revision: 24167
2010-11-28 14:05:31 +00:00
Hauke Mehrtens
34d53c2be1 kernel: add missing config symbols for 2.6.37-rc3
Thank you maddes for reporting. (closes #8323)

SVN-Revision: 24165
2010-11-28 11:14:25 +00:00
Hauke Mehrtens
fb27da9487 brcm47xx: reorder patches like they were commitet upstream
SVN-Revision: 24162
2010-11-27 22:47:11 +00:00
Felix Fietkau
b54002aa8e remove CONFIG_ADM6996_PHY=y for ar7 and atheros - this driver is incomplete and should not be used yet
SVN-Revision: 24161
2010-11-27 22:40:26 +00:00
Hauke Mehrtens
256f94dea4 kernel: add missing config option
SVN-Revision: 24157
2010-11-27 16:08:41 +00:00
Florian Fainelli
e8881e29b6 patch 972-cpmac_multi_probe.patch correctly, thanks sn9
SVN-Revision: 24142
2010-11-25 12:18:41 +00:00
Florian Fainelli
4b3ffba803 rename 973-cpmac_handle_mvswitch.c to 973-cpmac_handle_mvswitch.patch
SVN-Revision: 24141
2010-11-25 12:18:36 +00:00
Florian Fainelli
80785891e8 handle mvswitch in cpmac, rework MII probing logic, patch from sn9 and Wipster
SVN-Revision: 24140
2010-11-25 11:58:02 +00:00
Florian Fainelli
e7ecbdcaa8 handle new revisions of vlynq wrt reset sequence, patch from sn9
SVN-Revision: 24139
2010-11-25 11:57:57 +00:00
Florian Fainelli
6f825a0be3 increase flash window size to 32MiB, patch from sn9.
SVN-Revision: 24138
2010-11-25 11:57:52 +00:00
Imre Kaloz
ead8ab8403 update to the latest stable kernels
SVN-Revision: 24136
2010-11-24 18:50:11 +00:00
Daniel Dickinson
195d1d7446 image Makefile: Removed extraneous tab from Image/LimitName16 macro definition. The solves the strange whitespace in front of the image name in the info1 section
SVN-Revision: 24127
2010-11-24 11:06:13 +00:00
Gabor Juhos
21c8d63505 ramips: add support for Belkin F5D8235 v2 board
No support for usb for now.

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

SVN-Revision: 24126
2010-11-24 10:01:23 +00:00
Gabor Juhos
90c0618011 generic: add rtl8366rb switch vlan fid support
Allows to use fids 0 to 7. Default is 0.
Those who will use this don't forget to `set vlan fid` every time
after `set vlan ports` if you want non default behavior.
Minor changes. Version bump.

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

SVN-Revision: 24125
2010-11-24 10:01:21 +00:00
Gabor Juhos
64b16b9f34 ramips: Use NET_IP_ALIGN instead of hardcoding 2
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24124
2010-11-24 10:01:18 +00:00
Gabor Juhos
624cfc5c91 ramips: DMA map the correct RX skb size
The skb_reserve call prior to DMA mapping the RX skb reduced the skb
data len by 2. To not allow DMA to write behind the skb we should pass
the correct skb data len to the device.

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

SVN-Revision: 24123
2010-11-24 10:01:16 +00:00
Gabor Juhos
f833e399f2 ramips: Don't trigger BUG_ON due to skb allocation failure
Instead just drop the rx'ed frame silently and reuse the already
available buffer.

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

SVN-Revision: 24122
2010-11-24 10:01:12 +00:00
Gabor Juhos
c6e4124855 ramips: Remove unnecessary skb_put
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24121
2010-11-24 10:01:08 +00:00
Daniel Dickinson
0c0c1f017f image: Limited image name put into the info1 field to 16 characters and eliminted the OpenWRT revision. This makes using the image (router) name as the board name possible, so that boards with same real boardid but different GPIOs can be detected and the correct GPIOs used.
SVN-Revision: 24118
2010-11-23 20:17:08 +00:00
Alexandros C. Couloumbis
8f94a9a224 linux/brcm47xx: sync yhe BCM4710 fix with the upcoming upstream patch.
SVN-Revision: 24116
2010-11-23 16:41:34 +00:00
Alexandros C. Couloumbis
6a3cc2583b linux/generic: add 2.6.37 support for the Cisco 7941/7945 IP phones: http://lkml.org/lkml/2010/11/21/219 (thank you Kevin Cernekee)
SVN-Revision: 24114
2010-11-23 14:36:15 +00:00
Alexandros C. Couloumbis
16dd69760f linux/brcm47xx: add missing patch on r24112
SVN-Revision: 24113
2010-11-23 14:12:42 +00:00
Alexandros C. Couloumbis
40b5fad48d linux/brcm47xx: Broadcom BCM4710 does not belong in the BMIPS4KC family.
SVN-Revision: 24112
2010-11-23 14:08:41 +00:00
Alexandros C. Couloumbis
60cbd62791 linux/generic: refresh 2.6.37 patches
SVN-Revision: 24111
2010-11-23 14:04:42 +00:00
Hamish Guthrie
4cee84f7d0 Fix ext4 build
SVN-Revision: 24110
2010-11-23 12:07:50 +00:00
Hamish Guthrie
2ebd82b518 Bump kernel version
SVN-Revision: 24109
2010-11-23 11:59:03 +00:00