Commit fb5edd020fa0fbe991f4a473611ad530d2237425

Authored by James Bottomley
1 parent 58daa68a8f

[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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/scsi/Kconfig
... ... @@ -607,13 +607,13 @@
607 607  
608 608 config LIBFC
609 609 tristate "LibFC module"
610   - depends on SCSI && SCSI_FC_ATTRS
  610 + select SCSI_FC_ATTRS
611 611 ---help---
612 612 Fibre Channel library module
613 613  
614 614 config FCOE
615 615 tristate "FCoE module"
616   - depends on SCSI
  616 + depends on PCI
617 617 select LIBFC
618 618 ---help---
619 619 Fibre Channel over Ethernet module