Re: [net:master 1/9] pch_gbe_main.c:(.text+0x510370): undefinedreference to `pch_ch_control_write'
From: David Miller
Date: Sat Oct 06 2012 - 09:22:03 EST
From: Haicheng Li <haicheng.li@xxxxxxxxxxxxxxx>
Date: Sat, 06 Oct 2012 20:07:08 +0800
> The failure is due to the CONFIG_PPS is not set there, consequently
> CONFIG_PTP_1588_CLOCK can not be set as =y anyway.
>
> So David's patch of "da1586461e53a4dd045738cce309ab488970f0ef [1/9]
> pch_gbe: Fix PTP dependencies" is buggy. Furthermore, I think using
> "selects" to resolve such dependency issue is not good idea as it
> won't visit the dependencies.
>
> David, I would still suggest to take my original patch:
> https://lkml.org/lkml/2012/9/28/70
>
> + depends on PTP_1588_CLOCK_PCH && (PCH_GBE=m || PTP_1588_CLOCK_PCH=y)
>
> or simply like:
This is all very rediculous if you ask me.
Why should the user have to know a detail like the underlying
PTP chip type just to enable PTP on his networking card?
Because that is what you are making him do with your change.
Select removed the necessity of the user having to know these
things.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/