Skip to contentSkip to conversation

drivers/net/Makefile

PATCH Adrian Bunk 2 participants 2 messages Nov 26, 2002 – Nov 27, 2002 1 message not in the archive Network drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Andika Triwidada

This patch will allow 2.5.45 make modules_install
I'm not sure the best way to say that drivers/net/pcmcia/smc91c92_cs.c needs exports from drivers/net/mii.c. But at least this modification allows my kernel compile error free.

drivers/net/Makefile line 84

Quoted 8 lines
drivers/net/Makefile renamed from drivers/net/Makefile.orig +1 -1
@@ -78,7 +78,7 @@
 obj-$(CONFIG_NET_SB1000) += sb1000.o
 obj-$(CONFIG_MAC8390) += daynaport.o 8390.o
 obj-$(CONFIG_APNE) += apne.o 8390.o
-obj-$(CONFIG_PCMCIA_PCNET) += 8390.o
+obj-$(CONFIG_PCMCIA_PCNET) += 8390.o mii.o
 obj-$(CONFIG_SHAPER) += shaper.o
 obj-$(CONFIG_SK_G16) += sk_g16.o
 obj-$(CONFIG_HP100) += hp100.o

It has definitely nothing to do with CONFIG_PCMCIA_PCNET.

The following (untested) patch should be correct:

drivers/net/Makefile renamed from drivers/net/Makefile.old +1 -0
@@ -79,6 +79,7 @@
 obj-$(CONFIG_MAC8390) += mac8390.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
Quoted 1 line

-- andika

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#2 lore raw
Quoted 7 lines · Adrian Bunk

It has definitely nothing to do with CONFIG_PCMCIA_PCNET.

The following (untested) patch should be correct:

drivers/net/Makefile line 85

Quoted 7 lines
drivers/net/Makefile renamed from drivers/net/Makefile.old +1 -0
@@ -79,6 +79,7 @@
 obj-$(CONFIG_MAC8390) += mac8390.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

That looks correct, i probably broke that when i added stuff from mii.c without modifying the Makefile

Thanks,
Zwane

Signature · 1 line
function.linuxpower.ca