netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cdc_ncm: Ericsson F5521gw appears as usbX, while Ericsson F3507g as wwanX
@ 2011-06-01 10:08 Stefan Metzmacher
  2011-06-01 10:08 ` [PATCH] TODO FLAG_POINTTOPOINT => FLAG_WWAN? usbnet/cdc_ncm: mark ncm devices as "mobile broadband devices" with FLAG_WWAN Stefan Metzmacher
  0 siblings, 1 reply; 18+ messages in thread
From: Stefan Metzmacher @ 2011-06-01 10:08 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: Greg Kroah-Hartman, linux-usb, netdev, linux-kernel

Hi,

commit e1e499eef2200c2a7120c9ebf297d48b195cf887
"usbnet: Use wwan%d interface name for mobile broadband devices"
introducted the FLAG_WWAN flag and caused the Ericsson F3507g
modem to appear as wwanX device instead of usbX.

commit c261344d3ce3edac781f9d3c7eabe2e96d8e8fe8
"usbnet: use eth%d name for known ethernet devices"
introduced the FLAG_POINTTOPOINT and added it to
the cdc_ncm modules without the FLAG_ETHER.

I'm wondering if the FLAG_POINTTOPOINT (without FLAG_ETHER)
should be changed to FLAG_WWAN instead.

I've changed that for the cdc_ncm driver in order to make Ericsson F5521gw
appear as wwanX, but I'm not sure if it's correct for all devices which
are supported by the cdc_ncm driver.

Maybe this should apply to all drivers in drivers/net/usb?

The following patch is just an example of what I'm currently using,
a possible upstream patch may need to look differently.

Comments please.

metze


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-06-03 19:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-01 10:08 cdc_ncm: Ericsson F5521gw appears as usbX, while Ericsson F3507g as wwanX Stefan Metzmacher
2011-06-01 10:08 ` [PATCH] TODO FLAG_POINTTOPOINT => FLAG_WWAN? usbnet/cdc_ncm: mark ncm devices as "mobile broadband devices" with FLAG_WWAN Stefan Metzmacher
2011-06-01 10:20   ` Alexey ORISHKO
2011-06-01 10:47     ` Stefan (metze) Metzmacher
2011-06-01 11:39       ` Alexey ORISHKO
2011-06-01 11:54         ` Stefan (metze) Metzmacher
2011-06-01 12:27           ` Alexey ORISHKO
2011-06-03  9:35             ` Stefan (metze) Metzmacher
2011-06-02 22:29     ` Dan Williams
2011-06-02 22:35       ` Dan Williams
2011-06-03  0:58         ` Valdis.Kletnieks
     [not found]           ` <5203.1307062683-+bZmOdGhbsPr6rcHtW+onFJE71vCis6O@public.gmane.org>
2011-06-03  9:45             ` Alexey ORISHKO
2011-06-03 10:01               ` Oliver Neukum
2011-06-03 10:23                 ` Alexey ORISHKO
2011-06-03 10:50                   ` Oliver Neukum
     [not found]                     ` <201106031250.28041.oneukum-l3A5Bk7waGM@public.gmane.org>
2011-06-03 11:47                       ` Alexey ORISHKO
2011-06-03 12:31                     ` Bjørn Mork
2011-06-03 19:24               ` Dan Williams

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).