From patchwork Mon Apr 19 09:54:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 93450 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3J9sh10021454 for ; Mon, 19 Apr 2010 09:54:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752847Ab0DSJym (ORCPT ); Mon, 19 Apr 2010 05:54:42 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:49716 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752076Ab0DSJyl (ORCPT ); Mon, 19 Apr 2010 05:54:41 -0400 Received: by fg-out-1718.google.com with SMTP id d23so1860180fga.1 for ; Mon, 19 Apr 2010 02:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=PyqinVA/KkuTAIjHSFjOpWOLFz8TSq+3cGTlWa1/9a4=; b=fjm6aZf3WtnOQw9z5xqFxUr/uCTROqpReW34EUJlpPx+W+QyQTGEVjYrp6itK+thMs +qp8za3vI2niD9/Ge9tCFGmi4tEXrtTqPULj0QZ4gXw6O7k/hjIRiMxSuZpKIZZy7YZr 63RP7bwbXOzn4xCgY7f75vmLpePy1SU64Ytyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=AKwpKm14l8UMBkWNcQc0K/sTyWec4VgcQ47KhCZioy4CoKgqzl3hXGblYPBXK0Da3D slwvRvlUWzh1f9c90RN4vGJOrHjSq0S6ZaiwAYe0adoHAP6nvt154s90WJPP9w7QUBXq SPP4Cgrgmz0MTE+hix1wCZBX0EW7DlxI/aNGw= Received: by 10.223.63.16 with SMTP id z16mr2607396fah.44.1271670866578; Mon, 19 Apr 2010 02:54:26 -0700 (PDT) Received: from localhost (212-73-60-144.red-acceso.airtel.net [212.73.60.144]) by mx.google.com with ESMTPS id p17sm10107678fka.46.2010.04.19.02.54.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 02:54:25 -0700 (PDT) From: Xose Vazquez Perez To: linux-wireless@vger.kernel.org Cc: users@rt2x00.serialmonkey.com, linville@tuxdriver.com, IvDoorn@gmail.com, gwingerde@gmail.com, xose.vazquez@gmail.com Subject: [PATCH] wireless: rt2x00: rt2800usb: identify Allwin devices Date: Mon, 19 Apr 2010 11:54:16 +0200 Message-Id: <1271670856-2532-1-git-send-email-xose.vazquez@gmail.com> X-Mailer: git-send-email 1.6.6.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 19 Apr 2010 09:54:45 +0000 (UTC) diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index df7666f..95c8a61 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c @@ -806,6 +806,10 @@ static struct usb_device_id rt2800usb_device_table[] = { { USB_DEVICE(0x07b8, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) }, { USB_DEVICE(0x07b8, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) }, { USB_DEVICE(0x1482, 0x3c09), USB_DEVICE_DATA(&rt2800usb_ops) }, + /* Allwin */ + { USB_DEVICE(0x8516, 0x2070), USB_DEVICE_DATA(&rt2800usb_ops) }, + { USB_DEVICE(0x8516, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) }, + { USB_DEVICE(0x8516, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) }, /* Amit */ { USB_DEVICE(0x15c5, 0x0008), USB_DEVICE_DATA(&rt2800usb_ops) }, /* Askey */ @@ -912,6 +916,10 @@ static struct usb_device_id rt2800usb_device_table[] = { { USB_DEVICE(0x07b8, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) }, /* AirTies */ { USB_DEVICE(0x1eda, 0x2310), USB_DEVICE_DATA(&rt2800usb_ops) }, + /* Allwin */ + { USB_DEVICE(0x8516, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) }, + { USB_DEVICE(0x8516, 0x3071), USB_DEVICE_DATA(&rt2800usb_ops) }, + { USB_DEVICE(0x8516, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) }, /* ASUS */ { USB_DEVICE(0x0b05, 0x1784), USB_DEVICE_DATA(&rt2800usb_ops) }, /* AzureWave */ @@ -996,6 +1004,8 @@ static struct usb_device_id rt2800usb_device_table[] = { { USB_DEVICE(0x5a57, 0x5257), USB_DEVICE_DATA(&rt2800usb_ops) }, #endif #ifdef CONFIG_RT2800USB_RT35XX + /* Allwin */ + { USB_DEVICE(0x8516, 0x3572), USB_DEVICE_DATA(&rt2800usb_ops) }, /* Askey */ { USB_DEVICE(0x1690, 0x0744), USB_DEVICE_DATA(&rt2800usb_ops) }, /* Cisco */ @@ -1019,14 +1029,6 @@ static struct usb_device_id rt2800usb_device_table[] = { * Unclear what kind of devices these are (they aren't supported by the * vendor driver). */ - /* Allwin */ - { USB_DEVICE(0x8516, 0x2070), USB_DEVICE_DATA(&rt2800usb_ops) }, - { USB_DEVICE(0x8516, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) }, - { USB_DEVICE(0x8516, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) }, - { USB_DEVICE(0x8516, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) }, - { USB_DEVICE(0x8516, 0x3071), USB_DEVICE_DATA(&rt2800usb_ops) }, - { USB_DEVICE(0x8516, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) }, - { USB_DEVICE(0x8516, 0x3572), USB_DEVICE_DATA(&rt2800usb_ops) }, /* Amigo */ { USB_DEVICE(0x0e0b, 0x9031), USB_DEVICE_DATA(&rt2800usb_ops) }, { USB_DEVICE(0x0e0b, 0x9041), USB_DEVICE_DATA(&rt2800usb_ops) },