LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH -mm] ne2: needs more 8390 support functions
@ 2008-03-11 16:56 Randy Dunlap
  2008-03-12  4:51 ` Andrew Morton
  2008-03-12 12:44 ` Alan Cox
  0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2008-03-11 16:56 UTC (permalink / raw)
  To: lkml, netdev; +Cc: akpm, alan, jgarzik

From: Randy Dunlap <randy.dunlap@oracle.com>

ne2 (MCA) needs both 8390.o and 8390p.o functions:

drivers/built-in.o: In function `ne_close':
ne2.c:(.text+0x30544): undefined reference to `eip_close'
drivers/built-in.o: In function `ne_open':
ne2.c:(.text+0x30554): undefined reference to `eip_open'
drivers/built-in.o: In function `ne2_probe':
(.init.text+0x1bce): undefined reference to `__alloc_eip_netdev'
drivers/built-in.o: In function `ne2_probe':
(.init.text+0x1dd9): undefined reference to `eip_interrupt'
make[1]: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/net/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.25-rc5-mm1.orig/drivers/net/Makefile
+++ linux-2.6.25-rc5-mm1/drivers/net/Makefile
@@ -108,7 +108,7 @@ obj-$(CONFIG_68360_ENET) += 68360enet.o
 obj-$(CONFIG_WD80x3) += wd.o 8390.o
 obj-$(CONFIG_EL2) += 3c503.o 8390p.o
 obj-$(CONFIG_NE2000) += ne.o 8390p.o
-obj-$(CONFIG_NE2_MCA) += ne2.o 8390.o
+obj-$(CONFIG_NE2_MCA) += ne2.o 8390.o 8390p.o
 obj-$(CONFIG_HPLAN) += hp.o 8390p.o
 obj-$(CONFIG_HPLAN_PLUS) += hp-plus.o 8390p.o
 obj-$(CONFIG_ULTRA) += smc-ultra.o 8390.o

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -mm] ne2: needs more 8390 support functions
  2008-03-11 16:56 [PATCH -mm] ne2: needs more 8390 support functions Randy Dunlap
@ 2008-03-12  4:51 ` Andrew Morton
  2008-03-12 12:44 ` Alan Cox
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Morton @ 2008-03-12  4:51 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml, netdev, alan, jgarzik

On Tue, 11 Mar 2008 09:56:43 -0700 Randy Dunlap <randy.dunlap@oracle.com> wrote:

> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> ne2 (MCA) needs both 8390.o and 8390p.o functions:
> 
> drivers/built-in.o: In function `ne_close':
> ne2.c:(.text+0x30544): undefined reference to `eip_close'
> drivers/built-in.o: In function `ne_open':
> ne2.c:(.text+0x30554): undefined reference to `eip_open'
> drivers/built-in.o: In function `ne2_probe':
> (.init.text+0x1bce): undefined reference to `__alloc_eip_netdev'
> drivers/built-in.o: In function `ne2_probe':
> (.init.text+0x1dd9): undefined reference to `eip_interrupt'
> make[1]: *** [.tmp_vmlinux1] Error 1
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>  drivers/net/Makefile |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-2.6.25-rc5-mm1.orig/drivers/net/Makefile
> +++ linux-2.6.25-rc5-mm1/drivers/net/Makefile
> @@ -108,7 +108,7 @@ obj-$(CONFIG_68360_ENET) += 68360enet.o
>  obj-$(CONFIG_WD80x3) += wd.o 8390.o
>  obj-$(CONFIG_EL2) += 3c503.o 8390p.o
>  obj-$(CONFIG_NE2000) += ne.o 8390p.o
> -obj-$(CONFIG_NE2_MCA) += ne2.o 8390.o
> +obj-$(CONFIG_NE2_MCA) += ne2.o 8390.o 8390p.o
>  obj-$(CONFIG_HPLAN) += hp.o 8390p.o
>  obj-$(CONFIG_HPLAN_PLUS) += hp-plus.o 8390p.o
>  obj-$(CONFIG_ULTRA) += smc-ultra.o 8390.o

I have a note here that there's something busted about
8390-split-8390-support-into-a-pausing-and-a-non-pausing-driver-core.patch
but I do not recall what it was.  The details languish in Alan's inbox
somewhere from around February.

I wonder if this was it, and if that was the only bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -mm] ne2: needs more 8390 support functions
  2008-03-11 16:56 [PATCH -mm] ne2: needs more 8390 support functions Randy Dunlap
  2008-03-12  4:51 ` Andrew Morton
@ 2008-03-12 12:44 ` Alan Cox
  2008-03-12 15:08   ` Randy Dunlap
  1 sibling, 1 reply; 4+ messages in thread
From: Alan Cox @ 2008-03-12 12:44 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml, netdev, akpm, jgarzik

On Tue, 11 Mar 2008 09:56:43 -0700
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> ne2 (MCA) needs both 8390.o and 8390p.o functions:

NAK - the two modules are alternatives nothing should use both - is 8390p
not sufficient ?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -mm] ne2: needs more 8390 support functions
  2008-03-12 12:44 ` Alan Cox
@ 2008-03-12 15:08   ` Randy Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2008-03-12 15:08 UTC (permalink / raw)
  To: Alan Cox; +Cc: lkml, netdev, akpm, jgarzik

Alan Cox wrote:
> On Tue, 11 Mar 2008 09:56:43 -0700
> Randy Dunlap <randy.dunlap@oracle.com> wrote:
> 
>> From: Randy Dunlap <randy.dunlap@oracle.com>
>>
>> ne2 (MCA) needs both 8390.o and 8390p.o functions:
> 
> NAK - the two modules are alternatives nothing should use both - is 8390p
> not sufficient ?

8390p alone is not sufficient.
http://lkml.org/lkml/2008/3/11/243

-- 
~Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-13 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-11 16:56 [PATCH -mm] ne2: needs more 8390 support functions Randy Dunlap
2008-03-12  4:51 ` Andrew Morton
2008-03-12 12:44 ` Alan Cox
2008-03-12 15:08   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).