[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f3dc2ba44e737b2a495a26970a3485a7e705727e.camel@intel.com>
Date: Wed, 02 Jan 2019 09:19:20 -0800
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Dave Jones <davej@...emonkey.org.uk>, netdev@...r.kernel.org
Cc: Stephen Douthit <stephend@...icom-usa.com>,
Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Andrew Bowers <andrewx.bowers@...el.com>
Subject: Re: ixgbe / mdio dependancy error
On Wed, 2019-01-02 at 10:48 -0500, Dave Jones wrote:
> If you build IXGBE=y, and MDIO_BUS=y, we currently fail the build
> like so:
>
> MODPOST vmlinux.o
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.o: In function
> `ixgbe_mdio_read':
> /mnt/data/src/kernel/git-trees/linux-
> dj/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8801: undefined
> reference to `mdiobus_read'
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.o: In function
> `ixgbe_remove':
> /mnt/data/src/kernel/git-trees/linux-
> dj/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:11198: undefined
> reference to `mdiobus_unregister'
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.o: In function
> `ixgbe_mdio_write':
> /mnt/data/src/kernel/git-trees/linux-
> dj/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8824: undefined
> reference to `mdiobus_write'
> drivers/net/ethernet/intel/ixgbe/ixgbe_phy.o: In function
> `devm_mdiobus_alloc':
> /mnt/data/src/kernel/git-trees/linux-dj/./include/linux/phy.h:264:
> undefined reference to `devm_mdiobus_alloc_size'
> drivers/net/ethernet/intel/ixgbe/ixgbe_phy.o: In function
> `ixgbe_mii_bus_init':
> /mnt/data/src/kernel/git-trees/linux-
> dj/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c:955: undefined
> reference to `devm_mdiobus_free'
> /mnt/data/src/kernel/git-trees/linux-
> dj/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c:952: undefined
> reference to `__mdiobus_register'
> Makefile:1027: recipe for target 'vmlinux' failed
> make: *** [vmlinux] Error 1
>
>
> full .config is at http://paste.debian.net/1058334/
This is because PHYLIB=m which forces MDIO_BUS=m. If you have IXGBE=y,
then PHYLIB and MDIO_BUS can't be modules. Working on a patch to
correct the issue.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists