Skip to contentSkip to conversation

MIPS: ip27: disable qlge driver in defconfig

PATCH Applied Arnd Bergmann 2 participants 2 messages Feb 3, 2017 – Feb 15, 2017 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: ip27: disable qlge driver in defconfig

One of the last remaining failures in kernelci.org is for a gcc bug:

drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: error: insn does not satisfy its constraints:
drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: internal compiler error: in extract_constrain_insn, at recog.c:2190

This is apparently broken in gcc-6 but fixed in gcc-7, and I cannot reproduce the problem here. However, it is clear that ip27_defconfig does not actually need this driver as the platform has only PCI-X but not PCIe, and the qlge adapter in turn is PCIe-only.

The driver was originally enabled in 2010 along with lots of other drivers.

Fixes 59d302b342e5 ("MIPS: IP27: Make defconfig useful again.")
---
 arch/mips/configs/ip27_defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/mips/configs/ip27_defconfig +0 -1
index 18f024967dcd..e582069b44fd 100644
@@ -205,7 +205,6 @@ CONFIG_MLX4_EN=m
 # CONFIG_MLX4_DEBUG is not set
 CONFIG_TEHUTI=m
 CONFIG_BNX2X=m
-CONFIG_QLGE=m
 CONFIG_SFC=m
 CONFIG_BE2NET=m
 CONFIG_LIBERTAS_THINFIRM=m
Signature · 1 line
2.9.0
Applied
#1 lore raw
Quoted 10 lines · Arnd Bergmann

One of the last remaining failures in kernelci.org is for a gcc bug:

drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: error: insn does not satisfy its constraints:
drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: internal compiler error: in extract_constrain_insn, at recog.c:2190

This is apparently broken in gcc-6 but fixed in gcc-7, and I cannot reproduce the problem here. However, it is clear that ip27_defconfig does not actually need this driver as the platform has only PCI-X but not PCIe, and the qlge adapter in turn is PCIe-only.

Quoted 4 lines

The driver was originally enabled in 2010 along with lots of other drivers.

Fixes 59d302b342e5 ("MIPS: IP27: Make defconfig useful again.")

Applied

Thanks
James

Quoted 20 lines
---
 arch/mips/configs/ip27_defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/mips/configs/ip27_defconfig +0 -1
index 18f024967dcd..e582069b44fd 100644
@@ -205,7 +205,6 @@ CONFIG_MLX4_EN=m
 # CONFIG_MLX4_DEBUG is not set
 CONFIG_TEHUTI=m
 CONFIG_BNX2X=m
-CONFIG_QLGE=m
 CONFIG_SFC=m
 CONFIG_BE2NET=m
 CONFIG_LIBERTAS_THINFIRM=m
Signature · 1 line
2.9.0