netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Giuseppe CAVALLARO <peppe.cavallaro@st.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, mamoroso@micron.com,
	shiraz.hashim@st.com, armando.visconti@st.com,
	stuart.menefy@st.com
Subject: Re: [PATCH 1/6] net: add the nwhwconfig support
Date: Thu, 17 Nov 2011 11:17:33 +0100	[thread overview]
Message-ID: <4EC4DF3D.5040009@st.com> (raw)
In-Reply-To: <20111117.030625.229541498275597867.davem@davemloft.net>

Hello David,

On 11/17/2011 9:06 AM, David Miller wrote:
> From: Giuseppe CAVALLARO<peppe.cavallaro@st.com>
> Date: Thu, 17 Nov 2011 09:01:40 +0100
>
>> Network drivers support hardware level configuration via utilities such as
>> ifconfig, ethtool and mii-tool. However sometimes these settings need to be
>> adjusted before a file system is available (typically if the root file system
>> uses NFS).
>
> No way, use an initial ramdisk.

Yes I agree with you that ramdisk is a solution :-) but this driver is 
actually helping many users of stmmac on several platforms.
Hmm, I also think it can be useful.

For example, in my environment, I need to continuously boot a Kernel on 
ST boxes and mount a rootFS via NFS to have the access to the full 
(arm/sh - glibc/uclibc) distributions (to use several packages for 
networking tests, X system etc).
This driver helps me to go faster in the normal development.
I am aware that starting with a ramdisk I could do that but with extra 
steps and configuration.
I mean, I want to pass all my network configuration in command line, 
such as ip= option, and this driver should not be in conflict with this 
logic.

With this small driver it's possible to force link speed and duplex 
modes when the kernel boots and this help me on validating HW and 
performing tests as well.

In any case, the driver is on the mailing list and other people can test 
it and provide feedback and enhancements.

Best Regards
Peppe

> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

      reply	other threads:[~2011-11-17 10:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-17  8:01 [PATCH 1/6] net: add the nwhwconfig support Giuseppe CAVALLARO
2011-11-17  8:06 ` David Miller
2011-11-17 10:17   ` Giuseppe CAVALLARO [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=4EC4DF3D.5040009@st.com \
    --to=peppe.cavallaro@st.com \
    --cc=armando.visconti@st.com \
    --cc=davem@davemloft.net \
    --cc=mamoroso@micron.com \
    --cc=netdev@vger.kernel.org \
    --cc=shiraz.hashim@st.com \
    --cc=stuart.menefy@st.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 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).