Commit Graph

7020 Commits (29481143bfa636e69ddf2c54765c377979683ebd)

Author SHA1 Message Date
Florian Fainelli 29481143bf [brcm63xx] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-29 16:19:59 +00:00
Alexandros C. Couloumbis 73683d3f33 target/linux: sync to kernel 2.6.37-rc8, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-29 13:24:17 +00:00
Daniel Dickinson a6ec44df02 [brcm63xx] 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).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-28 08:10:32 +00:00
Daniel Dickinson cec3802964 [brcm63xx] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-28 04:05:04 +00:00
Florian Fainelli 62f90595e1 [brcm63xx] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-28 00:24:50 +00:00
Gabor Juhos e95017c9b4 gemini: enable GPIO sysfs interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-27 08:10:05 +00:00
Daniel Dickinson ec103967cb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:13 +00:00
Daniel Dickinson dda75774e9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:04 +00:00
Daniel Dickinson d93fac4436 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:17:56 +00:00
Claudio Mignanti 2f1c1867ac [at91] Import an experimental ADC driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 15:20:26 +00:00
Gabor Juhos 605dc51087 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 12:42:16 +00:00
Imre Kaloz 09fe1c8d03 [target/avr32]: upgrade u-boot to v2010.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 00:08:55 +00:00
Hauke Mehrtens 9aaf9aadb8 kernel: add config option added in kernel 2.6.37-rc7 to generic and run make kernel_oldconfig for brcm47xx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 19:44:54 +00:00
Hauke Mehrtens 173ae4b025 kernel: refresh patches with kernel 2.6.37-rc7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 19:43:25 +00:00
Hauke Mehrtens e42ff73d5c brcm47xx: refresh patches with kernel 2.6.37-rc7
The deleted patches went upstream in 2.6.37-rc7


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 19:42:37 +00:00
Hauke Mehrtens 0aa7ce3a46 uml: this patch went upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 18:20:50 +00:00
Hauke Mehrtens a43801cfd8 adm5120: make patches apply again and refresh them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 17:19:36 +00:00
Hauke Mehrtens b5645d890c kernel: use tab in front of ledtrig-netdev.o and refresh kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 17:18:11 +00:00
Hauke Mehrtens 4ce56cc454 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 13:34:09 +00:00
John Crispin 5b27bce2b6 [lantiq]
* fixes duplicate registration of dwc_otg usb core


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 17:56:09 +00:00
Claudio Mignanti 45aa025436 [ar71xx] unifi: add sysupgrade and leds support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 17:28:34 +00:00
Felix Fietkau f15cda9f48 mpc85xx: fix up kernel config and make the target boot on the MPC8568E-MDS-PB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 14:25:25 +00:00
Jo-Philipp Wich 2f3322b82e [generic] fix layer7 patches for Kernels >= 2.6.35, thanks Daniel Gimpelevich
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 16:46:47 +00:00
Felix Fietkau 474f13fbc8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:56:42 +00:00
Gabor Juhos a1ee34ca6e ar71xx: fix micrel phy patch (Patch from #8041.)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 10:05:55 +00:00
Gabor Juhos 6a95a13b12 generic: fix min/max confusion in jffs2_sum_init on 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 20:34:26 +00:00
Gabor Juhos 88b208c92e ar71xx: remove stray semicolons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:57:20 +00:00
Gabor Juhos 58792f7715 ar71xx: fix WLAN LEDs on the DIR-825 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:21 +00:00
Gabor Juhos f6cb39e467 ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:19 +00:00
Gabor Juhos 5c4c0790fe ar71xx: use usbdev trigger for USB LEDs by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:16 +00:00
Gabor Juhos 21a4f56bc6 generic: add LED trigger for USB device presence/activity
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:11 +00:00
Gabor Juhos 4d67ce0092 generic: add usb_find_device_by_name helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:08 +00:00
Gabor Juhos 60c7563a0a generic: nuke 2.6.33 specific stuff, is not used by any platform
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:04 +00:00
Gabor Juhos cfef002928 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:01 +00:00
Gabor Juhos 091b041480 ar71xx: populate LED configuration for WZR-HP-G300NH
Signed-off-by: Dave Lichterman <laviddichterman@gmail.com>

[nand-disk trigger has been removed - juhosg]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:09:57 +00:00
Hauke Mehrtens a7b7ba5ace 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 19:35:59 +00:00
Hauke Mehrtens 0436bd78c7 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 19:31:05 +00:00
Hauke Mehrtens 502ee787f9 brcm47xx: this patch went upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 19:26:55 +00:00
Gabor Juhos 5529e6f9b3 ar71xx: add wlan led for the TL-WR941ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 19:55:50 +00:00
Gabor Juhos 8d281ee209 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 19:55:47 +00:00
Imre Kaloz 2b5552ec34 revert r24604
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 12:24:27 +00:00
Alexandros C. Couloumbis 679e13ba53 target/linux: clean up non generic & obsolete kernel options for 2.6.36, 2.6.37
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 12:15:46 +00:00
Gabor Juhos 4d2ad41bd6 ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 18:01:04 +00:00
Gabor Juhos e9f3cd582e ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 18:01:00 +00:00
John Crispin e53e44a13e [lantiq]
* make the usb gpio configurable
* 105-header_xway.patch has a corrupt line count in it


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 13:02:49 +00:00
Gabor Juhos 5b6db1bc9c ramips: remove 2.6.3[24] support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:31 +00:00
Gabor Juhos f03060acbe ramips: switch to 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:29 +00:00
Gabor Juhos 91714565c1 ramips: handle OTG interrupt on the RT305x SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:25 +00:00
Imre Kaloz 491072cccf [sparc]: bump kernel version, add MAINTAINER entry
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 07:58:24 +00:00
Imre Kaloz dcaba4757f add plemininary ultrasparc support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 07:57:22 +00:00