Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933924Ab1CXRUt (ORCPT ); Thu, 24 Mar 2011 13:20:49 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:48931 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757110Ab1CXRUq (ORCPT ); Thu, 24 Mar 2011 13:20:46 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tlEvLIlw6B93AYOwpF09qrMzOaTutt4rgGC5QVVHjL9NR/F7g0mn73PPq91S3jCOG9 NCLRwo85uF+6HhNXVayCI2QHjJQ2vV7StuPko3F7cQilu5JVodIZ/FWJYv9AR+M0M9qN g1wkOcQVP1fQm1zGEc5FRQusiHis2s0/3ekxc= MIME-Version: 1.0 In-Reply-To: <201103241415.45115.arnd@arndb.de> References: <4D79F068.2080009@linaro.org> <1300924878.2638.38.camel@bwh-desktop> <201103241413.54599.arnd@arndb.de> <201103241415.45115.arnd@arndb.de> Date: Thu, 24 Mar 2011 18:20:44 +0100 Message-ID: Subject: Re: [RFC] usbnet: use eth%d name for known ethernet devices From: Alexey Orishko To: Arnd Bergmann Cc: Ben Hutchings , Steve Calfee , Michal Nazarewicz , Randy Dunlap , broonie@opensource.wolfsonmicro.com, lkml , Nicolas Pitre , Greg KH , David Brownell , Alan Cox , grant.likely@secretlab.ca, Linux USB list , andy.green@linaro.org, netdev@vger.kernel.org, Benjamin Herrenschmidt , roger.quadros@nokia.com, Jaswinder Singh , patches@linaro.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 24 On Thu, Mar 24, 2011 at 2:15 PM, Arnd Bergmann wrote: > > The approach taken here is to flag whether a device might be a > point-to-point link with the new FLAG_PTP setting in the usbnet > driver_info. A driver can set both FLAG_PTP and FLAG_ETHER if > it is not sure (e.g. cdc_ether), or just one of the two. > The usbnet framework only looks at the MAC address for device > naming if both flags are set, otherwise it trusts the flag. Should this paragraph above be a clue for the flag name? Sorry for late comment, but having flag called FLAG_POINTTOPOINT is really confusing. ptp, p2p terms are heavily used and will mislead folks. Would it be better to call it something like IGNORE_MAC_ADDRESS if this is the feature you are targeting? /Alexey -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/