Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cnic: add NETDEV_1000 and NETDEVICES to Kconfig select

NETDEVICES + NETDEV_1000 need to be enabled so that kconfig will check
those branches for selects and enforce "select UIO" under CNIC.
Otherwise the build fails with:

ERROR: "uio_unregister_device" [drivers/net/cnic.ko] undefined!
ERROR: "uio_event_notify" [drivers/net/cnic.ko] undefined!
ERROR: "__uio_register_device" [drivers/net/cnic.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Randy Dunlap and committed by
James Bottomley
89555382 e2ee3616

+2
+2
drivers/scsi/bnx2i/Kconfig
··· 1 1 config SCSI_BNX2_ISCSI 2 2 tristate "Broadcom NetXtreme II iSCSI support" 3 3 select SCSI_ISCSI_ATTRS 4 + select NETDEVICES 5 + select NETDEV_1000 4 6 select CNIC 5 7 depends on PCI 6 8 ---help---