From: Tobias Klauser <tklauser@distanz.ch>
To: David Laight <David.Laight@ACULAB.COM>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH net] net: ethernet: davicom: Allow to select DM9000 for nios2
Date: Fri, 12 Dec 2014 11:17:21 +0100 [thread overview]
Message-ID: <20141212101721.GG16916@distanz.ch> (raw)
In-Reply-To: <063D6719AE5E284EB5DD2968C1650D6D1CA0BA8C@AcuExch.aculab.com>
On 2014-12-12 at 11:08:03 +0100, David Laight <David.Laight@ACULAB.COM> wrote:
> From: Tobias Klauser
> > On 2014-12-12 at 10:49:13 +0100, David Laight <David.Laight@ACULAB.COM> wrote:
> > > From: Tobias Klauser
> > > > This chip is present on older revisions of the DE2 development kit.
> > >
> > > Doesn't that mean the selector should be DE2 not NIOS2.
> > >
> > > NIOS2 is a cpu not a board and I think this is an external peripheral
> > > not something implemented in the fpga itself.
> >
> > You're of course right, but since nios2 relies on device tree there is
> > no notion of a specific board at compile time.
> >
> > Moreover, the chip might be used on other boards (I personally know of
> > at least one) based on the nios2 softcore.
>
> And I've got several boards on my desk that have Altera fpgas and
> could conceivably run linux, none of which have that chip.
>
> Given the typical memory size constraints of such systems I can't
> actually imagine anyone wanting to run anything other than a
> specific cut-down kernel with a similarly cut-down userspace.
>
> With actual hardware you might want any PCIe device (since the
> fpga can be a PCIe host).
> So whereas you might want almost any device, you probably want
> almost none of them.
>
> So trying to build a 'one size fits all' kernel is completely doomed.
I completely agree. However I don't see how this has anything to do with
this patch, as it only allows to select the driver but doesn't do so by
default.
next prev parent reply other threads:[~2014-12-12 10:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-12 9:21 [PATCH net] net: ethernet: davicom: Allow to select DM9000 for nios2 Tobias Klauser
2014-12-12 9:49 ` David Laight
2014-12-12 9:57 ` Tobias Klauser
2014-12-12 10:08 ` David Laight
2014-12-12 10:17 ` Tobias Klauser [this message]
2014-12-12 11:28 ` Simon Horman
2014-12-12 12:40 ` Tobias Klauser
2014-12-12 13:58 ` Simon Horman
2014-12-12 16:26 ` David Miller
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=20141212101721.GG16916@distanz.ch \
--to=tklauser@distanz.ch \
--cc=David.Laight@ACULAB.COM \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).