Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 17 Dec 2000 14:10:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 17 Dec 2000 14:10:21 -0500 Received: from hornisse.agrinet.ch ([212.28.128.30]:30984 "EHLO pop.agri.ch") by vger.kernel.org with ESMTP id ; Sun, 17 Dec 2000 14:10:13 -0500 Message-ID: <3A3D0992.2F969BD7@pop.agri.ch> Date: Sun, 17 Dec 2000 19:44:36 +0100 From: Andreas Tobler Reply-To: toa@pop.agri.ch Organization: zero X-Mailer: Mozilla 4.75 (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 To: Alan Cox CC: Kernel Mailing List Subject: [PATCH] ppc fixes for drivers/char/serial.c Content-Type: multipart/mixed; boundary="------------ECF7C1F251C077661FD46173" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------ECF7C1F251C077661FD46173 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Alan, can you may include the attached patch in one of the next pre19 patches? It adds the possibility to work with pcmcia modem cards on PowerBooks, this patch was in for a longer time in the ppc tree of Paul M. and Ben Herrenschmidt. Ben told me to send it to you with his ack. Thanks in advance, Andreas --------------ECF7C1F251C077661FD46173 Content-Type: application/x-java-applet;version=1.1.2; x-mac-type="3F3F3F3F"; x-mac-creator="3F3F3F3F"; name="serial2218.diff" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="serial2218.diff" LS0tIGxpbnV4L2RyaXZlcnMvY2hhci9zZXJpYWwuYwlXZWQgSnVuICA3IDIzOjI2OjQyIDIw MDAKKysrIGxpbnV4LXBtYWMtc3RhYmxlLXRlc3QvZHJpdmVycy9jaGFyL3NlcmlhbC5jCVR1 ZSBOb3YgMTQgMTk6MDg6MzIgMjAwMApAQCAtMTUwLDYgKzE1MCwxMiBAQAogI2luY2x1ZGUg PGFzbS9iaXRvcHMuaD4KICNpb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3RhdGUtPmxp bmU7CisJcmV0dXJuIHN0YXRlLT5saW5lICsgU0VSSUFMX0RFVl9PRkZTRVQ7CiB9CiAKIHZv aWQgdW5yZWdpc3Rlcl9zZXJpYWwoaW50IGxpbmUpCiB7CiAJdW5zaWduZWQgbG9uZyBmbGFn czsKLQlzdHJ1Y3Qgc2VyaWFsX3N0YXRlICpzdGF0ZSA9ICZyc190YWJsZVtsaW5lXTsKKwlz dHJ1Y3Qgc2VyaWFsX3N0YXRlICpzdGF0ZSA9ICZyc190YWJsZVtsaW5lICsgU0VSSUFMX0RF Vl9PRkZTRVRdOwogCiAJc2F2ZV9mbGFncyhmbGFncyk7CiAJY2xpKCk7CiAJaWYgKHN0YXRl LT5pbmZvICYmIHN0YXRlLT5pbmZvLT50dHkpCiAJCXR0eV9oYW5ndXAoc3RhdGUtPmluZm8t PnR0eSk7CiAJc3RhdGUtPnR5cGUgPSBQT1JUX1VOS05PV047Ci0JcHJpbnRrKEtFUk5fSU5G TyAidHR5JTAyZCB1bmxvYWRlZFxuIiwgc3RhdGUtPmxpbmUpOworCXByaW50ayhLRVJOX0lO Rk8gInR0eSUwMmQgdW5sb2FkZWRcbiIsIHN0YXRlLT5saW5lICsgU0VSSUFMX0RFVl9PRkZT RVQpOwogCXJlc3RvcmVfZmxhZ3MoZmxhZ3MpOwogfQogCg== --------------ECF7C1F251C077661FD46173-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/