* Linker error on via-velocity driver
@ 2006-08-21 20:17 Henne
2006-08-21 22:07 ` Francois Romieu
0 siblings, 1 reply; 2+ messages in thread
From: Henne @ 2006-08-21 20:17 UTC (permalink / raw)
To: netdev; +Cc: linux-kernel
Hi there!
I found a bug in the via-velocity driver, but I cant find a maintainer for that, so I write to the lists.
This driver depends on CONFIG_INET (tcp/ip) if CONFIG_PM is enabled.
This is tested on i386 and x86_64.
I'm not familiar with network stuff but I don't believe a device should depend on a protocol.
If you are interested to fix it:
make allnoconfig
enable CONFIG_PCI
enable CONFIG_NET
enable CONFIG_NET_ETHERNET
enable CONFIG_NET_PCI
enable CONFIG_VIA_VELOCITY
make
That only happens when CONFIG_PM is enabled. If it's switched off it won't happen.
Greets,
Henne
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linker error on via-velocity driver
2006-08-21 20:17 Linker error on via-velocity driver Henne
@ 2006-08-21 22:07 ` Francois Romieu
0 siblings, 0 replies; 2+ messages in thread
From: Francois Romieu @ 2006-08-21 22:07 UTC (permalink / raw)
To: Henne; +Cc: netdev, linux-kernel
Henne <henne@nachtwindheim.de> :
[...]
> I found a bug in the via-velocity driver, but I cant find a maintainer
> for that, so I write to the lists.
> This driver depends on CONFIG_INET (tcp/ip) if CONFIG_PM is enabled.
> This is tested on i386 and x86_64.
> I'm not familiar with network stuff but I don't believe a device should
> depend on a protocol.
See the comment on top of velocity_get_ip() related to wol and arp.
How does it behave with the patch below:
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 3918990..30f21b6 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2173,6 +2173,7 @@ config VIA_VELOCITY
select CRC32
select CRC_CCITT
select MII
+ select INET if PM
help
If you have a VIA "Velocity" based network card say Y here.
--
Ueimor
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-21 22:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21 20:17 Linker error on via-velocity driver Henne
2006-08-21 22:07 ` Francois Romieu
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).