Commit Graph

6998 Commits (61e2e0331160559bd82469944e4f0a17f95f2935)

Author SHA1 Message Date
Jo-Philipp Wich 3b3103b2f1 turn status LED off if device finished initializing
SVN-Revision: 27341
2011-07-01 18:39:53 +00:00
Imre Kaloz 0ba94475c9 upgrade avr32 u-boot to 2011.06
SVN-Revision: 27330
2011-07-01 11:32:01 +00:00
Imre Kaloz 84c89fb02d upgrade to 2.6.39.2
SVN-Revision: 27329
2011-07-01 11:31:08 +00:00
Imre Kaloz b655c7c85a preliminary 3.0 support
SVN-Revision: 27328
2011-07-01 08:15:48 +00:00
Imre Kaloz 8222c7bb24 add missing kernel symbols
SVN-Revision: 27327
2011-07-01 08:11:16 +00:00
Felix Fietkau a41f80bca1 fix the gpio_dev driver: remove existing forward port patches, use unlocked_ioctl on all platforms and fix the arguments to the ioctl handler (based on patch from #9198)
SVN-Revision: 27322
2011-07-01 03:20:13 +00:00
Gabor Juhos f9e4619b97 ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H code
The config option has been removed in 2.6.39.

SVN-Revision: 27320
2011-06-30 12:15:33 +00:00
Hauke Mehrtens 8976fa2622 brcm47xx: deactivate wndr3400 for now as this device will not boot
SVN-Revision: 27316
2011-06-29 17:42:34 +00:00
Gabor Juhos d98476c6bd ar71xx: merge 2.6.39 patches
Also remove the old UART driver for ar933x.

SVN-Revision: 27314
2011-06-29 08:57:37 +00:00
Gabor Juhos 74a88749f3 ar71xx: remove 2.6.37 support as well
SVN-Revision: 27313
2011-06-29 08:57:36 +00:00
Gabor Juhos 1d5378f588 ar71xx: remove 2.6.38 support
SVN-Revision: 27312
2011-06-29 08:57:34 +00:00
Gabor Juhos 36e7a8b33e ar71xx: switch to 2.6.39
SVN-Revision: 27311
2011-06-29 08:57:33 +00:00
Gabor Juhos 6627574e57 ar71xx: add 2.6.39 support
SVN-Revision: 27310
2011-06-29 08:57:32 +00:00
Gabor Juhos 1e138098cd ar71xx: remove ar71xx_gpio_irq_set_type
SVN-Revision: 27309
2011-06-29 08:57:30 +00:00
Gabor Juhos 055e317ed8 ar71xx: add separate handlers for IP3 interrupts
SVN-Revision: 27308
2011-06-29 08:57:29 +00:00
Gabor Juhos 59bff8bf18 ar71xx: use separate handlers for IP2 interrupts
SVN-Revision: 27307
2011-06-29 08:57:28 +00:00
Gabor Juhos 9d6af600e1 ar71xx: remove useless irq_desc.status initializations
SVN-Revision: 27306
2011-06-29 08:57:27 +00:00
Gabor Juhos 01ac07c9b3 generic: add MTD_NAND_ECC_BCH symbol for 2.6.39/3.0
SVN-Revision: 27305
2011-06-29 08:57:25 +00:00
Hauke Mehrtens 8c62c5d109 brcm47xx: generate image to flash on Netgear WNDR3400.
The image will not boot because serial flash support is missing this is only for experts.

SVN-Revision: 27302
2011-06-28 22:23:21 +00:00
Hauke Mehrtens 4c18da3df6 brcm47xx: add initial support for devices with bcma bus.
Ethernet and wifi are not working and this is highly experimental.

SVN-Revision: 27301
2011-06-28 22:21:57 +00:00
Hauke Mehrtens 3f0eed15a2 kernel: refresh patches for kernel 3.0-rc5
SVN-Revision: 27300
2011-06-28 20:25:39 +00:00
Hauke Mehrtens 2af4f6f634 kernel: update ssb and bcma to linux-next next-20110628
SVN-Revision: 27299
2011-06-28 19:33:50 +00:00
Hauke Mehrtens c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
2011-06-28 19:30:58 +00:00
Imre Kaloz e80ebb769f ethernet cleanup and sata fix - thanks, Chris
SVN-Revision: 27297
2011-06-28 06:54:20 +00:00
Hauke Mehrtens 4c392185a6 brcm47xx: update kernel to version 2.6.39
SVN-Revision: 27296
2011-06-27 21:29:20 +00:00
Hauke Mehrtens ca979845cc kernel: update ssb and bcma to linux-next next-20110627
SVN-Revision: 27295
2011-06-27 21:28:40 +00:00
Hauke Mehrtens e439de144f brcm47xx: fix Linux-3.0 and fix clock rate detection.
SVN-Revision: 27294
2011-06-27 20:20:11 +00:00
Hauke Mehrtens c1873c46b8 kernel: update ssb and bcma to linux-next next-20110627
SVN-Revision: 27293
2011-06-27 20:18:49 +00:00
Jo-Philipp Wich 2c6bd71767 remove remaining uci-defaults
SVN-Revision: 27291
2011-06-27 01:42:31 +00:00
Florian Fainelli 9f63b7326f geos: deprecate uci-defaults files
Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 27287
2011-06-25 22:05:10 +00:00
Florian Fainelli 1f6047496e alix2: add config files for bridging
Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 27286
2011-06-25 22:05:05 +00:00
Florian Fainelli 3f40c0f7df remove gpiodev, prefer sysfs gpio
SVN-Revision: 27284
2011-06-25 19:26:17 +00:00
Felix Fietkau cc56af716c ar71xx: add default network config for wzr-hp-ag300h (based on a patch from #9607)
SVN-Revision: 27283
2011-06-25 13:54:42 +00:00
Felix Fietkau ed7f41792a ar71xx: bring up secondary radio on wzr-hp-ag300h (fixes #9608)
SVN-Revision: 27282
2011-06-25 13:48:47 +00:00
Florian Fainelli 85d29f3cd0 add missing linux-3.0 config symbol
SVN-Revision: 27269
2011-06-24 11:43:30 +00:00
Florian Fainelli f6e4eb15bc register SSB sprom after ethernet devices
In case the MAC address pool is not big enough to also register a SSB SPROM
prefer registering the Ethernet devices.

SVN-Revision: 27258
2011-06-22 12:32:03 +00:00
Florian Fainelli 5a76c6bdd7 fix tab damage in 141-led_count.patch
SVN-Revision: 27254
2011-06-21 20:52:58 +00:00
Florian Fainelli 3f0f8d9c87 fix and make usable kmod-pcmcia-rsrc
This module is also needed for e.g: kmod-bcm63xx-pcmcia

SVN-Revision: 27253
2011-06-21 20:52:53 +00:00
Hauke Mehrtens 1c0d5f5ae2 kernel: refresh patches for kernel 3.0-rc4
SVN-Revision: 27247
2011-06-21 18:39:47 +00:00
Florian Fainelli 9bdf6abb9d use macros to generate SPI registers table and switches
SVN-Revision: 27246
2011-06-21 10:05:51 +00:00
Florian Fainelli 6cb3195b40 fix usb mis-cleanup after r27162 (#9581)
SVN-Revision: 27243
2011-06-20 10:04:53 +00:00
Jo-Philipp Wich 70fb318a90 Restrict Soekris specific base-files handling to Soekris profiles, based on patch by Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27241
2011-06-19 23:05:21 +00:00
Jo-Philipp Wich 9cd64fa754 generic: Remove IPv6 depependency of bridge in 2.6.38+ Since 2.6.38 the bridge module has a dependency to IPv6 if IPv6 is enabled. Since the IPv6 module isn't exactly lightweight and bridge also only needs a single function from IPv6, it's rather easy to create a common "lib" module with a RCU pointer to the actual implementation, if the IPv6 module is loaded (although slightly hackish).
The codepath seems to be only taken when using IPv6, so there should be
no negative side effects when IPv6 isn't loaded. I did not measure how
big the performance impact is.

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

SVN-Revision: 27237
2011-06-19 22:48:53 +00:00
Florian Fainelli ab74628c10 dev-spi.c checks for running CPU, not board code
SVN-Revision: 27236
2011-06-19 20:46:00 +00:00
Florian Fainelli 4dd4cbeb43 fixup patches after r27234
SVN-Revision: 27235
2011-06-19 20:28:38 +00:00
Florian Fainelli 7819b530da remove accidental bcm6345 related patches
SVN-Revision: 27234
2011-06-19 20:16:59 +00:00
Florian Fainelli 12db3df666 remove support for 2.6.37 and 2.6.38
SVN-Revision: 27233
2011-06-19 20:14:22 +00:00
Florian Fainelli 6bb0a608dc switch to 2.6.39
SVN-Revision: 27232
2011-06-19 20:12:45 +00:00
Florian Fainelli bcada2640b remove 2.6.35 and 2.6.32 support
SVN-Revision: 27230
2011-06-19 20:09:40 +00:00
Florian Fainelli 67d0ca0b4b remove pre 2.6.39 patches and config
SVN-Revision: 27229
2011-06-19 20:09:00 +00:00
Florian Fainelli 34db3f9f86 remove 2.6.37 patches and config
SVN-Revision: 27228
2011-06-19 20:07:26 +00:00
Gabor Juhos e6af77a1c8 ar71xx: cleanup AR933X UART driver
SVN-Revision: 27222
2011-06-19 13:17:51 +00:00
Gabor Juhos 066e04d497 ar71xx: fix uart clock frequency for AR933X
SVN-Revision: 27221
2011-06-19 13:17:50 +00:00
Hauke Mehrtens 47e218c426 brcm47xx: refresh patches
SVN-Revision: 27219
2011-06-18 15:53:14 +00:00
Hauke Mehrtens 79a7343560 kernel: update to kernel 2.6.38.8
SVN-Revision: 27218
2011-06-18 15:52:15 +00:00
Hauke Mehrtens 75f9e0c615 brcm47xx: add support for kernel 3.0
SVN-Revision: 27217
2011-06-18 15:24:44 +00:00
Rod Whitby 710409740e ixp4xx: Removed kmod-madwifi from the NSLU2 profile, as the NSLU2 has not wifi capability out of the box.
SVN-Revision: 27202
2011-06-17 11:22:22 +00:00
Florian Fainelli b97459eb88 add missing USBIP_CORE item in config-3.0
SVN-Revision: 27195
2011-06-16 14:34:50 +00:00
Florian Fainelli 540b838998 allow any console to be used
SVN-Revision: 27193
2011-06-16 14:34:44 +00:00
Florian Fainelli 426dccd019 bcm63xx: Add support for Linux 3.0-rc3
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27192
2011-06-16 14:34:40 +00:00
Hauke Mehrtens 235e331987 linux/generic: Add support for 3.0-rc3
Also make linux identify itself properly as 3.0, not 3.0.0.

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

SVN-Revision: 27191
2011-06-15 21:31:01 +00:00
Hauke Mehrtens bf64ac730a bcm47xx: Remove kernel checks from image Makefile
2.4 isn't present anymore, so it will always be 2.6 (or newer). Since the
2.6 check will break with 3.0, remove it alltogether.

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

SVN-Revision: 27185
2011-06-15 21:11:49 +00:00
Jo-Philipp Wich 5752efdadd 2.6.39.1: missing kernel symbols If you turn on I2C, you'll need this symbol defined.
Signed-off-by: Philip A. Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27182
2011-06-15 18:18:32 +00:00
Felix Fietkau dcddcfca24 add missing kernel config symbols for usb on powerpc
SVN-Revision: 27181
2011-06-15 18:07:26 +00:00
Jo-Philipp Wich d39379296c backport upstream Kernel commit 1ed2f73d90fb49bcf5704aee7e9084adb882bfc5 (netfilter: IPv6: fix DSCP mangle code)
SVN-Revision: 27179
2011-06-15 14:11:33 +00:00
Jo-Philipp Wich 14913ab8b0 revert r26997, it does not apply against 2.6.36.4
SVN-Revision: 27178
2011-06-15 13:51:57 +00:00
Florian Fainelli 685a61eb6c switch to 2.6.39
SVN-Revision: 27175
2011-06-14 20:05:13 +00:00
Florian Fainelli 0fb8884efe fix diag.sh with qube2 front led
SVN-Revision: 27174
2011-06-14 20:05:09 +00:00
Florian Fainelli dee0010ae2 resync kernel config
SVN-Revision: 27173
2011-06-14 20:05:03 +00:00
John Crispin 0732b2db78 Fix for bug where the iniatialisation of the MAC data private strucure
is copied into the wrong location.

Ticket #9547

Signed-off-by: Conor O'Gorman <conor at dna.ie>

SVN-Revision: 27172
2011-06-13 22:37:23 +00:00
Florian Fainelli 7a96525a6f replace unfortify patch with a better one
Thanks to Richard Weinberger for providing this patch

SVN-Revision: 27168
2011-06-13 12:45:12 +00:00
Gabor Juhos b7e016ba42 ar71xx: use ar933x_uart.h in the AR933X serial driver
SVN-Revision: 27166
2011-06-13 08:12:40 +00:00
Gabor Juhos b58ede16a5 ar71xx: update early_printk code
SVN-Revision: 27165
2011-06-13 08:12:38 +00:00
Florian Fainelli 6a5112a750 cleanup files using checkpatch.pl
SVN-Revision: 27162
2011-06-12 19:17:57 +00:00
John Crispin fa59bb0958 * move patches around * add basic support for gigaset sx76x
SVN-Revision: 27158
2011-06-12 08:56:26 +00:00
Vasilis Tsiligiannis 70106f153d Remove trailing spaces, convert spaces to tabs
SVN-Revision: 27153
2011-06-09 19:30:50 +00:00
John Crispin e3e2a170cd we dont need 1024 bytes buffer. 128 bytes is enough.
SVN-Revision: 27143
2011-06-09 07:08:54 +00:00
John Crispin 8329ecf92c * revert accidental config change
SVN-Revision: 27142
2011-06-09 05:10:18 +00:00
John Crispin ed0e649a5b * fixes spi flash for ar9
* adds limited support for netgear dgn3500 (enough for others to start working with)

SVN-Revision: 27137
2011-06-08 17:57:55 +00:00
Felix Fietkau 9160e06af5 ar71xx: override inittab to enable login on ttyATH0
SVN-Revision: 27128
2011-06-07 17:07:10 +00:00
Florian Fainelli e7b6721f4e update to 2.6.39.1
SVN-Revision: 27114
2011-06-04 18:27:14 +00:00
Florian Fainelli d97f50b69b define UIMAGE for various rootfs targets
SVN-Revision: 27113
2011-06-04 18:27:09 +00:00
Florian Fainelli 429745edd6 use IMG_PREFIX for image name
SVN-Revision: 27112
2011-06-04 18:27:04 +00:00
Florian Fainelli 4aaf590909 add more config symbols to 2.6.39
SVN-Revision: 27111
2011-06-04 18:27:00 +00:00
Florian Fainelli 89dd8aed1f update to 2.6.39.1
SVN-Revision: 27110
2011-06-04 18:26:54 +00:00
Florian Fainelli 72996d2dcb update to 2.6.39.1
SVN-Revision: 27107
2011-06-04 13:36:09 +00:00
Florian Fainelli 20c0427132 update to 2.6.39.1
SVN-Revision: 27106
2011-06-04 13:36:05 +00:00
Florian Fainelli de2e05b6f2 add some missing 2.6.39 config symbols
SVN-Revision: 27105
2011-06-04 13:36:00 +00:00
Florian Fainelli 763b58c30c update to 2.6.39.1
patch from Peter Wagner

SVN-Revision: 27104
2011-06-04 13:35:55 +00:00
Gabor Juhos 13363d9129 ar71xx: setup wdt_clock for AR913X to avoid a kernel bug
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27102
2011-06-04 12:30:10 +00:00
Gabor Juhos ae2cbfa1e8 ar71xx: select the internal antenna by default on the ZCN-1523H boards
SVN-Revision: 27101
2011-06-04 12:30:09 +00:00
Florian Fainelli 0de25d1263 update to 2.6.39
SVN-Revision: 27090
2011-06-02 13:45:20 +00:00
Felix Fietkau 31dd60689e Revert "ar71xx: only enable the rx engine after the link is up..."
It messes up the DMA state when the link goes down

SVN-Revision: 27088
2011-06-01 18:15:43 +00:00
Gabor Juhos 750af1522b ar71xx: init external_reset for AR933X
SVN-Revision: 27083
2011-06-01 13:12:30 +00:00
Gabor Juhos af4cae4498 ar71xx: add external_reset field to ath9k_platform_data
SVN-Revision: 27082
2011-06-01 13:12:28 +00:00
Gabor Juhos f0c7b93e5d ar71xx: init get_mac_revision on AR9330 rev 1
SVN-Revision: 27081
2011-06-01 13:12:27 +00:00
Gabor Juhos 1a54e33c17 ar71xx: add get_mac_revision to ath9k_platform_data
SVN-Revision: 27080
2011-06-01 13:12:26 +00:00
Gabor Juhos 34ff32a6eb ar71xx: export SoC revision
SVN-Revision: 27079
2011-06-01 13:12:24 +00:00
Imre Kaloz 2440175978 refresh patches
SVN-Revision: 27078
2011-06-01 07:24:41 +00:00
Imre Kaloz aafa838d77 fixup second led, patch from Chris
SVN-Revision: 27077
2011-06-01 07:21:25 +00:00
Felix Fietkau 86dbc3a02d ar71xx: add profile and image building code for wzr-hp-ag300h
SVN-Revision: 27076
2011-06-01 02:23:30 +00:00
Felix Fietkau 4f06b8263a ar71xx: add kernel support for the buffalo wzr-hp-ag300h
SVN-Revision: 27075
2011-06-01 02:23:26 +00:00
Felix Fietkau 56dd5c4388 fix a crash in mtd_concat when the .sync op is not implemented
SVN-Revision: 27074
2011-06-01 02:23:22 +00:00
Felix Fietkau 628cb35179 m25p80: add the chip id for the winbond w25q128 chip
SVN-Revision: 27073
2011-06-01 02:23:18 +00:00
Imre Kaloz acbb2db5e2 fixup pcie clock, thanks Chris
SVN-Revision: 27072
2011-05-31 23:55:33 +00:00
Gabor Juhos 33fdc21d40 ar71xx: build images for the AP121 boards
SVN-Revision: 27070
2011-05-31 22:53:47 +00:00
Gabor Juhos 9e435c03e0 ar71xx: add sysupgrade support for the AP121 boards
SVN-Revision: 27069
2011-05-31 22:53:45 +00:00
Gabor Juhos 646937135f ar71xx: add default network config for the AP121 boards
SVN-Revision: 27068
2011-05-31 22:53:44 +00:00
Gabor Juhos f332dbd7be ar71xx: add support for the AP121/AP121-MINI reference boards
SVN-Revision: 27067
2011-05-31 22:53:43 +00:00
Gabor Juhos 8beff081eb ar71xx: register UART for the AR933X SoCs
SVN-Revision: 27066
2011-05-31 22:53:42 +00:00
Gabor Juhos b460bc6f12 ar71xx: add serial driver for the AR933X UART
SVN-Revision: 27065
2011-05-31 22:53:40 +00:00
Gabor Juhos c34e0cbc4c ar71xx: add WMAC initialization code for the AR933X SoCs
SVN-Revision: 27064
2011-05-31 22:53:39 +00:00
Gabor Juhos e8a0aaf9a2 ar71xx: add ethernet initialization for the AR933X SoCs
SVN-Revision: 27063
2011-05-31 22:53:37 +00:00
Gabor Juhos e0a0f3796a ar71xx: enable USB support for the AR933x SoCs
SVN-Revision: 27062
2011-05-31 22:53:36 +00:00
Gabor Juhos 677c80ee17 ar71xx: add AR933x specific glue for ar71xx_device{start,stop}
SVN-Revision: 27061
2011-05-31 22:53:35 +00:00
Gabor Juhos 88c45e3130 ar71xx: the watchdog uses the reference clock on the AR933x SoCs
SVN-Revision: 27060
2011-05-31 22:53:34 +00:00
Gabor Juhos 7acbacab8c ar71xx: add AR933x specific glue code for IRQ initialization
SVN-Revision: 27059
2011-05-31 22:53:32 +00:00
Gabor Juhos e6fde61bec ar71xx: don't register 8250 UART on the AR933x SoCs
SVN-Revision: 27058
2011-05-31 22:53:31 +00:00
Gabor Juhos 8f7541a044 ar71xx: enable GPIO support for the AR933x SoCs
SVN-Revision: 27057
2011-05-31 22:53:30 +00:00
Gabor Juhos e11b9c8371 ar71xx: add AR933x specific frequency initialization code
SVN-Revision: 27056
2011-05-31 22:53:29 +00:00
Gabor Juhos 0bf4478d37 ar71xx: add AR933x specific early_printk support
SVN-Revision: 27055
2011-05-31 22:53:27 +00:00
Gabor Juhos 6b3ca9ef0b ar71xx: add preliminary support for the Atheros AR933x SoCs
SVN-Revision: 27054
2011-05-31 22:53:26 +00:00
Gabor Juhos 761e67b394 ar71xx: stop producing -NA factory images and tag factory images with hd_id for WNDR3700v2
NETGEAR doesn’t produce a distinct North American image for
WNDR3700v2, they use the same image worldwide. This is a change from
earlier models such as WNDR3700 (v1). NETGEAR's v2 images now contain
an "hd_id" parameter, as well. All observed WNDR3700v2, WNDR3800, and
WNDRMAC images use 29763654+16+64 as their hd_id value.

This patch changes the OpenWrt WNDR3700v2 "factory" image generation
to stop producing the extraneous -NA version and to tag the image with
the same hd_id used in NETGEAR's images.

There is no change to WNDR3700 (v1) image generation, as NETGEAR
continues to produce distinct -NA and worldwide images, neither of
which are tagged with hd_id.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 27053
2011-05-31 22:53:25 +00:00
Gabor Juhos c8d182406d ar71xx: create factory images for the WZR-HP-G30{0,1}NH boards
SVN-Revision: 27051
2011-05-31 22:53:22 +00:00
Gabor Juhos 0677e16248 ar71xx: Fix header offset for newer WRT160NL models
Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K,
resulting in miscalculated partition sizes.
Since the actual sizes did not change, hardcode them to their current
sizes, and make sure they are at least one erase block big (in case Cisco
decides to start to use chips with 128K erase blocks).

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

SVN-Revision: 27049
2011-05-31 22:53:20 +00:00
Gabor Juhos be97e2a043 ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
SVN-Revision: 27048
2011-05-31 22:53:19 +00:00
Gabor Juhos ea2f6d0edf ar71xx: reduce the size of the squashfs-4k binaries
SVN-Revision: 27047
2011-05-31 22:53:18 +00:00
Gabor Juhos 5d5f72415e ar71xx: initialize is_clk_25mhz field for AR9340 WMAC
SVN-Revision: 27045
2011-05-31 22:53:15 +00:00
Gabor Juhos f7b3c3dfd1 ar71xx: sync ath9k_platform_data.h with compat-wireless
SVN-Revision: 27044
2011-05-31 22:53:14 +00:00
Gabor Juhos 650c7cc2fd ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
SVN-Revision: 27043
2011-05-31 22:53:13 +00:00
Gabor Juhos 4834fdaccd ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
SVN-Revision: 27042
2011-05-31 22:53:12 +00:00
Gabor Juhos 60d5abbc27 ar71xx: ag71xx: make ring sizes configurable via ethtool
SVN-Revision: 27041
2011-05-31 22:53:10 +00:00
Gabor Juhos 7a2651f633 ar71xx: ag71xx: prepare to make ring sizes configurable
SVN-Revision: 27040
2011-05-31 22:53:09 +00:00
Gabor Juhos 669aba3871 ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define
Reported-by: Dave Täht <dave.taht@gmail.com>

SVN-Revision: 27039
2011-05-31 22:53:07 +00:00
Felix Fietkau 9567b93e5c x86: add additional companion chip drivers to alix2 and geos
Add the MFGPT high precision timers, and integration into the schedule (clock events).

Use OHCI, not UHCI usb module.

Remove VIA SATA driver from Alix2... that was accidentally cloned from net5501 platform.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27038
2011-05-31 16:57:05 +00:00
Felix Fietkau 68af223efe x86: remove pata-amd driver from generic x86 images, add addition cs553x modules
The pata-cs5535/pata-cs5536 driver is actually fairly rare: it only gets used on embedded platforms. Therefore, we remove it from the generic x86 configuration.

Also, add definitions for other useful geode modules (high-res timers, MFGPT timers, etc).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27037
2011-05-31 16:57:01 +00:00
Mirko Vogt ba5b3ece5d purge out CONFIG_CRYPTO* symbols out of target specific kernel configs since OpenWrt is taking care of them
SVN-Revision: 27036
2011-05-31 09:47:30 +00:00
Felix Fietkau 2b5402d128 ar71xx: only enable the rx engine after the link is up, fixes a race condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo)
SVN-Revision: 27035
2011-05-30 23:08:01 +00:00
Felix Fietkau 0ebc93831f ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames
SVN-Revision: 27034
2011-05-30 23:07:57 +00:00
Imre Kaloz f738ca7b9c upgrade to 2.6.39
SVN-Revision: 27030
2011-05-30 13:55:34 +00:00
John Crispin 6608f419d1 * backport 2.6.8 patches to .39 / .32.33
* remove lqtapi
* bump tapi/dsl to .39
* migrate to new ltq_ style api
* add amazon_se support

SVN-Revision: 27026
2011-05-29 21:19:26 +00:00
Florian Fainelli 016e8dee34 bcm63xx: Add support for 2.6.39
Add support for Kernel 2.6.39. Boots fine on a BCM6358.

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

SVN-Revision: 27019
2011-05-27 09:54:52 +00:00
Florian Fainelli 590c82cec1 bcm63xx: Add support for 2.6.38
Add support for Kernel 2.6.38, based on 2.6.38.6. Boots fine on a BCM6358.

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

SVN-Revision: 27018
2011-05-27 09:54:48 +00:00
Florian Fainelli 68cb138154 fold 446-board-D4PW_correction.patch in 440-board-D4PW.patch
SVN-Revision: 27014
2011-05-26 13:53:00 +00:00
Florian Fainelli 762885081a renumber patches accordingly
SVN-Revision: 27013
2011-05-26 13:52:56 +00:00
Florian Fainelli 2785e3fc12 renumber board patches
SVN-Revision: 27012
2011-05-26 12:09:15 +00:00
Hauke Mehrtens 6f7ae75ffa kernel: exportfs: reallow building as a module
It was originally tristate, but was changed to bool to prevent a build
breakage in an earlier patch revision (for a new syscall). The actual
commit[1] changed it in a way this isn't needed anymore, but
accidentially left the EXPORTFS change in. There's no reason for it
not being buildable as a module, so changing it back to tristate is
fine.

see: https://patchwork.kernel.org/patch/812832/

Thank you Jonas Gorski for the patch.

SVN-Revision: 27011
2011-05-25 20:57:13 +00:00
Hauke Mehrtens 6769216a64 kernel: generic: Update 2.6.39 to final
* Add missing config symbols
* Update package/kernel for 2.6.39

CONFIG_BT_L2CAP=y and CONFIG_BT_SCO=y are set to build them into the bluetooth module.

Thank you Jonas Gorski for the patch

SVN-Revision: 27010
2011-05-25 19:51:40 +00:00
Hauke Mehrtens c69f2d8788 kernel: some updates for kernel 2.6.39
* add md5sum for kernel
* add some missing config symbols
* add some ssb patches to make compat-wireless compile

Thank you Peter Wagner for the patch

SVN-Revision: 27009
2011-05-25 19:32:00 +00:00
Hauke Mehrtens 8137e35a5d brcm47xx: initial 2.6.39 support for brcm47xx
Thank you Peter Wagner for the patch

SVN-Revision: 27008
2011-05-25 19:27:08 +00:00
Florian Fainelli fad3f46f0d fix mtd warnings
Fixes for the following warnings:

drivers/mtd/devices/block2mtd.c: In function '_open_bdev':
drivers/mtd/devices/block2mtd.c:272:3: warning: ISO C90 forbids mixed declarations and code
drivers/mtd/devices/block2mtd.c: In function 'add_device':
drivers/mtd/devices/block2mtd.c:399:13: warning: assignment discards qualifiers from pointer target type

In the case of 442-block2mtd_probe.patch, it's not until the insertion of a executable statement before the definition that causes a warning, so I've chosen to resolve the issue here by splitting the definition and the initialization into a definition and a statement (and assignment) instead.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27007
2011-05-25 19:16:58 +00:00
Hauke Mehrtens f5f989e3fb brcm47xx: remove old kernel
SVN-Revision: 27006
2011-05-25 18:05:54 +00:00
Hauke Mehrtens 06166b01dd brcm47xx: fix partition layout on SimpleShare devices.
The flash driver code should be cleaned up and the broad detection code should be placed into arch code and used here.

This fixes #9323

Thank you Will Holmes for the patch.

SVN-Revision: 27005
2011-05-25 17:46:34 +00:00
Hamish Guthrie 50d2a84a21 Clean up patch not applying
SVN-Revision: 26997
2011-05-24 10:00:36 +00:00
Florian Fainelli 16dfe8b4d1 add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

SVN-Revision: 26959
2011-05-20 10:06:25 +00:00
Florian Fainelli 6c8387fe15 add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

SVN-Revision: 26958
2011-05-20 10:06:22 +00:00
Florian Fainelli 031ea08ef0 refresh patches
SVN-Revision: 26957
2011-05-20 10:06:18 +00:00
Florian Fainelli 3e83f60a66 add support for D-Link DVA-G3810BN/TL
This patch adds support for D-Link's DVA-G3810BN/TL product.

Signed-off-by: Roman Dumycz <roman@secureas.com>

SVN-Revision: 26956
2011-05-20 10:06:15 +00:00
Florian Fainelli f9f8dcfa70 refresh 2.6.37 patches
SVN-Revision: 26955
2011-05-20 10:06:11 +00:00
Florian Fainelli f0a99c1692 add support for BT Voyager 2500 (#9070)
SVN-Revision: 26954
2011-05-20 10:06:07 +00:00
Florian Fainelli acf0ec224f add support for USR9108 LEDs (#9372)
SVN-Revision: 26953
2011-05-20 10:06:04 +00:00
Florian Fainelli 58b5a2ca7b add GT701 LEDs support (#9382)
SVN-Revision: 26952
2011-05-20 10:06:00 +00:00
Daniel Dickinson f2c86a3835 Simple typo for kmod- prefix in alix2 target makefile.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26945
2011-05-19 04:29:40 +00:00
Hamish Guthrie 54415a28d6 Remove override of max80211.sh
SVN-Revision: 26936
2011-05-18 12:43:54 +00:00
Hamish Guthrie e7dfadd012 Move beagleboard base-files to beagleboard sub-target, remove unused mac80211.sh
SVN-Revision: 26932
2011-05-18 11:50:36 +00:00
Matteo Croce 17e257925f ar71xx: don't probe the LAN PHY
SVN-Revision: 26924
2011-05-17 11:15:24 +00:00
Matteo Croce 4deecea26b ar71xx: detect link on LAN ports
SVN-Revision: 26922
2011-05-17 11:12:56 +00:00
John Crispin dfc19a34b4 * adds support for Artec Thincan
Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com>

SVN-Revision: 26919
2011-05-17 10:35:14 +00:00
Felix Fietkau 894d50da25 kernel: backport some ssb changes to support a mac80211 update
SVN-Revision: 26911
2011-05-16 21:50:20 +00:00
Jo-Philipp Wich d475545c91 remove an accidentally copied comment from the option.ko device patch
SVN-Revision: 26908
2011-05-15 21:28:12 +00:00
Jo-Philipp Wich 43e002fe5e add definitions for Alcatel X220D and Huawai E173s to option.ko (#9422)
SVN-Revision: 26906
2011-05-15 19:17:31 +00:00
Hauke Mehrtens a4c0645326 kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patches
Thank you Peter Wagner for the patch. I refreshed the kernel patches and added the md5sum of the kernel.

SVN-Revision: 26905
2011-05-15 17:23:02 +00:00
Matteo Croce 2ea528d1d0 ar71xx: add link detection on Ubiquiti devices WAN port
SVN-Revision: 26891
2011-05-14 23:31:50 +00:00
Matteo Croce c0c2e18452 use correct macros and frame size in ag71xx
SVN-Revision: 26890
2011-05-14 23:10:06 +00:00
Matteo Croce 99d1d4f795 ar71xx: cosmetic fixes
SVN-Revision: 26889
2011-05-14 23:08:00 +00:00
Hamish Guthrie d6e96fd7d8 Add new defconfig and profile for es variant
SVN-Revision: 26884
2011-05-13 11:49:52 +00:00
Hamish Guthrie abd4a7df35 Squash uids
SVN-Revision: 26883
2011-05-13 10:36:39 +00:00
Daniel Dickinson 09e0d10010 Removed Alix.mk profile which was accidently left as an empty file applying the patch during r26879 and r26880.
SVN-Revision: 26882
2011-05-13 07:23:11 +00:00
Daniel Dickinson 8d66bf7e72 Add missed files from previous commit: This patch provides an image suitable for the alix2*, alix3, and alix6 headless (non-VGA equipped) SBC's.
Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker.

GPIO 1 : SIM select (Alix6)
GPIO 6 : LED1
GPIO 25 : LED2
GPIO 27 : LED3 or RFKILL (Alix6)

GPIO 24 : Soft switch 1

No kernel version bump.  Added i2c-scx200-acb for lm-sensors support.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26880
2011-05-13 06:08:49 +00:00
Daniel Dickinson 937362f270 This patch provides an image suitable for the alix2*, alix3, and alix6 headless (non-VGA equipped) SBC's.
Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker.

GPIO 1 : SIM select (Alix6)
GPIO 6 : LED1
GPIO 25 : LED2
GPIO 27 : LED3 or RFKILL (Alix6)

GPIO 24 : Soft switch 1

No kernel version bump.  Added i2c-scx200-acb for lm-sensors support.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26879
2011-05-13 06:06:42 +00:00
Florian Fainelli 9c8a2d5961 bcm63xx: Add support for the T-Home Speedport W 303V
Add the required board definition, default config and image generation for
the T-Home Speedport W 303V Typ B.

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

SVN-Revision: 26878
2011-05-11 13:34:14 +00:00
Florian Fainelli 7d3b735854 bcm63xx: Update support for the DSL-274xB revision C
Rename the DSL-274xB rev C2's board ID to "AW4139" to match the one used
for the rev C3 (same hardware) and add a fixup for C2. Also generate
images for C3.

While we are at it, rename the LEDs to conform to the Linux LED naming
conventions.

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

SVN-Revision: 26876
2011-05-11 13:33:50 +00:00
Florian Fainelli 0fb1c2d537 bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26875
2011-05-11 13:33:45 +00:00
Florian Fainelli c6af9c23b7 bcm63xx: Decouple Board ID and image name for fixup
Make the fixup board ID independent from the image name to allow using
the same board ID for similar devices.

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

SVN-Revision: 26874
2011-05-11 13:33:41 +00:00
Florian Fainelli 4ea316216a switch to 2.6.38
SVN-Revision: 26873
2011-05-11 13:33:34 +00:00
Florian Fainelli 3fc33726a5 add missing 2.6.38 touchscreen config symbols
SVN-Revision: 26872
2011-05-11 13:33:30 +00:00
John Crispin 60c125b8e6 (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC
This patch adds 802.1Q VLAN support for the ADM6996M chip.

The driver is loaded for both the FC and M model. It will detect which of the
two chips is connected. The FC model is initialised, but no further
functionality is offered.

The PHY driver will always report "100 Mbit/s, link up", for both the M and FC
models. This reflects the fact that the link between switch chip and Ethernet
MAC is always on[1].

Further documentation can be found in the kernel's
Documentation/networking/adm6996.txt

Signed-of-By: Peter Lebbing <peter@digitalbrains.com>

SVN-Revision: 26865
2011-05-09 15:21:58 +00:00
Gabor Juhos 9b5036a29d ar71xx: populate LED3 on the JA76PF board
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

SVN-Revision: 26862
2011-05-08 21:38:51 +00:00
Gabor Juhos b39eebdf1e ar71xx: add uci config for the WLAN LED on the WRT160NL
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>

SVN-Revision: 26861
2011-05-08 21:38:49 +00:00
Gabor Juhos 858e2e719b ar71xx: use phy0tpt trigger for the WLAN LEDs
SVN-Revision: 26860
2011-05-08 21:38:48 +00:00
Gabor Juhos 869f3cb718 ar71xx: remove superfluous fifo_cfg overrides
SVN-Revision: 26859
2011-05-08 21:38:46 +00:00
Travis Kemen bc121d5706 ipv6: restore correct ECN handling on TCP xmit Thanks Dave Taht
SVN-Revision: 26858
2011-05-08 17:08:06 +00:00
Gabor Juhos 5d77f370d6 ar71xx: ag71xx: make switch register access atomic
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.

This is easily noticable during an iperf session:

...
[  3] 52.0-53.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 53.0-54.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[  3] 54.0-55.0 sec  6.75 MBytes  56.6 Mbits/sec
[  3] 55.0-56.0 sec  0.00 Bytes  0.00 bits/sec
[  3] 56.0-57.0 sec  10.5 MBytes  88.1 Mbits/sec
...
[  3] 169.0-170.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 170.0-171.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[  3] 171.0-172.0 sec  7.63 MBytes  64.0 Mbits/sec
[  3] 172.0-173.0 sec  9.38 MBytes  78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[  3] 173.0-174.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 174.0-175.0 sec  11.4 MBytes  95.4 Mbits/sec

SVN-Revision: 26856
2011-05-08 16:32:53 +00:00
Gabor Juhos 3711658281 ar71xx: ag71xx: fix section mismatch warnings
The function __devinit ag71xx_probe() references
a function __devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.

The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the __devexit annotation of
ag71xx_ar7240_cleanup.

SVN-Revision: 26855
2011-05-08 13:30:36 +00:00
Gabor Juhos ef53029870 ar71xx: ag71xx: fix build error if debugfs is enabled
SVN-Revision: 26854
2011-05-08 13:30:26 +00:00
Hauke Mehrtens 732abc44cc brcm47xx: update patches
SVN-Revision: 26846
2011-05-07 12:49:17 +00:00
Gabor Juhos 8b67d748cb ar71xx: ag71xx: add debugfs entry for [rt]x_ring
SVN-Revision: 26845
2011-05-07 12:40:34 +00:00
Gabor Juhos 2166432ba0 ar71xx: ag71xx: add timestamps to ag71xx_buf
SVN-Revision: 26844
2011-05-07 12:40:28 +00:00
Gabor Juhos 896e1d1ab4 ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
SVN-Revision: 26843
2011-05-07 12:40:26 +00:00
Gabor Juhos a6708d20d1 ar71xx: ag71xx: use debugfs_remove_recursive
SVN-Revision: 26842
2011-05-07 12:40:25 +00:00