From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.x-arc.co.uk ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XcWHt-0001s2-9m for barebox@lists.infradead.org; Fri, 10 Oct 2014 09:15:02 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 6E08DA00294 for ; Fri, 10 Oct 2014 11:14:48 +0200 (CEST) From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Fri, 10 Oct 2014 11:14:29 +0200 Message-Id: <1412932473-38216-2-git-send-email-t.gamez@phytec.de> In-Reply-To: <1412932473-38216-1-git-send-email-t.gamez@phytec.de> References: <1412932473-38216-1-git-send-email-t.gamez@phytec.de> MIME-Version: 1.0 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/6] net: cpsw: Fix probe for one port ethernet To: barebox@lists.infradead.org SWYgb25seSBvbmUgcG9ydCBpcyBwaW5uZWQgb3V0LCBwcm9iZSBmYWlscwphcyB0aGUgc2Vjb25k IHBvcnQgcGh5X2lkIGlzIG5vdCBmb3VuZC4KClNpZ25lZC1vZmYtYnk6IFRlcmVzYSBHw6FtZXog PHQuZ2FtZXpAcGh5dGVjLmRlPgotLS0KIGRyaXZlcnMvbmV0L2Nwc3cuYyB8IDQgKystLQogMSBm aWxlIGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQg YS9kcml2ZXJzL25ldC9jcHN3LmMgYi9kcml2ZXJzL25ldC9jcHN3LmMKaW5kZXggMTY3YjJkZC4u OWM4Y2ZmMyAxMDA2NDQKLS0tIGEvZHJpdmVycy9uZXQvY3Bzdy5jCis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