From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1ThJfv-0005WI-UM for barebox@lists.infradead.org; Sat, 08 Dec 2012 12:38:36 +0000 Date: Sat, 8 Dec 2012 13:38:30 +0100 From: Sascha Hauer Message-ID: <20121208123830.GM24458@pengutronix.de> References: <1354931932-28300-1-git-send-email-zzs213@126.com> <20121208111503.GF10369@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20121208111503.GF10369@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] fix GENERIC_PHY match nothing To: =?utf-8?B?5byg5b+g5bGx?= Cc: barebox@lists.infradead.org, j@pengutronix.de T24gU2F0LCBEZWMgMDgsIDIwMTIgYXQgMTI6MTU6MDNQTSArMDEwMCwgU2FzY2hhIEhhdWVyIHdy b3RlOgo+IE9uIFNhdCwgRGVjIDA4LCAyMDEyIGF0IDA5OjU4OjUyQU0gKzA4MDAsIOW8oOW/oOWx sSB3cm90ZToKPiA+IEFjY29yZGluZyB0aGUgbWF0Y2ggbG9naWMgaW4gZnVuY3Rpb24gbWRpb19i dXNfbWF0Y2gKPiA+IGdlbmVyaWMgcGh5IGRyaXZlciBtYXRjaHMgbm90aGluZy4KPiAKPiBUaGlz IGlzIGRvbmUgb24gcHVycG9zZS4gVGhlIGdlbmVyaWMgcGh5IGRyaXZlciBpcyBwcm9iZWQgbWFu dWFsbHkKPiB3aGVuIG5vIG90aGVyIHBoeSBtYXRjaGVzLCBzZWU6Cj4gCj4gPiBzdGF0aWMgaW50 IHBoeV9yZWdpc3Rlcl9kZXZpY2Uoc3Ryd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