Commit Graph

1123 Commits (9ac080fd3a8f46c378dbf97069e43c4046a3f642)

Author SHA1 Message Date
Jonas Gorski 0bfb50c645 kernel: fix CVE-2013-1763 in older kernels
Newer kernels were already fixed by upstream.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-12 10:55:12 +00:00
Jonas Gorski 966c5dcfa2 kernel: make zlib and lzo modules selectable
Fixes building kmod-lib-zlib and kmod-lib-lzo if nothing depends on them.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:50:07 +00:00
Hauke Mehrtens 8a7edb5896 kernel: b53: use correct oops for bcm5365 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:01:58 +00:00
Jonas Gorski c395ac1aef kernel: allow building zsmalloc as a module again
zsmalloc was changed to a bool because of missing exports in the kernel,
but we already export the required symbol, so change it back to tristate.

Closes #13481.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 19:19:36 +00:00
Gabor Juhos 12a1ab5243 kernel: update linux 3.9 to 3.9.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-08 08:53:55 +00:00
Gabor Juhos f4c75506c0 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-08 08:53:53 +00:00
Felix Fietkau 13cd8ba334 kernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is used by iproute2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 15:59:57 +00:00
Jonas Gorski a08aa46060 kernel: generic: don't strip /proc/irq on SMP
/proc/irq is needed for changing the SMP affinity of interrupts.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 15:28:12 +00:00
Gabor Juhos eeea332f33 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-01 22:15:18 +00:00
Gabor Juhos 690066c1f3 linux/3.9: implement pcibios_get_phb_of_node for MIPS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30 10:44:08 +00:00
Gabor Juhos 8666a10791 linux/3.8: use backported pcibios_get_phb_of_node patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30 10:44:07 +00:00
Gabor Juhos 152d6cd31f linux/3.{8,9}: add missing symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30 10:43:57 +00:00
Gabor Juhos c067474691 linux/3.{8,9}: turn on CONFIG_NET_SCH_FQ_CODEL
It is forced to 'y' since r36342.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30 10:43:56 +00:00
Hauke Mehrtens f5095240a5 kernel: fix a memory leak in split_rootfs_data()
allocate_partition() copies all the content of dpart into a new struct.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 17:01:56 +00:00
Hauke Mehrtens 585001781b kernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing master-2013-04-26.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 16:52:11 +00:00
Jonas Gorski 9aa9b6b482 kernel: update linux 3.9 patches to rc8
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 11:55:23 +00:00
Jonas Gorski aef5e526c7 kernel: add missing bcma defines and header file for bcrmfmac
Fixes build failure when having kmod-mmc and brcmfmac selected.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 11:10:42 +00:00
Gabor Juhos 14fec491c7 kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 16:55:42 +00:00
John Crispin d8d3d5959b generic: fix rtl8366_smi compile warning
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_sw_set_vlan_ports':
drivers/net/phy/rtl8366_smi.c:1125:6: warning: 'pvid' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:29 +00:00
Felix Fietkau 431e5b64bc kernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 15:01:36 +00:00
Felix Fietkau db175c1d34 kernel: backport SSB/BCMA changes in preparation for a compat-wireless update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19 12:39:40 +00:00
Gabor Juhos 927a2d3057 linux/3.9: add missing config symbol
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19 08:07:38 +00:00
Gabor Juhos 90ead29604 linux/3.[89]: update bridge_remove_ipv6_dependency patch
Fixes the following warning:

    CC [M]  net/ipv6/addrconf.o
  net/ipv6/addrconf.c: In function 'addrconf_init':
  net/ipv6/addrconf.c:4944:2: warning: assignment from incompatible pointer type [enabled by default]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19 08:07:37 +00:00
Gabor Juhos 5afe312fc7 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19 08:07:34 +00:00
Felix Fietkau 58a4084d28 kernel: force CONFIG_NET_SCHED=y for fq_codel (#13360)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 20:40:29 +00:00
Imre Kaloz b5b7a2db8b [generic/3.9]: refresh against -rc7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 16:10:01 +00:00
Gabor Juhos 9198c2f4ab kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-14 09:25:53 +00:00
Gabor Juhos b3b8aaa3b1 linux/3.8: backport 'spi/of: Use DT aliases for assigning bus number' from 3.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-12 19:44:38 +00:00
John Crispin d8aae3517b [geneirc] fix rtl8366s OF binding
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-12 18:56:05 +00:00
Felix Fietkau d72b418346 kernel: calibrate the TWD timer even when booting with only one CPU, it is used for the watchdog timer base
Fixes booting on single-core CNS3xxx devices

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 16:07:50 +00:00
Felix Fietkau 89cca284e2 kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:45:12 +00:00
Felix Fietkau 87f078aee9 kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fast
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:29 +00:00
Felix Fietkau 494a34245d kernel: keep dropped stats in fq_codel
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:25 +00:00
Felix Fietkau 967b13d79b kernel: tune fq_codel defaults for common netdevice speeds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:21 +00:00
Felix Fietkau 10e97fe11f kernel: add patches by Dave Täht to reduce buffer size in longer queues to reduce memory pressure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:16 +00:00
Florian Fainelli f79b8bc0ec kernel: refresh patches against 3.9-rc6
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 16:16:20 +00:00
Florian Fainelli 7251e4fdeb kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.c
Add support for PMC PM25LQ032 (4MB) SPI Flash used in Hame MPR-A1 and clones.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 16:16:16 +00:00
Florian Fainelli 5a27c63705 kernel: backport switch user API changes after r36283
3.3 and 3.6 kernels do not make use of the UAPI headers, still they need
to provide an up-to-date switch.h copy for swconfig to build.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 15:47:01 +00:00
John Crispin 7b7317fc25 [ramips] unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:39:01 +00:00
John Crispin 3dc6fbf96d [swconfig] allow loading port maps from OF
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:09 +00:00
Gabor Juhos 381a78c7e8 linux/3.8: implement pcibios_get_phb_of_node for MIPS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 17:33:03 +00:00
Gabor Juhos 9f4f28c91e linux/3.8: backport devm_ioremap_resource from 3.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 17:33:00 +00:00
Gabor Juhos 0a676cdd01 generic: rtl8367: add compatible string with vendor prefix
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 17:19:31 +00:00
Gabor Juhos 37e86c353c generic: rtl8367b: fix rtl8367b_extif_init_of
* disable external interface if its property is not present
* show an error message if the extif property is not valid
* use proper error values intead of -1
* fix memory leak
* wrap long lines

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 17:03:09 +00:00
Gabor Juhos c0a72756c4 linux/3.8: add more missing symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 16:56:47 +00:00
Gabor Juhos 5eab2bb70b linux/3.8: add missing symbol
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 16:38:36 +00:00
Gabor Juhos 4455e17963 generic: rtl8367: allow to load extif config from OF
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 12:37:36 +00:00
Gabor Juhos d705fd0c51 generic: rtl8367: fix a typo in MODULE_DEVICE_TABLE macro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 12:37:34 +00:00
Gabor Juhos b2b815c577 generic: rtl8367: add vendor prefix to the compatible string
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 12:37:32 +00:00
Gabor Juhos 67dfec2fa8 kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 11:40:44 +00:00
Gabor Juhos 049b5f3748 refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 11:40:41 +00:00
John Crispin c0d814a55f [kernel] Patch for invoking (pre)init
http://patchwork.openwrt.org/patch/3485/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:50 +00:00
John Crispin 927f4ae6ec [generic] add OF support to rtl8367b driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:58:33 +00:00
John Crispin 0f59629a24 [generic] make firmware loading work on v3.9
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:58:28 +00:00
Imre Kaloz 88c5f2bfbd [generic/3.9]: refresh patches against -rc4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 13:53:48 +00:00
Imre Kaloz a95842d490 [generic/3.9]: add missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 13:53:17 +00:00
Hauke Mehrtens 9a587eb82e kernel: add missing config options for au1000 target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 14:01:38 +00:00
Hauke Mehrtens c697edaab2 kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-21 14:56:04 +00:00
Hauke Mehrtens da8dfca256 kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected
This was turned from a silent confg option without a text to a normal 
config option which could be selected without any other option 
depending on this. This could cause the situation where REGMAP_SPI was 
selected without SPI_MASTER being selected.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-21 14:50:59 +00:00
Hauke Mehrtens 0efdcebf5d kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 21:59:24 +00:00
Hauke Mehrtens af64f497a3 kernel: add some missing config options for kernel 3.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 21:53:51 +00:00
Florian Fainelli 2b78201a90 kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-19 14:13:39 +00:00
Florian Fainelli e4dd05ab0b kernel: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:46:32 +00:00
Florian Fainelli d7bb11285d kernel: set regmap-core module license
Fixes the following issues:
[    7.660000] regmap_core: module license 'unspecified' taints kernel
[    7.690000] Disabling lock debugging due to kernel
[    7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0
[    7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0
[    7.720000] regmap_core: Unknown symbol devres_add (err 0
[    7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0
[    7.750000] regmap_core: Unknown symbol devres_alloc (err 0
[    7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0
[    7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0
[    7.780000] regmap_core: Unknown symbol devres_free (err 0
[    7.800000] regmap_core: Unknown symbol devres_find (err 0
[    7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:45:48 +00:00
Gabor Juhos 562eca38dc generic: ar8216: start AR8327 switch from the probe routine
The AR8327 switch gets its configuration from platform
data or from the device-tree. This allows to start it
from the probe routine. Doing so makes it usable with
ethernet drivers which only connects to the PHY device
when the ethernet interface is opened.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 16:06:28 +00:00
Gabor Juhos 07e8f60ec8 generic: ar8216: add ar8xxx_start helper
Move switch starting code into a separate function.
This makes it usable from other places.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 16:06:25 +00:00
Gabor Juhos bfcb790085 generic: ar8216: add OF configuration support for AR8327
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:50:08 +00:00
Gabor Juhos 74ed419c1c generic: ar8216: separate platform_data based AR8327 code
Move platform_data specific configuration code
into a separate routine. Do it in preparation
for the upcoming OF support.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:50:05 +00:00
Gabor Juhos 11d65c1f35 generic: ar8216: don't use platform_data in ar8327_init_port
Fetch the PORT_STATUS values in ar8327_hw_init and
store those in a private data stucture for later use.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:50:02 +00:00
Gabor Juhos 74e5f4fdb1 generic: ar8216: move the ar8327_get_port_init_status function
It will be used in ar8327_probe routine.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:50:00 +00:00
Gabor Juhos 106519bdbb generic: ar8216: simplify and rename ar8327_config_port
Return with the PORT_STATUS register value instead of
writing that directly into the corresponding register.
Also rename the function to ar8327_get_port_init_status.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:49:57 +00:00
Gabor Juhos 0d8238f7b3 generic: ar8216: remove superfluous pdata checks
The presence of the platform data is already verified in
ar8327_hw_init, and the driver does not start without that
anyway.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:49:55 +00:00
Gabor Juhos 84da566873 kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 14:39:51 +00:00
Florian Fainelli ddc8718f7f kernel: add support for 3.9-rc2
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 14:45:56 +00:00
John Crispin bbb2cf0b18 [base-files/generic] update the /init file to start /sbin/init
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 18:11:13 +00:00
Hauke Mehrtens f32b22c8c9 kernel: add some missing config options found by the buildbot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:25:19 +00:00
Felix Fietkau 3af0a3f4c6 kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 17:04:36 +00:00
Felix Fietkau 9695b598fb kernel: ensure that the arm exception handlers get preserved
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 17:04:31 +00:00
Felix Fietkau 5191a29832 kernel: use -ffunction-sections, -fdata-sections and --gc-sections on ARM to reduce kernel image size, disable those flags when tracing on MIPS to fix compile errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 14:51:42 +00:00
Gabor Juhos 8a147f2970 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:47 +00:00
Felix Fietkau 76c2afef66 kernel: add a missing config symbol for 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 19:04:37 +00:00
Felix Fietkau eda3f47aeb kernel: fix mpcore watchdog symbol export
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 18:51:39 +00:00
Gabor Juhos f90fa7f4b4 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:58:52 +00:00
Gabor Juhos 2d55cfeda8 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:58:10 +00:00
Gabor Juhos f4b2c62d60 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:57:40 +00:00
Gabor Juhos 09cf994598 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 16:52:34 +00:00
Jonas Gorski 45d8b5166b generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLAN
Setting this bit stops BCM53125 (bgmac actually) from receiving any
packets. This bit is cleared conditionally in b53_switch_reset and it
seems the same is done in bcmrobo.c which never sets that bit again.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:38 +00:00
Jonas Gorski 1dc038ecb4 generic: b53: remove empty spaces
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:36 +00:00
Gabor Juhos 91c3273df9 linux/3.8: add missing Kconfig symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 20:52:03 +00:00
Gabor Juhos 6b04db4e87 kernel: update linux 3.8-rcX to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 09:17:38 +00:00
Gabor Juhos 0b74564295 generic: ar8216: cleanup function/variable names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:48:25 +00:00
Gabor Juhos f7178a8d09 generic: ar8216: rename struct ar8216_priv to ar8xxx_priv
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:48:23 +00:00
Hauke Mehrtens 9f9982c1f7 brcm47xx: add initial support for kernel 3.8
This contains the following new bigger changes:
 * new partition parser which still could lake some features or have bugs
 * new nand flash driver
 * using physmap-flash flash driver for parallel flash
 * some changes to the serial flash driver

With these changes OpenWrt starts using more of the mainline flash drivers.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 20:28:24 +00:00
Jonas Gorski 8fec1177bf kernel: add missing config options
r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to
not build with PTP enabled.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:39:45 +00:00
Gabor Juhos 240c27a41f kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 07:36:15 +00:00
Gabor Juhos f31cd4f577 generic: ar8216: move PHY4 RGMII workaround code out of the loop
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 14:55:40 +00:00
Gabor Juhos e4468b8202 generic: ar8216: register the switch from the probe routine
Currently the switch gets registered when an ethernet
driver connects to a PHY of the switch. This method does
not work with the ethernet drivers which are connecting
to the PHY from their ndo_open callback. With those
ethernet drivers, the driver tries to register the switch
each time when the etherned device is opened and this causes
a deadlock.

Move the switch registration into the probe routine to fix
this problem.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 14:01:24 +00:00
Gabor Juhos 8601a4452e kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 09:51:11 +00:00
Gabor Juhos aa1758313e ar8216: remove superfluous code from ar8216_config_init
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:57:31 +00:00
Gabor Juhos 371e090665 generic: ar8216: don't use ethernet device name in register_switch
The switches are accessed via an MDIO bus. Set the alias
to the name of the MDIO bus, and show that in the message
along with the name of the switch switch device.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:11:31 +00:00