diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-30 10:44:29 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-30 14:09:44 -0500 |
commit | fb5edd020fa0fbe991f4a473611ad530d2237425 (patch) | |
tree | 826bf5a41a6691b1bed7711cf2e36ecd8d750d14 /drivers | |
parent | 58daa68a8fd4a373092df9035fdccaa29420f1e6 (diff) |
[SCSI] fcoe: fix configuration problems
fcoe selects libfc and requires SCSI and PCI (the SCSI requirement is
implicitly covered by an enclosing if). Fix them both up so they
cannot be configured in an invalid state: make LIBFC select
SCSI_FC_ATTRS and make FCOE depend on PCI and select LIBFC.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 0e5e084dfb4c..152d4aa9354f 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig | |||
@@ -607,13 +607,13 @@ config SCSI_FLASHPOINT | |||
607 | 607 | ||
608 | config LIBFC | 608 | config LIBFC |
609 | tristate "LibFC module" | 609 | tristate "LibFC module" |
610 | depends on SCSI && SCSI_FC_ATTRS | 610 | select SCSI_FC_ATTRS |
611 | ---help--- | 611 | ---help--- |
612 | Fibre Channel library module | 612 | Fibre Channel library module |
613 | 613 | ||
614 | config FCOE | 614 | config FCOE |
615 | tristate "FCoE module" | 615 | tristate "FCoE module" |
616 | depends on SCSI | 616 | depends on PCI |
617 | select LIBFC | 617 | select LIBFC |
618 | ---help--- | 618 | ---help--- |
619 | Fibre Channel over Ethernet module | 619 | Fibre Channel over Ethernet module |