Commit ae84e4a8 authored by Jeff Kirsher's avatar Jeff Kirsher Committed by David S. Miller
Browse files

ixgbe: fix Kconfig when driver is not a module

The new ability added to the driver to use mii_bus to handle MII related
ioctls is causing compile issues when the driver is compiled into the
kernel (i.e. not a module).

The problem was in selecting MDIO_DEVICE instead of the preferred PHYLIB
Kconfig option.  The reason being that MDIO_DEVICE had a dependency on
PHYLIB and would be compiled as a module when PHYLIB was a module, no
matter whether ixgbe was compiled into the kernel.

CC: Dave Jones <>
CC: Steve Douthit <>
CC: Florian Fainelli <>
Signed-off-by: default avatarJeff Kirsher <>
Reviewed-by: default avatarStephen Douthit <>
Reviewed-by: Florian Fainelli's avatarFlorian Fainelli <>
Signed-off-by: default avatarDavid S. Miller <>
parent 8d933670
......@@ -159,7 +159,7 @@ config IXGBE
tristate "Intel(R) 10GbE PCI Express adapters support"
depends on PCI
select MDIO
select PHYLIB
imply PTP_1588_CLOCK
This driver supports Intel(R) 10GbE PCI Express family of
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment