From: Paul Gortmaker <hidden> Date: 2012-02-27 19:47:21
The Makefile has it as "ibm_emac-y := mal.o core.o phy.o" so there is
no way this can be built modular, so remove all references to module
support.
Signed-off-by: Paul Gortmaker <redacted>
From: David Miller <davem@davemloft.net> Date: 2012-02-27 20:00:09
From: Paul Gortmaker <redacted>
Date: Mon, 27 Feb 2012 14:47:04 -0500
The Makefile has it as "ibm_emac-y := mal.o core.o phy.o" so there is
no way this can be built modular, so remove all references to module
support.
That doesn't mean it's only buildable statically.
"ibm_emacs-y :=" is merely a way to tell make what objects go into ibm_emac.{o,ko}
IBM_EMAC is tristate
@@ -537,5 +539,3 @@ int emac_mii_phy_probe(struct mii_phy *phy, int address)return0;}--MODULE_LICENSE("GPL");
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
From: Paul Gortmaker <hidden> Date: 2012-02-27 20:49:50
[Re: [PATCH net-next] ibm emac: delete module references; phy.c only supported as built-in] On 27/02/2012 (Mon 14:57) David Miller wrote:
From: Paul Gortmaker <redacted>
Date: Mon, 27 Feb 2012 14:47:04 -0500
quoted
The Makefile has it as "ibm_emac-y := mal.o core.o phy.o" so there is
no way this can be built modular, so remove all references to module
support.
That doesn't mean it's only buildable statically.
"ibm_emacs-y :=" is merely a way to tell make what objects go into ibm_emac.{o,ko}
IBM_EMAC is tristate
Argh, yes. Sorry for the noise. Since phy.c doesn't call any modular
functionality directly, the patch "worked" and I didn't catch the
error in my reasoning.
Paul.