From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eZYm1-00085f-TX for barebox@lists.infradead.org; Thu, 11 Jan 2018 09:03:47 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Thu, 11 Jan 2018 10:03:26 +0100 Message-Id: <20180111090326.32724-1-u.kleine-koenig@pengutronix.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] net/e1000: fix driver probing in the presence of two e1000 devices To: barebox@lists.infradead.org VGhlIC5pZCBtZW1iZXIgb2YgdGhlIHN0cnVjdCBkZXZpY2UgZm9yIHRoZSBpbnZtIGRldmljZSBp cyBub3QKaW5pdGlhbGl6ZWQgYW5kIHNvIGltcGxpY2l0bHkgemVyby4gVGhpcyB5aWVsZHM6CgoJ cmVnaXN0ZXJfZGV2aWNlOiBhbHJlYWR5IHJlZ2lzdGVyZWQgaW52bTAKCmZvciB0aGUgc2Vjb25k IGkyMTAgZHVyaW5nIHByb2JlLgoKU28gdXNlIHRoZSBwYXJlbnQncyBpZCB0byBpbml0aWFsaXpl IHRoZSBpZCBmb3IgaW52bSwgdG9vLCBhcyBpcyBhbHJlYWR5CmRvbmUgZm9yIHRoZSBjb3JyZXNw b25kaW5nIGUxMDAwLW5vciBkZXZpY2UuCgpGaXhlczogYTc0Yjk3ZjAwOWM2ICgiZTEwMDA6IEV4 cG9zZSBpMjEwJ3MgaU5WTSBhcyBhIGNkZXYiKQpTaWduZWQtb2ZmLWJ5OiBVd2UgS2xlaW5lLUvD tm5pZyA8dS5rbGVpbmUta29lbmlnQHBlbmd1dHJvbml4LmRlPgotLS0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