[PATCH] ARM: shmobile: koelsch: Conditionally select MICREL_PHY

Geert Uytterhoeven geert at linux-m68k.org
Tue Dec 17 05:10:15 EST 2013


On Tue, Dec 17, 2013 at 1:31 AM, Simon Horman <horms at verge.net.au> wrote:
> On Tue, Dec 17, 2013 at 02:31:35AM +0300, Sergei Shtylyov wrote:
>> On 12/16/2013 04:25 PM, I wrote:
>> >>The koelsch board uses has an SH ethernet controller which uses a Micrel
>> >>phy. Select MICREL_PHY for koelsch if SH_ETH is enabled to make use of the
>> >>Micrel-specific phy driver rather than relying on the generic phy driver.
>>
>> >    Frankly speaking, I'm seeing no advantages to doing that.
>>
>>    Although wait, Geert has reported the absence of Rx FIFO overflow
>> messages with this PHY driver, IIRC.

I spoke too soon: apparently the statistical relevance of my reporting was
too low. I still see them from time to time, but I think less than before (no
numbers available).

>> >>Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
>>
>> >    Analogous changes are needed for BOCK-W and Lager boards since they all
>> >use the same KSZ8041RNLI PHY chip. I was going to submit such changes with the
>> >PHY IRQ patches but since no IRQ is generated still, this got delayed...
>>
>>    Only I was going to do it via defconfigs...
>
> That was my initial approach too. However I have been convinced
> that Kconfig is a better way forwards.

Kconfig has the advantage that the minimal defconfigs will be smaller, so
less churn there.
However, it does mean you cannot disable the option anymore via your .config.

In this case it's a bit difficult to decide, as sh_eth will work both
with and without
the specific PHY-driver.

If no users want to disable it, I'd go for Kconfig.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-arm-kernel mailing list