Skip to content

Commit

Permalink
staging: fix silicom dependencies and build errors
Browse files Browse the repository at this point in the history
Fix kconfig dependencies in silicom.  Fixes these build errors:

ERROR: "init_net" [drivers/staging/silicom/bypasslib/bypass.ko] undefined!
ERROR: "register_netdevice_notifier" [drivers/staging/silicom/bpctl_mod.ko] undefined!
ERROR: "unregister_netdevice_notifier" [drivers/staging/silicom/bpctl_mod.ko] undefined!
ERROR: "init_net" [drivers/staging/silicom/bpctl_mod.ko] undefined!
ERROR: "netdev_info" [drivers/net/mii.ko] undefined!
ERROR: "netif_carrier_on" [drivers/net/mii.ko] undefined!
ERROR: "netif_carrier_off" [drivers/net/mii.ko] undefined!

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Sep 21, 2012
1 parent 463bf50 commit 8fb0aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/silicom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if NET_VENDOR_SILICOM

config SBYPASS
tristate "Silicom BypassCTL library support"
depends on PCI
depends on PCI && NET
depends on m
---help---
If you have a network (Ethernet) controller of this type, say Y
Expand All @@ -29,7 +29,7 @@ config SBYPASS

config BPCTL
tristate "Silicom BypassCTL net support"
depends on PCI
depends on PCI && NET
depends on m
select SBYPASS
select NET_CORE
Expand Down

0 comments on commit 8fb0aeb

Please sign in to comment.