[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120917.131910.1238928585646354544.davem@davemloft.net>
Date: Mon, 17 Sep 2012 13:19:10 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: asv@...go.com
Cc: netdev@...r.kernel.org, afleming@...escale.com,
alexander.sverdlin.ext@....com
Subject: Re: [PATCH] Generalise "auto-negotiation done" function, move
generic PHY code to phy_device.c
From: Alexander Sverdlin <asv@...go.com>
Date: Mon, 10 Sep 2012 13:30:01 +0200
> From: Alexander Sverdlin <alexander.sverdlin@...go.com>
>
> Generalise "auto-negotiation done" function, move generic PHY code to phy_device.c
>
> Not all devices have "auto-negotiation done" bit at the place, as expected by
> phy_aneg_done() in phy.c. Example of such device is Marvell 88E61xx Ethernet
> switch which could be controlled by Linux PHY layer, if struct phy_driver had
> abstraction for above function. So move hardware-dependent implementation details
> for "generic" PHY to phy_device.c, and modify all PHY drivers to use new field.
> Now phy.c contains only high-level state-machine functionality, leaving
> hardware-layer to different drivers.
>
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@...go.com>
You're adding this abstration, and even describe where it would be needed,
but you aren't providing the changes that make use of this new abstration
at all.
That's rather pointless, and we want to see the users of new interfaces
before we add them.
Resubmit this when you can also submit the patch which the Marvell driver
needs, which would actually make use of this.
--
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