[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151228.123953.1733009554284171662.davem@davemloft.net>
Date: Mon, 28 Dec 2015 12:39:53 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: f.fainelli@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCHv2 net-next 0/3] Ethtool support for phy stats
From: Andrew Lunn <andrew@...n.ch>
Date: Mon, 28 Dec 2015 09:58:25 +0100
> On Mon, Dec 28, 2015 at 12:44:27AM -0500, David Miller wrote:
>> From: David Miller <davem@...emloft.net>
>> Date: Mon, 28 Dec 2015 00:32:43 -0500 (EST)
>>
>> > From: Andrew Lunn <andrew@...n.ch>
>> > Date: Sun, 27 Dec 2015 12:58:25 +0100
>> >
>> >> This patchset add ethtool support for reading statistics from the PHY.
>> >> The Marvell and Micrel Phys are then extended to report receiver
>> >> packet errors and idle errors.
>> >>
>> >> v2:
>> >> Fix linking when phylib is not enabled.
>> >
>> > Series applied, thanks Andrew.
>>
>> I have to revert this.
>>
>> You can't call into PHY library code from net/core/ethtool.c,
>> because PHY lib can be modular.
>
> O.K.
>
> How about we change PHYLIB from a tristate to a bool?
Beforehand it could be modular just fine, and thus save space
for people who do not use it.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists