netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: netdev@vger.kernel.org
Cc: David Miller <davem@davemloft.net>,
	Johannes Berg <johannes@sipsolutions.net>,
	Greg KH <greg@kroah.com>
Subject: [PATCH 0/4] More device type integration
Date: Fri,  2 Oct 2009 17:15:24 +0200	[thread overview]
Message-ID: <cover.1254495724.git.marcel@holtmann.org> (raw)

Hi Dave,

I followed the work from Johannes and made sure we can register the
device type for wireless devices via the netdev notifier callback for
all cfg80211 based devices. This way we don't have to touch any of
the drivers.

For the mobile broadband cards from Ericsson, the device type is now
set to "wwan" and it also uses "wwan%d" for the default interface name.

Regards

Marcel


Johannes Berg (1):
  net: introduce NETDEV_POST_INIT notifier

Marcel Holtmann (3):
  usbnet: Use wwan%d interface name for mobile broadband devices
  usbnet: Set device type for wlan and wwan devices
  cfg80211: assign device type in netdev notifier callback

 drivers/net/usb/cdc_ether.c |   20 ++++++++++++++------
 drivers/net/usb/usbnet.c    |   17 +++++++++++++++++
 include/linux/notifier.h    |    1 +
 include/linux/usb/usbnet.h  |    1 +
 net/core/dev.c              |    6 ++++++
 net/mac80211/iface.c        |    5 -----
 net/wireless/core.c         |    7 +++++++
 7 files changed, 46 insertions(+), 11 deletions(-)


             reply	other threads:[~2009-10-02 15:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-02 15:15 Marcel Holtmann [this message]
2009-10-02 15:15 ` [PATCH 1/4] usbnet: Use wwan%d interface name for mobile broadband devices Marcel Holtmann
2009-10-02 15:15 ` [PATCH 2/4] usbnet: Set device type for wlan and wwan devices Marcel Holtmann
2009-10-02 15:15 ` [PATCH 3/4] net: introduce NETDEV_POST_INIT notifier Marcel Holtmann
2009-10-02 15:15 ` [PATCH 4/4] cfg80211: assign device type in netdev notifier callback Marcel Holtmann
2009-10-05  7:44 ` [PATCH 0/4] More device type integration 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=cover.1254495724.git.marcel@holtmann.org \
    --to=marcel@holtmann.org \
    --cc=davem@davemloft.net \
    --cc=greg@kroah.com \
    --cc=johannes@sipsolutions.net \
    --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).