Return-path: Received: from mail-gw0-f46.google.com ([74.125.83.46]:44119 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751231Ab1GMU4g (ORCPT ); Wed, 13 Jul 2011 16:56:36 -0400 Received: by gwaa18 with SMTP id a18so2577691gwa.19 for ; Wed, 13 Jul 2011 13:56:36 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1310209563-6405-7-git-send-email-hauke@hauke-m.de> References: <1310209563-6405-1-git-send-email-hauke@hauke-m.de> <1310209563-6405-7-git-send-email-hauke@hauke-m.de> From: Jonas Gorski Date: Wed, 13 Jul 2011 22:56:16 +0200 Message-ID: (sfid-20110713_225640_432302_B6AB8E68) Subject: Re: [PATCH 06/11] bcma: add serial console support To: Hauke Mehrtens Cc: ralf@linux-mips.org, linux-wireless@vger.kernel.org, zajec5@gmail.com, linux-mips@linux-mips.org, mb@bu3sch.de, george@znau.edu.ua, arend@broadcom.com, b43-dev@lists.infradead.org, bernhardloos@googlemail.com, arnd@arndb.de, julian.calaby@gmail.com, sshtylyov@mvista.com Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: T24gOSBKdWx5IDIwMTEgMTM6MDUsIEhhdWtlIE1laHJ0ZW5zIDxoYXVrZUBoYXVrZS1tLmRlPiB3 cm90ZToKPiBUaGlzIGFkZHMgc3VwcG9ydCBmb3Igc2VyaWFsIGNvbnNvbGUgdG8gYmNtYSwgd2hl biBvcGVyYXRpbmcgb24gYW4gU29DLgo+Cj4gU2lnbmVkLW9mZi1ieTogSGF1a2UgTWVocnRlbnMg PGhhdWtlQGhhdWtlLW0uZGU+Cj4gLS0tCj4gwqBkcml2ZXJzL2JjbWEvYmNtYV9wcml2YXRlLmgg wqAgwqAgwqAgwqAgwqAgfCDCoCDCoDYgKysrCj4gwqBkcml2ZXJzL2JjbWEvZHJpdmVyX2NoaXBj b21tb24uYyDCoCDCoCDCoHwgwqAgNjQgKysrKysrKysrKys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