Commit Graph

307 Commits (59eb6137dd51d4cb1215c191230911a092745601)

Author SHA1 Message Date
Gabor Juhos 8daeba6d47 atheros: fix kernel warning about usage of reset gpio
During a reset the gpiolib warns about using the reset gpio
without explicit requesting it before:

[  147.930000] ------------[ cut here ]------------
[  147.930000] WARNING: at drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x68/0xcc()
[  147.930000] autorequest GPIO-5
[  147.930000] Modules linked in: ath5k ath mac80211 ipv6 cfg80211 compat arc4 crypto_blkcipher aead gpio_button_hotplug
[  147.930000] Call Trace:
[  147.930000] [<8004e3bc>] dump_stack+0x8/0x34
[  147.930000] [<80058430>] warn_slowpath_common+0x78/0xa4
[  147.930000] [<800584e4>] warn_slowpath_fmt+0x2c/0x38
[  147.930000] [<80166f18>] gpio_ensure_requested+0x68/0xcc
[  147.930000] [<80167264>] gpio_direction_output+0xdc/0x168
[  147.930000] [<8004aba8>] ar2315_restart+0x28/0x54
[  147.930000] [<80069778>] sys_reboot+0x178/0x1c0
[  147.930000] [<80043670>] stack_done+0x20/0x40
[  147.930000]
[  147.930000] ---[ end trace 2c7a53d8549562d6 ]---

This is fixed with this patch by using another gpiolib api call
which includes the missing request.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38183
11 years ago
Gabor Juhos 0380904acb kernel/3.10: refresh all target patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38182
11 years ago
Gabor Juhos 043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

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

SVN-Revision: 37832
11 years ago
Gabor Juhos e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

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

SVN-Revision: 37546
11 years ago
John Crispin 9181c569c4 linux/atheros: add 3.10 kernel support
SVN-Revision: 37513
11 years ago
Jonas Gorski 1beaf031d1 target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36863
11 years ago
Gabor Juhos 46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
11 years ago
Jonas Gorski 526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
11 years ago
Gabor Juhos e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
11 years ago
Jo-Philipp Wich 6ac2b3b76a atheros: remove static gpio_request() from board setup and include generic kmod-gpio-button-hotplug instead.
This change is based on a patch by Karl Palsson <karlp@remake.is>
See http://patchwork.openwrt.org/patch/3536/.

SVN-Revision: 36513
11 years ago
Gabor Juhos 8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
11 years ago
Gabor Juhos f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
11 years ago
Gabor Juhos 36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
11 years ago
Gabor Juhos 151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
11 years ago
Gabor Juhos 604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
11 years ago
Gabor Juhos f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
11 years ago
Gabor Juhos 07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

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

SVN-Revision: 36039
11 years ago
Gabor Juhos 82dc64b19b atheros: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35926
11 years ago
Gabor Juhos 5b8e106ae6 atheros: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35925
11 years ago
Gabor Juhos 26fbc15a86 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35862
11 years ago
Gabor Juhos 9cc3a60b5a atheros: add support for linux kernel v3.8
This builds and boots.

Because of the function pointer indirection (e.g. mtd_info's read
function pointer is assigned to spiflash_read), it is difficult for me
to understand where the calls are coming from (could be anywhere,
conditionally pointing at spiflash versions), so I punted and used the
renamed function pointers (_erase, _read, _write).  If someone knows
better what to do, please fix.

Cleaned up other sundry kernel tracking issues like get_phy_id and
__devinit,etc.

[juhosg: don't switch to that yet]

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35727
11 years ago
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
12 years ago
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
12 years ago
Gabor Juhos 1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34403
12 years ago
John Crispin 5f30fe31b6 move redboot boardconfig patch into target folder
SVN-Revision: 34166
12 years ago
John Crispin 6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
12 years ago
John Crispin ba6751058b gpiodev/gpioctl RIP
SVN-Revision: 33725
12 years ago
John Crispin 0afc7b9b6d add support for adm6996 phy
SVN-Revision: 33592
12 years ago
Florian Fainelli 4a67ccb163 get rid of the IRQF_SAMPLE_RANDOM flag
SVN-Revision: 33558
12 years ago
John Crispin 0ba7b18cfd Add leds back after migration to sysfs
atheros trunk moved to full sysfs gpiolib, but the leds were forgotten.
This restores the wlan led that was missing after switching from backfire
to trunk.

Signed-off-by: Karl Palsson <karlp@remake.is>

SVN-Revision: 32885
12 years ago
John Crispin a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
12 years ago
Gabor Juhos 2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
12 years ago
Gabor Juhos 39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
12 years ago
Gabor Juhos b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
12 years ago
Gabor Juhos 34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
12 years ago
Jo-Philipp Wich 1a01559520 atheros: Fix compilation
With our recent switch to the 3.3 kernel target, some headers were
occidentally omitted.

Signed-off-by: Jonathan Bither <jonbither@gmail.com>

SVN-Revision: 31640
12 years ago
Felix Fietkau 0ff3c396d3 kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
SVN-Revision: 31637
12 years ago
Felix Fietkau 7799c88aa4 atheros: clean up the patches some more
SVN-Revision: 31626
12 years ago
Felix Fietkau 9b20187ad5 atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer kernels
SVN-Revision: 31625
12 years ago
John Crispin 934eef78ca convert to gpiolib
Signed-off-by:	karlp@tweak.net.au

SVN-Revision: 29486
13 years ago
Jo-Philipp Wich be49daffc8 base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli
SVN-Revision: 28933
13 years ago
Jo-Philipp Wich d6f02b62d4 add timeserver config to target specific system configs as well
SVN-Revision: 28750
13 years ago
Jo-Philipp Wich a9e64493d8 target: globally disable BSD process accounting
SVN-Revision: 28584
13 years ago
Felix Fietkau a6f7e72cf7 atheros: fix mii phy read/write ioctl
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 27747
13 years ago
John Crispin 8329ecf92c * revert accidental config change
SVN-Revision: 27142
13 years ago
John Crispin ed0e649a5b * fixes spi flash for ar9
* adds limited support for netgear dgn3500 (enough for others to start working with)

SVN-Revision: 27137
13 years ago
Alexandros C. Couloumbis 8b7a516fa8 linux/atheros: add 2.6.38 preliminary support
SVN-Revision: 26772
13 years ago
Felix Fietkau 22285a76e5 atheros: use ath5k instead of madwifi
SVN-Revision: 26588
13 years ago
Felix Fietkau 4697a30c05 atheros: remove bogus wlan device mask checks
SVN-Revision: 26585
13 years ago
Felix Fietkau 7486cf730a atheros: merge a few patches into the right place
SVN-Revision: 26556
13 years ago