Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
@@ -67,7 +67,6 @@ config CHELSIO_T3
|
||||
config CHELSIO_T4
|
||||
tristate "Chelsio Communications T4/T5/T6 Ethernet support"
|
||||
depends on PCI && (IPV6 || IPV6=n)
|
||||
depends on THERMAL || !THERMAL
|
||||
select FW_LOADER
|
||||
select MDIO
|
||||
select ZLIB_DEFLATE
|
||||
|
@@ -12,6 +12,4 @@ cxgb4-objs := cxgb4_main.o l2t.o smt.o t4_hw.o sge.o clip_tbl.o cxgb4_ethtool.o
|
||||
cxgb4-$(CONFIG_CHELSIO_T4_DCB) += cxgb4_dcb.o
|
||||
cxgb4-$(CONFIG_CHELSIO_T4_FCOE) += cxgb4_fcoe.o
|
||||
cxgb4-$(CONFIG_DEBUG_FS) += cxgb4_debugfs.o
|
||||
ifdef CONFIG_THERMAL
|
||||
cxgb4-objs += cxgb4_thermal.o
|
||||
endif
|
||||
cxgb4-$(CONFIG_THERMAL) += cxgb4_thermal.o
|
||||
|
@@ -5871,7 +5871,7 @@ fw_attach_fail:
|
||||
if (!is_t4(adapter->params.chip))
|
||||
cxgb4_ptp_init(adapter);
|
||||
|
||||
if (IS_ENABLED(CONFIG_THERMAL) &&
|
||||
if (IS_REACHABLE(CONFIG_THERMAL) &&
|
||||
!is_t4(adapter->params.chip) && (adapter->flags & FW_OK))
|
||||
cxgb4_thermal_init(adapter);
|
||||
|
||||
@@ -5940,7 +5940,7 @@ static void remove_one(struct pci_dev *pdev)
|
||||
|
||||
if (!is_t4(adapter->params.chip))
|
||||
cxgb4_ptp_stop(adapter);
|
||||
if (IS_ENABLED(CONFIG_THERMAL))
|
||||
if (IS_REACHABLE(CONFIG_THERMAL))
|
||||
cxgb4_thermal_remove(adapter);
|
||||
|
||||
/* If we allocated filters, free up state associated with any
|
||||
|
Reference in New Issue
Block a user