public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: andy.green@linaro.org, "Rafael J. Wysocki" <rjw@sisk.pl>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	patches@linaro.org
Subject: Re: [RFC PATCH 3/4] PLATFORM: Introduce async platform_data attach api
Date: Mon, 14 Mar 2011 14:13:35 -0700	[thread overview]
Message-ID: <20110314211335.GA2351@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1103141659080.4194-100000@iolanthe.rowland.org>

On Mon, Mar 14, 2011 at 05:03:17PM -0400, Alan Stern wrote:
> On Mon, 14 Mar 2011, Greg KH wrote:
> 
> > No, it has been determined a long time ago that network naming things
> > like this are to be done in userspace.  It's an argument that has come
> > and gone many years ago, sorry.  See all of the wonderful, and simple,
> > tools we have today in userspace to handle this type of thing.  Distros
> > can use them how ever they see fit, and even better, users can configure
> > them!  That means they don't have to rebuild their kernels, which is a
> > bit unreasonable, don't you think?
> 
> ...
> 
> > Perhaps we should just always name these things 'eth%d'?  Oh wait, as it
> > really is a USB device, they are supposed to be called 'usb%d' as
> > determined (again) a long time ago.
> > 
> > If a distro/board manufacturer wants to hide the fact that this really
> > is a usb device by renaming it to eth0, then again, it can.  But don't
> > force the kernel to have that policy in it.
> 
> This argument does sound contradictory.  If network interface naming 
> should be left entirely up to userspace, then why doesn't the kernel 
> always generate names of the form "eth%d"?  Why not rip all that stuff 
> about "usb%d" or "wlan%d" out of the driver entirely?
> 
> (Apart from the fact that this would be a user-visible change in kernel 
> policy and would break a large number of systems...)

I think that is the only reason it is sticking around.

thanks,

greg k-h

  reply	other threads:[~2011-03-14 21:16 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-12 22:32 [RFC PATCH 0/4] PLATFORM: Support for async platform_data Andy Green
2011-03-12 22:32 ` [RFC PATCH 1/4] PLATFORM: introduce structure to bind async platform data to a dev path name Andy Green
2011-03-12 23:29   ` Rafael J. Wysocki
2011-03-12 23:39     ` Andy Green
2011-03-13  1:03       ` Greg KH
2011-03-13 11:22         ` Andy Green
2011-03-13 12:51           ` Rafael J. Wysocki
2011-03-13 13:53             ` Andy Green
2011-03-13 16:58               ` Rafael J. Wysocki
2011-03-13 17:21                 ` Andy Green
2011-03-13 20:45                   ` Rafael J. Wysocki
2011-03-13 16:14           ` Greg KH
2011-03-13 17:26             ` Andy Green
2011-03-12 22:32 ` [RFC PATCH 2/4] PLATFORM: Introduce registration function for async platform data maps Andy Green
2011-03-12 22:32 ` [RFC PATCH 3/4] PLATFORM: Introduce async platform_data attach api Andy Green
2011-03-13  1:01   ` Greg KH
2011-03-13 10:41     ` Rafael J. Wysocki
2011-03-13 11:58       ` Andy Green
2011-03-13 12:53         ` Rafael J. Wysocki
2011-03-13 13:21           ` Andy Green
2011-03-13 16:15             ` Greg KH
2011-03-13 17:13               ` Andy Green
2011-03-13 17:48                 ` Greg KH
2011-03-13 18:13                   ` Andy Green
2011-03-13 23:26                     ` Greg KH
2011-03-14  8:38                       ` Andy Green
2011-03-14 20:54                         ` Greg KH
2011-03-14 21:03                           ` Alan Stern
2011-03-14 21:13                             ` Greg KH [this message]
2011-03-14 21:10                           ` Mark Brown
2011-03-14 21:59                           ` Andy Green
2011-03-12 22:32 ` [RFC PATCH 4/4] PLATFORM: Add some documentation to platform docs about async platform_data Andy Green

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=20110314211335.GA2351@kroah.com \
    --to=greg@kroah.com \
    --cc=andy.green@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=rjw@sisk.pl \
    --cc=stern@rowland.harvard.edu \
    /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