* [2.6 patch] VIA_VELOCITY must depend on INET
@ 2005-07-19 13:55 Adrian Bunk
2005-07-20 11:26 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-07-19 13:55 UTC (permalink / raw)
To: jgarzik; +Cc: netdev, linux-kernel
VIA_VELOCITY=y and INET=n results in the following compile error:
<-- snip -->
...
LD .tmp_vmlinux1
drivers/built-in.o: In function `velocity_register_notifier':
via-velocity.c:(.text+0x3462c6): undefined reference to `register_inetaddr_notifier'
drivers/built-in.o: In function `velocity_unregister_notifier':
via-velocity.c:(.text+0x3462d6): undefined reference to `unregister_inetaddr_notifier'
make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.13-rc3-mm1-full/drivers/net/Kconfig.old 2005-07-19 02:11:45.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/drivers/net/Kconfig 2005-07-19 02:12:09.000000000 +0200
@@ -2016,7 +2016,7 @@
config VIA_VELOCITY
tristate "VIA Velocity support"
- depends on NET_PCI && PCI
+ depends on INET && NET_PCI && PCI
select CRC32
select CRC_CCITT
select MII
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] VIA_VELOCITY must depend on INET
2005-07-19 13:55 [2.6 patch] VIA_VELOCITY must depend on INET Adrian Bunk
@ 2005-07-20 11:26 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2005-07-20 11:26 UTC (permalink / raw)
To: Adrian Bunk; +Cc: jgarzik, netdev, linux-kernel
On Maw, 2005-07-19 at 15:55 +0200, Adrian Bunk wrote:
> VIA_VELOCITY=y and INET=n results in the following compile error:
>
> <-- snip -->
>
> ...
> LD .tmp_vmlinux1
> drivers/built-in.o: In function `velocity_register_notifier':
> via-velocity.c:(.text+0x3462c6): undefined reference to `register_inetaddr_notifier'
> drivers/built-in.o: In function `velocity_unregister_notifier':
> via-velocity.c:(.text+0x3462d6): undefined reference to `unregister_inetaddr_notifier'
> make: *** [.tmp_vmlinux1] Error 1
Alternatively you could drop those functions when CONFIG_INET is n as
they are only used for wake on arp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-20 11:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-19 13:55 [2.6 patch] VIA_VELOCITY must depend on INET Adrian Bunk
2005-07-20 11:26 ` Alan Cox
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).