[SCSI] cnic, bnx2i: Fix build failure when CONFIG_PCI is not set.
authorMichael Chan <mchan@broadcom.com>
Wed, 10 Jun 2009 20:35:28 +0000 (13:35 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 15 Jun 2009 15:09:31 +0000 (10:09 -0500)
CNIC and BNX2I must depend on PCI.  Dependencies do not get
propagated through select.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/net/Kconfig
drivers/scsi/bnx2i/Kconfig

index f3c4a3b910bb0d1c16620695662b86136a6cd061..f6903140dd91402cf2502288801d4ed90ccd4806 100644 (file)
@@ -2266,8 +2266,9 @@ config BNX2
 
 config CNIC
        tristate "Broadcom CNIC support"
-       depends on BNX2
-       depends on UIO
+       depends on PCI
+       select BNX2
+       select UIO
        help
          This driver supports offload features of Broadcom NetXtremeII
          gigabit Ethernet cards.
index 820d428ae839d2994c25e7349779dabd94a37921..b62b482e55e793286a947607e8992a5333483d98 100644 (file)
@@ -2,6 +2,7 @@ config SCSI_BNX2_ISCSI
        tristate "Broadcom NetXtreme II iSCSI support"
        select SCSI_ISCSI_ATTRS
        select CNIC
+       depends on PCI
        ---help---
        This driver supports iSCSI offload for the Broadcom NetXtreme II
        devices.