Skip to content

Commit

Permalink
[SCSI] fcoe: fix configuration problems
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Bottomley authored and James Bottomley committed Dec 30, 2008
1 parent 58daa68 commit fb5edd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -607,13 +607,13 @@ config SCSI_FLASHPOINT

config LIBFC
tristate "LibFC module"
depends on SCSI && SCSI_FC_ATTRS
select SCSI_FC_ATTRS
---help---
Fibre Channel library module

config FCOE
tristate "FCoE module"
depends on SCSI
depends on PCI
select LIBFC
---help---
Fibre Channel over Ethernet module
Expand Down

0 comments on commit fb5edd0

Please sign in to comment.