From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: Florian Fainelli <f.fainelli@gmail.com>,
Steve Douthit <stephend@silicom-usa.com>,
Dave Jones <davej@codemonkey.org.uk>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Cc: Andrew Lunn <andrew@lunn.ch>, Andrew Bowers <andrewx.bowers@intel.com>
Subject: Re: ixgbe / mdio dependancy error
Date: Wed, 02 Jan 2019 15:46:34 -0800 [thread overview]
Message-ID: <290e720f0e3420ee7ec2d074c600a74c27b1913d.camel@intel.com> (raw)
In-Reply-To: <c9ffccba-ef0a-21e5-aa6c-2b226980729f@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1330 bytes --]
On Wed, 2019-01-02 at 15:42 -0800, Florian Fainelli wrote:
> On 1/2/19 3:30 PM, Steve Douthit wrote:
> > > 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.
> >
> > There was a review comment to select MDIO_DEVICE instead of PHYLIB.
> > PHYLIB seems correct to me now that I'm looking at this again
> > though. I
> > came up empty looking for any other drivers that select
> > MDIO_DEVICE.
> >
> > The objection was that DSA devices wouldn't need the PHYLIB API, so
> > why
> > force it to be built-in. NET_DSA selects PHYLINK which selects
> > PHYLIB.
> > I think we're ok going back to select PHYLIB if that was the only
> > problem.
>
> Apologies if this was a slightly misguided recommendation, I have to
> admit, I did not consider a case where ixgbe would not be modular
> while
> everything else it would now depend on is.
>
> There is a similar pattern with any driver that e.g: has a HWMON
> capability in that you must add something like:
>
> depends on !FOO=y && DEPS=m or something like that.
Yes, and DCA has that same format, which is what I am working on. Just
means that all the code added by Steve will need to be wrapped with the
config option.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2019-01-02 23:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-02 15:48 ixgbe / mdio dependancy error Dave Jones
2019-01-02 16:16 ` Jeff Kirsher
2019-01-02 17:19 ` Jeff Kirsher
2019-01-02 23:30 ` Steve Douthit
2019-01-02 23:38 ` Jeff Kirsher
2019-01-02 23:42 ` Florian Fainelli
2019-01-02 23:46 ` Jeff Kirsher [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=290e720f0e3420ee7ec2d074c600a74c27b1913d.camel@intel.com \
--to=jeffrey.t.kirsher@intel.com \
--cc=andrew@lunn.ch \
--cc=andrewx.bowers@intel.com \
--cc=davej@codemonkey.org.uk \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=stephend@silicom-usa.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.