- 06 Apr, 2020 4 commits
-
-
John Crispin authored
These are all backports and/or on their way upstream. Signed-off-by:
John Crispin <john@phrozen.org>
-
John Crispin authored
Signed-off-by:
John Crispin <john@phrozen.org>
-
John Crispin authored
menuconfig was showing the the company name twice. Signed-off-by:
John Crispin <john@phrozen.org>
-
John Crispin authored
Make the driver work with recent upstream changes. Signed-off-by:
John Crispin <john@phrozen.org>
-
- 05 Apr, 2020 6 commits
-
-
Peter Stadler authored
prepend 'uci' to 'commit network' Signed-off-by:
Peter Stadler <peter.stadler@student.uibk.ac.at>
-
Chuanhong Guo authored
These two drivers were available in drivers/staging in 5.4. Fix driver paths for them. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Kevin Darbyshire-Bryant authored
201e359 Handle early exit when addrstring isn't set fa4c464 Improve address logging on early exit messages (#83) Signed-off-by:
Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
-
Kevin Darbyshire-Bryant authored
It seemed very confusing when trying to select the different variants of hostapd which are somewhat scattered about under the menu 'Network'. Moving all hostapd variants under a common submenu helps avoid confusion. Inspired-by:
Kevin Mahoney <kevin.mahoney@zenotec.net> [Fixup badly formatted patch, change menu name] Signed-off-by:
Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
-
Kevin Darbyshire-Bryant authored
ab7a39a umdns: fix unused error 45c4953 dns: explicitly endian-convert all fields in header and question Signed-off-by:
Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
-
Chuanhong Guo authored
This reverts commit d7f21940 . Winbond W25Q256FV and W25Q256JV both uses 0xef4019 as JEDEC ID, but only the latter has proper 4B_OPCODES support. W25Q256FV has all 4B read instructions but it lacks a 4B page program instruction, causing the entire flash to be read-only. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
- 04 Apr, 2020 30 commits
-
-
Tan Zien authored
Missing config symbols could lead to build failures on kernel 4.14/4.19. Signed-off-by:
Tan Zien <nabsdh9@gmail.com> [rephrase commit message - reorder symbols] Signed-off-by:
David Bauer <mail@david-bauer.net>
-
Kevin Darbyshire-Bryant authored
gcc 8 & 9 appear to be more picky with regards access alignment to packed structures, leading to this warning in dns.c: dns.c:261:2: error: converting a packed ‘struct dns_question’ pointer (alignment 1) to a ‘uint16_t’ {aka ‘short unsigned int’} pointer (alignment 2) may result in an unaligned pointer value [-Werror=address-of-packed-member] 261 | uint16_t *swap = (uint16_t *) q; Work around what I think is a false positive by turning the warning off. Not ideal, but not quite as not ideal as build failure. Signed-off-by:
Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
-
Kevin Darbyshire-Bryant authored
Signed-off-by:
Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
-
Thibaut VARÈNE authored
Reduce unnecessary flash wear and be tidy: - Run the extraction only if necessary - Extract temporary file to /tmp - cleanup after execution Tested-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net> Signed-off-by:
Thibaut VARÈNE <hacks@slashdirt.org>
-
INAGAKI Hiroshi authored
In RTL8367B (RTL8367RB/RTL8367R-VB), the driver in GPL tars of the devices with this switch directly uses the ID of external interface as a bit offset. We should use the same way. ref (RTL8367B): - ASUS RT-N56U - TP-Link Archer C2 v1 ref (RTL8367): - TP-Link TL-WR2543ND v1 Signed-off-by:
INAGAKI Hiroshi <musashino.open@gmail.com>
-
INAGAKI Hiroshi authored
RTL8367B_CHIP_DEBUG1_REG (0x1304) is for external interface 1. For external interface 2, use RTL8367B_CHIP_DEBUG2_REG (0x13e2) instead. Fixes: 9801d61c ("kernel: rtl8367b: add configuration for extif2") Signed-off-by:
INAGAKI Hiroshi <musashino.open@gmail.com>
-
Chuanhong Guo authored
DSA requires master netdev to be up before any of its slave ports. Bring it up during preinit so that the first lan port can be used on failsafe. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Chuanhong Guo authored
It's unknown which switch port is used on mikrotik_rbm11g. Disable this image until someone with actual device fixes this problem. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Chuanhong Guo authored
This script isn't suitable for mt7621 anymore due to switching to DSA and it needs a different preinit script. Generic preinit logic in package/base-files has the ability to parse board.json and pick preinit iface accordingly. Just remove this script instead of moving it into subtargets. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
DENG Qingfang authored
The 2nd gmac of mediatek soc ethernet may not be connected to a PHY and a phy-handle isn't always available. Unfortunately, mt7530 dsa driver assumes that the 2nd gmac is always connected to switch port 5 and setup mt7530 according to phy address of 2nd gmac node, causing null pointer dereferencing when phy-handle isn't defined in dts. This commit fix this setup code by checking return value of of_parse_phandle before using it. Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
René van Dorst authored
LAN ports of MTC WR1201 are reversed, so correct their names Signed-off-by:
René van Dorst <opensource@vdorst.com> Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
Add new NAND driver for MT7621 Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
5.4 kernel has fixed this issue, so the hack is no longer needed. Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
This reverts commit 28080d54 . Support for MX25L25635F flash is fixed upstream Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
As MT7621 does not use swconfig anymore, move the package swconfig to other subtargets. Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
mt7621 SoC has its own 'ralink_soc_info' structure with some information about the soc itself. Pcie controller and pcie phy drivers for this soc which are still in staging git tree make uses of 'soc_device_attribute' looking for revision 'E2' in order to know if reset lines are or not inverted. This way of doing things seems to be necessary in order to make things clean and properly. Hence, introduce this 'soc_device' to be able to properly use those attributes in drivers. Also set 'data' pointer points to the struct 'ralink_soc_info' to be able to export also current soc information using this mechanism. Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
They are labeled as LAN2..LAN5 instead of LAN1..LAN4 Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
The original idea of bitbanged I2C is to use i2c-gpio-custom Since i2c-gpio-custom is no longer available on 5.4, use SoC I2C instead Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
The name of each user port should be eth0..4, instead of lan1..4 and there is no WAN port. Rename them to match the official firmware. To avoid conflict with the master port (gmac0), rename it to "dsa". The official firmware assigns MAC address in this way: eth0 = label mac eth1 = label mac + 1 ... eth4 = label mac + 4 Since we have switched to DSA, it's possible to use different MAC for each port. Acked-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
Add support for renaming ethernet interfaces in DTS Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
After all dts and config changes, 4.14 no longer works on mt7621. Switch it to 5.4 directly. Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
Most of MT7621 boards have LAN1~4 and WAN, so make this as the default Acked-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn> [split commit, remove leftover uart3->gpio setup] Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
DENG Qingfang authored
update dts and network/LED configuration for DSA driver. sysupgrade from images prior to this commit with config preserved will cause broken ethernet setup. Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn> Acked-by:
Jo-Philipp Wich <jo@mein.io> [split commit] Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
DENG Qingfang authored
Backport 2 patches from linux-next to fix mt7621 GPIO driver Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
Update PCIe node in dtsi to match the new driver Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
Backport mt7621-pci/mt7621-pci-phy fixes from staging-test Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
Upstream GPIO driver uses "groups" "function" properties Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
The upstream driver does not use &gpio0..2 banks notation anymore, so convert them to &gpio Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-