]> bbs.cooldavid.org Git - net-next-2.6.git/commit
cdc_ether: Identify MBM devices by GUID in MDLM descriptor
authorJonas Sjöquist <jonas.sjoquist@ericsson.com>
Fri, 23 Apr 2010 01:07:45 +0000 (01:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Apr 2010 23:27:36 +0000 (16:27 -0700)
commit21851264120b0bd1f953328cb131abcfa9305bc3
tree0c2e2cb447f51508aa50bdd738b93b91a298a790
parent81a2e36df7de8bf9417de67f9d54b4f740072ed0
cdc_ether: Identify MBM devices by GUID in MDLM descriptor

This patch removes vid/pid for Ericsson MBM devices from the whitelist set of
devices. The MBM devices are instead identified by GUID.

In order for cdc_ether to handle these devices the GUID in the MDLM descriptor
is tested. All MBM devices currently handled by cdc_ether as well as future
CDC Ethernet MBM devices can be identified by the GUID.

This is the same solution used in Carl Nordbeck's mbm driver,
http://kerneltrap.org/mailarchive/linux-usb/2008/11/17/4141384/thread

I post this as RFC to get feedback on however cdc_ether is the correct place to
do the binding, or if it should be done in a separate driver, e.g. zaurus.

Signed-off-by: Jonas Sjöquist <jonas.sjoquist@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c