diff options
Diffstat (limited to 'drivers/net/usb/cdc_ether.c')
-rw-r--r-- | drivers/net/usb/cdc_ether.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 2023f3ea891e..bd363b27e854 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c | |||
@@ -14,15 +14,13 @@ | |||
14 | * GNU General Public License for more details. | 14 | * GNU General Public License for more details. |
15 | * | 15 | * |
16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License |
17 | * along with this program; if not, write to the Free Software | 17 | * along with this program; if not, see <http://www.gnu.org/licenses/>. |
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | */ | 18 | */ |
20 | 19 | ||
21 | // #define DEBUG // error path messages, extra info | 20 | // #define DEBUG // error path messages, extra info |
22 | // #define VERBOSE // more; success messages | 21 | // #define VERBOSE // more; success messages |
23 | 22 | ||
24 | #include <linux/module.h> | 23 | #include <linux/module.h> |
25 | #include <linux/init.h> | ||
26 | #include <linux/netdevice.h> | 24 | #include <linux/netdevice.h> |
27 | #include <linux/etherdevice.h> | 25 | #include <linux/etherdevice.h> |
28 | #include <linux/ethtool.h> | 26 | #include <linux/ethtool.h> |
@@ -487,6 +485,7 @@ static const struct driver_info wwan_info = { | |||
487 | #define ZTE_VENDOR_ID 0x19D2 | 485 | #define ZTE_VENDOR_ID 0x19D2 |
488 | #define DELL_VENDOR_ID 0x413C | 486 | #define DELL_VENDOR_ID 0x413C |
489 | #define REALTEK_VENDOR_ID 0x0bda | 487 | #define REALTEK_VENDOR_ID 0x0bda |
488 | #define SAMSUNG_VENDOR_ID 0x04e8 | ||
490 | 489 | ||
491 | static const struct usb_device_id products[] = { | 490 | static const struct usb_device_id products[] = { |
492 | /* BLACKLIST !! | 491 | /* BLACKLIST !! |
@@ -653,6 +652,13 @@ static const struct usb_device_id products[] = { | |||
653 | .driver_info = 0, | 652 | .driver_info = 0, |
654 | }, | 653 | }, |
655 | 654 | ||
655 | /* Samsung USB Ethernet Adapters */ | ||
656 | { | ||
657 | USB_DEVICE_AND_INTERFACE_INFO(SAMSUNG_VENDOR_ID, 0xa101, USB_CLASS_COMM, | ||
658 | USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), | ||
659 | .driver_info = 0, | ||
660 | }, | ||
661 | |||
656 | /* WHITELIST!!! | 662 | /* WHITELIST!!! |
657 | * | 663 | * |
658 | * CDC Ether uses two interfaces, not necessarily consecutive. | 664 | * CDC Ether uses two interfaces, not necessarily consecutive. |