John Crispin
d34c3e0674
atheros: rework and cleanup board initialization
...
- remove odd flags and branching
- add __init mark
- make shorter variables names
- returns true or false from boolean functions
- unwrap short function declarations
- unwrap quoted string
- rename macroses with names in CamelCase
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42495
10 years ago
John Crispin
98b6a56b3c
atheros: update ether addresses handling
...
- use ether_foo() routines to work with addresses
- use ETH_ALEN inplace of magic '6'
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42494
10 years ago
John Crispin
bdc1357e7b
atheros: remove useless includes
...
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42493
10 years ago
John Crispin
300021d6c4
atheros: ar231x-eth: remove useless IOCTL handlers
...
These IOCTLs handled in the core now.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42492
10 years ago
John Crispin
a28fd0dfd0
atheros: ar2315-spiflash: use mutex inplace of spinlock
...
Use mutex inplace of spinlock to make code simple, also call
mutex_{lock,unlock} explicitly to avoid sparse warning about context
imbalance.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42491
10 years ago
John Crispin
ffa6091eef
atheros: ar2315-spiflash: update initialization
...
- fill module metadata
- remove odd module_{init,exit}
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42490
10 years ago
John Crispin
7a4cf9adfd
atheros: ar2315-spiflash: use devm_* API to simplify the code
...
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42489
10 years ago
John Crispin
f9e46af383
atheros: remove useless return
...
Remove useless void function return.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42488
10 years ago
John Crispin
9055970e92
atheros: remove FSF mailing address
...
Remove FSF mailing address as suggested by checkpach and place license
URL.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42487
10 years ago
John Crispin
7aaaef6b4a
atheros: add blank line after declarations
...
as suggested by checkpach.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42486
10 years ago
John Crispin
5b4e53f59f
atheros: use static keywork for local code
...
Make PCI IRQ handler and several structures static as suggested by
sparse.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42485
10 years ago
John Crispin
9b5f1a4f33
atheros: use NULL instead of plain integer
...
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42484
10 years ago
John Crispin
d4113b1055
atheros: add missing include
...
Missing this headers cause several sparse "symbol 'foo' was not
declared. Should it be static?" warnings.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42483
10 years ago
John Crispin
60922d0013
atheros: avoid extern prototypes
...
Avoid using of extern prototypes as suggested by checkpatch.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42482
10 years ago
John Crispin
17cf9c4593
ralink: drop 3.10 support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42481
10 years ago
Felix Fietkau
e2864e9990
tools: install a fake empty ldconfig script to prevent the system ldconfig from messing around with the toolchain (fixes disappearing musl symlink issue)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42480
10 years ago
Felix Fietkau
8d699086c3
qos-scripts: disable fq_codel ecn by default to improve compatibility
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42479
10 years ago
John Crispin
e9dab2de72
lantiq: update to a newer versions of the vr9 drivers
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42478
10 years ago
John Crispin
f7dc428d4b
ltq-deu: fix compile for 3.14
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42477
10 years ago
John Crispin
18b5d72d83
lantiq: update 3.14 patches
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42476
10 years ago
John Crispin
5920eac8ee
lldp: remove calls to user/group_add/exists
...
use the new ipkg based mechanism
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42472
10 years ago
John Crispin
f81614594f
procd: update to latest git
...
add support for starting services as !root
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42471
10 years ago
John Crispin
d6dbc22bbc
ipkg: add a default postinst/prerm script
...
the postinst script enables/starts the init.d scripts upon package installation
and installs the users required by the package.
the prerm script stops and disables the init.d scripts.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42470
10 years ago
John Crispin
285012d897
include: add a meta data field for required system user:group
...
this is in preparation of having services run as !root with
ACL'ed access to ubus.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42469
10 years ago
John Crispin
b05c2aad3c
opkg: indicate upgrade vs install
...
when running the postinst trigger we set PKG_UPGRADE=1 if this is an upgrade
and not an install.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42468
10 years ago
John Crispin
e61cd71564
umbim: remove superflous jshn call
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42467
10 years ago
John Crispin
c9d15fbd59
umbim: update to latest git
...
adds handling for username/password
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42466
10 years ago
John Crispin
7bad68804c
comgt: add directip proto
...
add a proto handler for sierra wireless directip modems
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42465
10 years ago
Luka Perkov
cc82f93251
config: enable cgroup freezer
...
This option will be enabled by default only when cgroups support is enabled.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42464
10 years ago
Luka Perkov
02629d8f87
kernel: update 3.14 to 3.14.18
...
Targets were build tested and patches are refreshed.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42463
10 years ago
Luka Perkov
7be0ed78e7
kernel: remove unused versions
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42462
10 years ago
Felix Fietkau
c772d71d05
atheros: enable the low_mem flag to better deal with 16M RAM devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42460
10 years ago
Felix Fietkau
96b74d4eef
hostapd: add ubus bindings for wps
...
With this patch WPS discovery can be started or canceled over ubus if
WPS is enabled in wireless configuration. This is equivalent of
'hostapd_cli wps_pbc' and 'hostapd_cli wps_cancel' commands.
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
SVN-Revision: 42459
10 years ago
Felix Fietkau
1961f8cdb7
ar71xx: ack completed tx descriptors only after the full frame has been completed
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42457
10 years ago
Felix Fietkau
2dabf3a775
procd: allow adding empty strings to arrays
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42456
10 years ago
Luka Perkov
9ccacbaa40
imx6: fix image build for Generic profile.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 42455
10 years ago
Felix Fietkau
4ba3d616be
ath9k: fix pll clock initialization on newer soc devices ( fixes #14916 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42453
10 years ago
Hauke Mehrtens
54cd991725
kernel: drop 3.9 support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42452
10 years ago
Hauke Mehrtens
eea3a89a6a
gemini: drop kernel 3.9 support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42451
10 years ago
Hauke Mehrtens
d0d537a039
gemini: switch to kernel 3.10
...
This switches to kernel 3.10 that was prepared by Hauke in r41531 :
gemini: add support for kernel 3.10
This is compile tested only, please run test and report back.
I've simply checked if it still compiles, unfortunately we didn't get
any feedback for this target.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42450
10 years ago
Hauke Mehrtens
a446681bc6
omap: add kernel 3.14 support
...
It has been compile-tested only so far. Please give it a try.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42449
10 years ago
Hauke Mehrtens
8313b329c6
kernel: add bcma patches sent upstream but not pushed yet
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42448
10 years ago
Hauke Mehrtens
e030c50502
kernel: update bcma to the version from wireless-testing master-2014-09-04 tag
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42447
10 years ago
John Crispin
4662c3b847
ralink: dwc_otg->dwc2
...
the old dwc_otg driver is starting to fall apart and fails on newer 3g
modems and some storage devices. switch to the upstream dwc2 driver which
is no longer in staging/.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42446
10 years ago
John Crispin
bdba024c7b
ralink: add dwc2 device_reset() call
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42445
10 years ago
Felix Fietkau
3c5412e6c3
ath9k: add some ani related stability / performance fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42443
10 years ago
Felix Fietkau
76ca87a060
tools: fix mtools/dosfstools related build system warnings
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42442
10 years ago
Steven Barth
bd74df01b1
netifd: work-around kernel IPv6 on-link route issue
...
SVN-Revision: 42439
10 years ago
John Crispin
a4eae94a9c
lantiq: add ath9k led pin support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42437
10 years ago
Zoltan Herpai
d4a2aa4f92
sunxi: re-add lradc driver in 3.14
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42436
10 years ago