netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Hans-Frieder Vogt <hfdevel@gmx.net>
Cc: FUJITA Tomonori <fujita.tomonori@gmail.com>,
	netdev@vger.kernel.org, andrew@lunn.ch, horms@kernel.org,
	kuba@kernel.org, jiri@resnulli.us, pabeni@redhat.com,
	naveenm@marvell.com, jdamato@fastly.com
Subject: Re: [PATCH net-next v9 0/6] add ethernet driver for Tehuti Networks TN40xx chips
Date: Sun, 9 Jun 2024 14:48:41 +0100	[thread overview]
Message-ID: <ZmWyufzdM9vKjBDc@shell.armlinux.org.uk> (raw)
In-Reply-To: <e461ce5b-e8d0-413f-a872-2394f41a15d4@gmx.net>

On Sun, Jun 09, 2024 at 02:40:03PM +0200, Hans-Frieder Vogt wrote:
> --- a/drivers/net/ethernet/tehuti/tn40_phy.c    2024-06-06
> 06:43:40.865474664 +0200
> +++ b/drivers/net/ethernet/tehuti/tn40_phy.c    2024-06-06
> 18:57:01.978776712 +0200
> @@ -54,6 +54,8 @@ int tn40_phy_register(struct tn40_priv *
>                 return -1;
>         }
> 
> +       __set_bit(PHY_INTERFACE_MODE_XAUI, phydev->host_interfaces);
> +
>         config = &priv->phylink_config;
>         config->dev = &priv->ndev->dev;
>         config->type = PHYLINK_NETDEV;

This shouldn't be done - host_interfaces is really only for SFPs, and
it suggests that the 88x3310 isn't properly configured with pinstrapping
for the correct MAC type (which determines the interface mode to be used
to communicate with the MAC.)

I'm not sure what to suggest here, other than further debug (e.g. what
interface mode is the 88x3310 trying to use without this?)

> I have to mention, though, that the phy-drivers for x3310 and aqr105 are
> not yet ready and will also need some changes related to the firmware
> loading, because for most (all?) of the Tehuti-based cards the phy
> firmware has to be uploaded via MDIO.

That's problematical - as I understand it, the 88x3310 firmware at least
is not freely redistributable (we've run into this with other
platforms that do not program the SPI flash attached to the 88x3310
and been told my Marvell that the firmware can't be made available as
part of e.g. linux-firmware.)

So quite what we do with the 88x3310 based boards that don't have
firmware, I'm not sure, but it seems given the non-distributable
firmware issue, that's going to be hard.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

  reply	other threads:[~2024-06-09 13:48 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05 23:26 [PATCH net-next v9 0/6] add ethernet driver for Tehuti Networks TN40xx chips FUJITA Tomonori
2024-06-05 23:26 ` [PATCH net-next v9 1/6] net: tn40xx: add pci " FUJITA Tomonori
2024-06-09 11:17   ` Hans-Frieder Vogt
2024-06-09 12:13     ` FUJITA Tomonori
2024-06-05 23:26 ` [PATCH net-next v9 2/6] net: tn40xx: add register defines FUJITA Tomonori
2024-06-05 23:26 ` [PATCH net-next v9 3/6] net: tn40xx: add basic Tx handling FUJITA Tomonori
2024-06-09 11:41   ` Hans-Frieder Vogt
2024-06-10  6:48     ` FUJITA Tomonori
2024-06-10 21:02       ` FUJITA Tomonori
2024-06-05 23:26 ` [PATCH net-next v9 4/6] net: tn40xx: add basic Rx handling FUJITA Tomonori
2024-06-10  9:59   ` Russell King (Oracle)
2024-06-10 12:28     ` FUJITA Tomonori
2024-06-05 23:26 ` [PATCH net-next v9 5/6] net: tn40xx: add mdio bus support FUJITA Tomonori
2024-06-09 11:22   ` Hans-Frieder Vogt
2024-06-10  7:35     ` FUJITA Tomonori
2024-06-10 10:04   ` Russell King (Oracle)
2024-06-10 12:05     ` FUJITA Tomonori
2024-06-05 23:26 ` [PATCH net-next v9 6/6] net: tn40xx: add phylink support FUJITA Tomonori
2024-06-09 10:34   ` Russell King (Oracle)
2024-06-10  6:10     ` FUJITA Tomonori
2024-06-10 15:42       ` Andrew Lunn
2024-06-10 20:57         ` FUJITA Tomonori
2024-06-09  9:10 ` [PATCH net-next v9 0/6] add ethernet driver for Tehuti Networks TN40xx chips Hans-Frieder Vogt
2024-06-09 10:42   ` Russell King (Oracle)
2024-06-09 12:40     ` Hans-Frieder Vogt
2024-06-09 13:48       ` Russell King (Oracle) [this message]
2024-06-09 18:42         ` Hans-Frieder Vogt
     [not found]         ` <c3f29b80-0085-4dd2-8d78-f2ac2a004474@gmx.net>
2024-06-09 19:12           ` Russell King (Oracle)
2024-06-10 15:37       ` Andrew Lunn
2024-06-09 11:53   ` FUJITA Tomonori
2024-06-11  4:54   ` FUJITA Tomonori
2024-06-11  5:30     ` FUJITA Tomonori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZmWyufzdM9vKjBDc@shell.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=andrew@lunn.ch \
    --cc=fujita.tomonori@gmail.com \
    --cc=hfdevel@gmx.net \
    --cc=horms@kernel.org \
    --cc=jdamato@fastly.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=naveenm@marvell.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).