Skip to contentSkip to conversation

drivers/net/Makefile fixes smc91c92 module linkage, kernel 2.4.20

PATCH In review [email protected] 2 participants 2 messages Nov 30, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/Makefile fixes smc91c92 module linkage, kernel 2.4.20

modprobe on smc91c92.o seems to be missing linked mii related functions. Add CONFIG_PCMCIA_SMC91C92 entry containing mii.o to drivers/net/Makefile so that things link together properly.

-- Wes

*** linux-2.4.20/drivers/net/Makefile 2002-11-28 18:53:13.000000000 -0500
--- linux-2.4.20-ww1/drivers/net/Makefile 2002-11-30 16:26:32.000000000 -0500
***************
*** 122,127 ****
--- 122,128 ----
obj-$(CONFIG_MAC8390) += daynaport.o 8390.o
obj-$(CONFIG_APNE) += apne.o 8390.o
obj-$(CONFIG_PCMCIA_PCNET) += 8390.o
+ obj-$(CONFIG_PCMCIA_SMC91C92) += mii.o
obj-$(CONFIG_SHAPER) += shaper.o
obj-$(CONFIG_SK_G16) += sk_g16.o
obj-$(CONFIG_HP100) += hp100.o

modprobe on smc91c92.o seems to be missing linked mii related functions. Add CONFIG_PCMCIA_SMC91C92 entry containing mii.o to drivers/net/Makefile so that things link together properly.

Wes Wright
[email protected]

*** linux-2.4.20/drivers/net/Makefile 2002-11-28 18:53:13.000000000 -0500
--- linux-2.4.20-ww1/drivers/net/Makefile 2002-11-30 16:26:32.000000000 -0500
***************
*** 122,127 ****
--- 122,128 ----
obj-$(CONFIG_MAC8390) += daynaport.o 8390.o
obj-$(CONFIG_APNE) += apne.o 8390.o
obj-$(CONFIG_PCMCIA_PCNET) += 8390.o
+ obj-$(CONFIG_PCMCIA_SMC91C92) += mii.o
obj-$(CONFIG_SHAPER) += shaper.o
obj-$(CONFIG_SK_G16) += sk_g16.o
obj-$(CONFIG_HP100) += hp100.o

#1 lore raw
Quoted 4 lines · [email protected] wrote:

*** linux-2.4.20/drivers/net/Makefile 2002-11-28 18:53:13.000000000 -0500
--- linux-2.4.20-ww1/drivers/net/Makefile 2002-11-30 16:26:32.000000000 -0500
***************
*** 122,127 ****

Quoted 8 lines

--- 122,128 ----
obj-$(CONFIG_MAC8390) += daynaport.o 8390.o
obj-$(CONFIG_APNE) += apne.o 8390.o
obj-$(CONFIG_PCMCIA_PCNET) += 8390.o
+ obj-$(CONFIG_PCMCIA_SMC91C92) += mii.o
obj-$(CONFIG_SHAPER) += shaper.o
obj-$(CONFIG_SK_G16) += sk_g16.o
obj-$(CONFIG_HP100) += hp100.o

marcelo appears to have applied some patch like this in his current BK repository. I am sending an update which makes this fixed a little bit better, too.