Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753987AbaBDOmS (ORCPT ); Tue, 4 Feb 2014 09:42:18 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:45233 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751234AbaBDOmM (ORCPT ); Tue, 4 Feb 2014 09:42:12 -0500 MIME-Version: 1.0 Reply-To: andrea.merello@gmail.com In-Reply-To: <20140204092836.GG26776@mwanda> References: <52ee2ee736e00_2c3211fc86c5851f@209.249.196.67.mail> <20140202160512.GA4946@redhat.com> <201402021807.37772.s.L-H@gmx.de> <52EFCC66.9020304@lwfinger.net> <20140203201228.GE26722@mwanda> <20140204092836.GG26776@mwanda> From: Andrea Merello Date: Tue, 4 Feb 2014 15:41:46 +0100 Message-ID: Subject: Re: rtl8821ae. To: Dan Carpenter Cc: Linus Torvalds , Larry Finger , Stefan Lippers-Hollmann , Dave Jones , Greg Kroah-Hartman , Linux Wireless List , Linux Kernel , Linux Driver Project Content-Type: multipart/mixed; boundary=047d7b6d8f16f5543204f195a4aa Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --047d7b6d8f16f5543204f195a4aa Content-Type: text/plain; charset=ISO-8859-1 Yes, I attach a cumulative patch for latest version of my work. When I will send this asking for merge in kernel, I will split it in some patches, because I also also included fix and improvements for other already supported cards (not directly related to rtl8187se support). About this, I will produce separate patches for rtl8180 driver if finally the drivers will be merged and also in case I'll split them.. Any suggestion/advice will be appreciated :) Thanks Andrea On Tue, Feb 4, 2014 at 10:28 AM, Dan Carpenter wrote: > Nice. Thanks for doing that. Do you have some patches we could review > of the merged driver? > > regards, > dan carpenter > --047d7b6d8f16f5543204f195a4aa Content-Type: text/x-patch; charset=US-ASCII; name="rtl8187se_01.patch" Content-Disposition: attachment; filename="rtl8187se_01.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hr99x2fn0 ZG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KDs7KSB7CisJCQl0bXAg PSBydGw4MTh4X2lvcmVhZDgocHJpdiwgUkVHX0FERFIxKDB4MjRGKSk7CisJCQlpZiAoKHRtcCA9 PSAxKSB8fCAodG1wID09IDB4MDkpKSB7CisJCQkJdHVybl9vZmYgPSB0cnVlOworCQkJCWJyZWFr OworCQkJfSBlbHNlIHsKKwkJCQl1ZGVsYXkoMTApOworCQkJCWlmIChpKysgPiA1KSB7CisJCQkJ CXR1cm5fb2ZmID0gZmFsc2U7CisJCQkJCWJyZWFrOworCQkJCX0KKwkJCX0KKwkJfQorCQlpZiAo dHVybl9vZmYpIHsKKwkJCS8qIHR1cm4gb2ZmIEJCICovCisJCQlydGw4MTh4X2lvd3JpdGU4KHBy aXYsIFJFR19BRERSMSgweDI0RSksCisJCQkJCXJ0bDgxOHhfaW9yZWFkOChwcml2LCBSRUdfQURE UjEoMHgyNEUpKSB8CisJCQkJCTB4NjApOworCQkJcnRsODE4eF9pb3dyaXRlOChwcml2LCBSRUdf QUREUjEoMHg1NCksIDB4RkMpOworCQkJcnRsODE4eF9pb3dyaXRlMTYocHJpdiwgUkVHX0FERFIy KDB4MzdDKSwgMHgwMEZDKTsKKwkJfQorCQlicmVhazsKKwl9CisJcnRsODE4eF9pb3dyaXRlOChw cml2LCAmcHJpdi0+bWFwLT5DT05GSUczLCBjb25maWczICYgfigweDQwKSk7CisJcnRsODE4eF9p b3dyaXRlOChwcml2LCAmcHJpdi0+bWFwLT5FRVBST01fQ01ELCBjbWRyZWcgJiB+KDB4QzApKTsK KworCXJldHVybiB0cnVlOworfQorI2VuZGlmCisKKworCitzdGF0aWMgdm9pZCBydGw4MTg3c2Vf c2V0X2FudGVubmFfY29uZmlnKHN0cnVjdCBpZWVlODAyMTFfaHcgKmRldiwgdTggZGVmX2FudCwK KwkJCQkJIGJvb2wgdXNlX2RpdmVyKQoreworCXN0cnVjdCBydGw4MTgwX3ByaXYgKnByaXYgPSBk ZXYtPnByaXY7CisKKwlydGw4MjI1X3dya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JFR19BRERSMigweDI3OCkKKyNkZWZpbmUgU1df M1dfREIxXzQJUkVHX0FERFI0KDB4Mjc4KQorI2RlZmluZSBTV18zV19DTUQxCVJFR19BRERSMSgw eDI3RCkKKyNkZWZpbmUgUElfREFUQV9SRUcJUkVHX0FERFIyKDB4MzYwKQorI2RlZmluZSBTSV9E QVRBX1JFRyAgICAgUkVHX0FERFIyKDB4MzYyKQorCisKIAogc3RydWN0IHJ0bDgxOHhfcmZfb3Bz IHsKIAljaGFyICpuYW1lOwogCXZvaWQgKCppbml0KShzdHJ1Y3QgaWVlZTgwMjExX2h3ICopOwog CXZvaWQgKCpzdG9wKShzdHJ1Y3QgaWVlZTgwMjExX2h3ICopOwogCXZvaWQgKCpzZXRfY2hhbiko c3RydWN0IGllZWU4MDIxMV9odyAqLCBzdHJ1Y3QgaWVlZTgwMjExX2NvbmYgKik7Ci0Jdm9pZCAo KmNvbmZfZXJwKShzdHJ1Y3QgaWVlZTgwMjExX2h3ICosIHN0cnVjdCBpZWVlODAyMTFfYnNzX2Nv bmYgKik7CiAJdTggKCpjYWxjX3Jzc2kpKHU4IGFnYywgdTggc3EpOwogfTsKIAo= --047d7b6d8f16f5543204f195a4aa-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/