[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48448020.5020407@freescale.com>
Date: Mon, 02 Jun 2008 18:20:00 -0500
From: Scott Wood <scottwood@...escale.com>
To: Kumar Gala <galak@...nel.crashing.org>
CC: Jeff Garzik <jeff@...zik.org>, netdev@...r.kernel.org,
linuxppc-dev@...abs.org
Subject: Re: [PATCH] phylib: Don't allow core of phylib to build as a module
Kumar Gala wrote:
> On Jun 2, 2008, at 3:30 PM, Jeff Garzik wrote:
>
>> Andy Fleming wrote:
>>> I'm partial to the select-it-if-you-need-it paradigm.
>>
>>
>> AFAICS this can all be solved by the platform Kconfig ensuring that
>> phylib=y
>
> I don't care for this as it means making sure each platform/board port
> gets it right.
How is this different from any other kconfig dependency? It's not too
hard to scan through your platform code and see what you call...
> I think we'd be better off with a small stub that is
> always built into the kernel for phy_read/phy_write, etc or the function
> pointer indirection mechanism.
And then instead of build failures, you'd get a silent runtime failure
to apply the workaround if phylib is built as a module.
-Scott
--
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