Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261930AbTIZFYx (ORCPT ); Fri, 26 Sep 2003 01:24:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261440AbTIZFYx (ORCPT ); Fri, 26 Sep 2003 01:24:53 -0400 Received: from smtp4.hy.skanova.net ([195.67.199.133]:13051 "EHLO smtp4.hy.skanova.net") by vger.kernel.org with ESMTP id S261930AbTIZFYl (ORCPT ); Fri, 26 Sep 2003 01:24:41 -0400 Date: Fri, 26 Sep 2003 07:24:28 +0200 (CEST) From: Peter Osterlund X-X-Sender: petero@p4.localdomain To: Vojtech Pavlik cc: Dmitry Torokhov , , , Subject: Re: [PATCH 8/8] Add BTN_TOUCH to Synaptics driver. Update mousedev. In-Reply-To: <20030925223032.GA32130@ucw.cz> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1382455761-1064553868=:17591" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 27811 Lines: 473 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --8323328-1382455761-1064553868=:17591 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 26 Sep 2003, Vojtech Pavlik wrote: > On Thu, Sep 25, 2003 at 01:23:33PM -0500, Dmitry Torokhov wrote: > > > BTW, any chance on including pass-through patches? Do you want me to re-diff > > them? > > Hmm, I thought I've merged them in already, but obviously I did not. > Please resend them (rediffed if possible). Thanks. If these patches are the same as the "reconnect" patches I have in my tree, I already have them rediffed (attached). -- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340 --8323328-1382455761-1064553868=:17591 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="serio-reconnect.patch" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="serio-reconnect.patch" DQpUaGUgcGF0Y2ggYmVsb3cgaW50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c2VyaW8gKnNlcmlvKTsNCiBpcnFyZXR1cm5fdCBzZXJpb19pbnRlcnJ1cHQo c3RydWN0IHNlcmlvICpzZXJpbywgdW5zaWduZWQgY2hhciBkYXRhLCB1bnNp Z25lZCBpbnQgZmxhZ3MsIHN0cnVjdCBwdF9yZWdzICpyZWdzKTsNCiANCiB2 b2lkIHNlcmlvX3JlZ2lzdGVyX3BvcnQoc3RydWN0IHNlcmlvICpzZXJpbyk7 DQoNCl8NCg== --8323328-1382455761-1064553868=:17591 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="synaptics-reconnect.patch" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="synaptics-reconnect.patch" DQpIZXJlIGlzIHRoZSB1cGRhdGUgdG8gdGhlIFN5bmFwdGljcyB0b3VjaHBh ZCBkcml2ZXIuDQoNClRoZSBjaGFuZ2VzIGFyZToNCjEuIFN1cHBvcnQgZm9y IHBhc3MtdGhyb3VnaCBwb3J0IG1vdmVkIGZyb20gU3luYXB0aWNzIGRyaXZl ciB0byBwc21vdXNlDQogICBpdHNlbGYsIGl0IGlzIGNsZWFuZXIgYW5kIHNo b3VsZCBhbGxvdyB1c2luZyBpdCBpbiBvdGhlciBkcml2ZXJzIGlmDQogICBu ZWVkZWQuDQoyLiBUaGUgZHJpdmVyIG1ha2VzIHVzZSBvZiBuZXcgcmVjb25u ZWN0IGZ1bmN0aW9uYWxpdHkgaW4gc2VyaW8uIEl0IHdpbGwNCiAgIHRyeSB0 byBrZWVwIHRoZSBzYW1lIGlucHV0IGRldmljZSBhZnRlciByZXN1bWUgb3Ig d2hlbiBpdCByZXNldHMgaXRzZWxmLg0KMy4gSWYgbW91c2UgaXMgZGlzY29u bmVjdGVkIG9yIG90aGVyIG1vdXNlIHBsdWdnZWQgaW4gd2hpbGUgc2xlZXBp bmcgdGhlDQogICBkcml2ZXIgc2hvdWxkIGNvcnJlY3RseSByZWNvZ25pemUg dGhhdCBhbmQgY3JlYXRlIG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XYpOw0KIA0KKwlwc21vdXNlLT5kaXNjb25uZWN0ID0gc3lu YXB0aWNzX2Rpc2Nvbm5lY3Q7DQorCXBzbW91c2UtPnJlY29ubmVjdCA9IHN5 bmFwdGljc19yZWNvbm5lY3Q7DQorDQogCXJldHVybiAwOw0KIA0KICBpbml0 X2ZhaWw6DQpAQCAtMzk5LDIwICs0NTIsNiBAQCBpbnQgc3luYXB0aWNzX2lu aXQoc3RydWN0IHBzbW91c2UgKnBzbW91DQogCXJldHVybiAtMTsNCiB9DQog DQotdm9pZCBzeW5hcHRpY3NfZGlzY29ubmVjdChzdHJ1Y3QgcHNtb3VzZSAq cHNtb3VzZSkNCi17DQotCXN0cnVjdCBzeW5hcHRpY3NfZGF0YSAqcHJpdiA9 IHBzbW91c2UtPnByaXZhdGU7DQotDQotCWlmIChwc21vdXNlLT50eXBlID09 IFBTTU9VU0VfU1lOQVBUSUNTICYmIHByaXYpIHsNCi0JCXN5bmFwdGljc19t b2RlX2NtZChwc21vdXNlLCAwKTsNCi0JCWlmIChwcml2LT5wdHBvcnQpIHsN Ci0JCQlzZXJpb191bnJlZ2lzdGVyX3NsYXZlX3BvcnQocHJpdi0+cHRwb3J0 KTsNCi0JCQlrZnJlZShwcml2LT5wdHBvcnQpOw0KLQkJfQ0KLQkJa2ZyZWUo cHJpdik7DQotCX0NCi19DQotDQogLyoqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqDQogICoJRnVuY3Rpb25zIHRvIGludGVycHJldCB0aGUgYWJz b2x1dGUgbW9kZSBwYWNrZXRzDQogICoqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKiovDQpAQCAtNjEzLDggKzY1Miw5IEBAIHZvaWQgc3luYXB0aWNz X3Byb2Nlc3NfYnl0ZShzdHJ1Y3QgcHNtb3UNCiAJCQlwcmludGsoS0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wkJCS8qIHBhc3MtdGhyb3VnaCBwb3J0ICovDQogfTsNCiANCiAj ZW5kaWYgLyogX1NZTkFQVElDU19IICovDQoNCl8NCg== --8323328-1382455761-1064553868=:17591-- - 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/