History log of /openbmc/u-boot/drivers/net/ftgmac100.c (Results 1 – 25 of 65)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v00.04.13
# 4298c59c 03-Nov-2022 Dylan Hung <dylan_hung@aspeedtech.com>

net: ftgmac100: use %p for pointer variable printf

use %p to print pointer type variable so that we don't need to use
different casting for 32-bit and 64-bit system.

Signed-off-by: Dylan Hung <dyla

net: ftgmac100: use %p for pointer variable printf

use %p to print pointer type variable so that we don't need to use
different casting for 32-bit and 64-bit system.

Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
Change-Id: Ifa6225331e84257f36fdff19abd6821b79ac6f53
(cherry picked from commit 1ec0786b9ffd8f53cbb79597f395d639c0c5d462)

show more ...


Revision tags: v00.04.12
# c2963734 13-Jul-2022 Joel Stanley <joel@jms.id.au>

ftgmac100: Fail probe when NCSI selected but not enabled

When NCSI has been selected by the device tree we will skip allocating a
phy bus in ftgmac100_mdio_init, resulting in a null pointer derefere

ftgmac100: Fail probe when NCSI selected but not enabled

When NCSI has been selected by the device tree we will skip allocating a
phy bus in ftgmac100_mdio_init, resulting in a null pointer dereference
when calling phy_connect (in phy_find_by_mask).

Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


Revision tags: v00.04.11
# 79c77598 16-May-2022 Zev Weiss <zev@bewilderbeest.net>

ftgmac100: Use bus name in mdio error messages

Previously we'd been using a device name retrieved via
ftgmac100_data->phydev, but the mdio read/write functions may be
called before that member is in

ftgmac100: Use bus name in mdio error messages

Previously we'd been using a device name retrieved via
ftgmac100_data->phydev, but the mdio read/write functions may be
called before that member is initialized in ftgmac100_phy_init(),
leading to a NULL pointer dereference while printing the error message
issued if the mdio access fails. We can instead use bus->name, which
is already available at that point.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Fixes: 538e75d3fc54 ("net: ftgmac100: add MDIO bus and phylib support")
Link: https://lore.kernel.org/r/20220517043825.26893-1-zev@bewilderbeest.net
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 5e0f0bee 14-Jul-2022 Joel Stanley <joel@jms.id.au>

ftgmac100: Fail probe when NCSI selected but not enabled

When NCSI has been selected by the device tree we will skip allocating a
phy bus in ftgmac100_mdio_init, resulting in a null pointer derefere

ftgmac100: Fail probe when NCSI selected but not enabled

When NCSI has been selected by the device tree we will skip allocating a
phy bus in ftgmac100_mdio_init, resulting in a null pointer dereference
when calling phy_connect (in phy_find_by_mask).

Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220714050744.572275-2-joel@jms.id.au

show more ...


# 709868b1 16-May-2022 Zev Weiss <zev@bewilderbeest.net>

ftgmac100: Use bus name in mdio error messages

Previously we'd been using a device name retrieved via
ftgmac100_data->phydev, but the mdio read/write functions may be
called before that member is in

ftgmac100: Use bus name in mdio error messages

Previously we'd been using a device name retrieved via
ftgmac100_data->phydev, but the mdio read/write functions may be
called before that member is initialized in ftgmac100_phy_init(),
leading to a NULL pointer dereference while printing the error message
issued if the mdio access fails. We can instead use bus->name, which
is already available at that point.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Fixes: 538e75d3fc54 ("net: ftgmac100: add MDIO bus and phylib support")
Link: https://lore.kernel.org/r/20220517043825.26893-1-zev@bewilderbeest.net
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


Revision tags: v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10
# 15cbe029 22-Jul-2020 ryan_chen <ryan_chen@aspeedtech.com>

Merge branch 'ryan_port' into aspeed-dev-v2019.04


# 468f3913 22-Jul-2020 ryan_chen <ryan_chen@aspeedtech.com>

add mac for ast2400


Revision tags: v2020.07, v00.02.13, v2020.04, v2020.01
# 7621ec44 17-Dec-2019 ryan_chen <ryan_chen@aspeedtech.com>

Merge branch 'ryan_port' into aspeed-dev-v2019.04

# Conflicts:
# arch/arm/dts/ast2600.dtsi


# 785eb4e9 16-Dec-2019 Dylan Hung <dylan_hung@aspeedtech.com>

assign phy address in dts


# 8207d8ba 28-Nov-2019 ryan_chen <ryan_chen@aspeedtech.com>

Merge branch 'ryan_port' into aspeed-dev-v2019.04


# 813df3e2 27-Nov-2019 Chia-Wei, Wang <chiawei_wang@aspeedtech.com>

net: ftgmac100: Fix misaligned cache operation

The TX/RX descriptor structure does not align to
CONFIG_SYS_CACHELINE_SIZE, leading to failed cache
flushing and invalidating operation

net: ftgmac100: Fix misaligned cache operation

The TX/RX descriptor structure does not align to
CONFIG_SYS_CACHELINE_SIZE, leading to failed cache
flushing and invalidating operations.

This patch make the descriptor structures cache line
size-aligned. The descriptor size setting in FTGMAC100
register is accordingly configured as well.

show more ...


# 6a69dbe2 03-Nov-2019 ryan_chen <ryan_chen@aspeedtech.com>

Merge branch 'ryan_port' into aspeed-dev-v2019.04


# 50ed8353 23-Oct-2019 Dylan Hung <dylan_hung@aspeedtech.com>

Merge branch 'sli_clk' into aspeed-dev-v2019.04


# 97ebe011 23-Oct-2019 Dylan Hung <dylan_hung@aspeedtech.com>

Merge branch 'feature/rmii' into aspeed-dev-v2019.04


# 9ab23354 15-Oct-2019 Dylan Hung <dylan_hung@aspeedtech.com>

apply ncsi patch


Revision tags: v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00
# 516d4ba9 08-Jun-2019 ryan_chen <ryan_chen@aspeedtech.com>

update ftgmac driver


# 1c69fb92 06-Jun-2019 ryan_chen <ryan_chen@aspeedtech.com>

Merge branch 'ryan_port' into aspeed-dev-v2019.04


# 176338f1 06-Jun-2019 ryan_chen <ryan_chen@aspeedtech.com>

add for ast2600 mdio driver


# 028db7ac 19-May-2019 ryan_chen <ryan_chen@aspeedtech.com>

add for ast2600 mac


Revision tags: v2019.04
# 6f443330 14-Nov-2018 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-sunxi


# 208ecbad 14-Nov-2018 Tom Rini <trini@konsulko.com>

Merge branch 'next'

This brings in the u-boot-net PR from Joe.


# e6ddacc2 29-Oct-2018 Cédric Le Goater <clg@kaod.org>

net: ftgmac100: Add support for the Aspeed SoC

The Faraday ftgmac100 MAC controllers as found on the Aspeed SoCs have
some slight differences in the HW interface (End-Of-Rx/Tx-Ring bits)

net: ftgmac100: Add support for the Aspeed SoC

The Faraday ftgmac100 MAC controllers as found on the Aspeed SoCs have
some slight differences in the HW interface (End-Of-Rx/Tx-Ring bits).

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>

show more ...


# 1c0c61e9 29-Oct-2018 Cédric Le Goater <clg@kaod.org>

net: ftgmac100: add clock support

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>


# d0e0b84c 29-Oct-2018 Cédric Le Goater <clg@kaod.org>

net: ftgmac100: handle timeouts when transmitting

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>


# e7668497 29-Oct-2018 Cédric Le Goater <clg@kaod.org>

net: ftgmac100: convert the RX/TX descriptor arrays

Use simple arrays under the device priv structure to hold the RX and
TX descriptors and handle memory coherency by invalidating or flu

net: ftgmac100: convert the RX/TX descriptor arrays

Use simple arrays under the device priv structure to hold the RX and
TX descriptors and handle memory coherency by invalidating or flushing
the d-cache when required.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>

show more ...


123