Skip to content

Commit ae84e4a

Browse files
Jeff Kirsherdavem330
authored andcommitted
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 <davej@codemonkey.org.uk> CC: Steve Douthit <stephend@silicom-usa.com> CC: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Reviewed-by: Stephen Douthit <stephend@silicom-usa.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8d93367 commit ae84e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/intel/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ config IXGBE
159159
tristate "Intel(R) 10GbE PCI Express adapters support"
160160
depends on PCI
161161
select MDIO
162-
select MDIO_DEVICE
162+
select PHYLIB
163163
imply PTP_1588_CLOCK
164164
---help---
165165
This driver supports Intel(R) 10GbE PCI Express family of

0 commit comments

Comments
 (0)