[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210916112618.Horde.UWH1AKpXpmAwqSTq8U1y-WN@www.mhei.heimpold.org>
Date: Thu, 16 Sep 2021 11:26:18 +0000
From: Michael Heimpold <mhei@...mpold.de>
To: Andrew Lunn <andrew@...n.ch>
Cc: Stefan Wahren <stefan.wahren@...e.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Michael Heimpold <michael.heimpold@...tech.com>,
jimmy.shen@...texcom.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH RFC 3/3] net: vertexcom: Add MSE102x SPI support
Hi Andrew,
Zitat von Andrew Lunn <andrew@...n.ch>:
>> +static int mse102x_probe_spi(struct spi_device *spi)
>> +{
>
> ...
>
>> + netif_carrier_off(mse->ndev);
>> + ndev->if_port = IF_PORT_10BASET;
>
> That is not correct. Maybe you should add a IF_PORT_HOMEPLUG ?
Would a simple IF_PORT_HOMEPLUG be sufficient, or should it be
more precise as for Ethernet (10BASET, 100BASET...), e.g.
IF_PORT_HOMEPLUG_10
IF_PORT_HOMEPLUG_AV
IF_PORT_HOMEPLUG_AV2
IF_PORT_HOMEPLUG_GREENPHY
Thanks,
Michael
Content of type "application/pgp-keys" skipped
Powered by blists - more mailing lists