Commit graph

6373 commits

Author SHA1 Message Date
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