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.87 #1 (Red Hat Linux)) id 1eHpRP-0006Ps-Fu for barebox@lists.infradead.ORG; Thu, 23 Nov 2017 11:13:14 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Thu, 23 Nov 2017 12:12:34 +0100 Message-Id: <20171123111237.10245-2-u.kleine-koenig@pengutronix.de> In-Reply-To: <20171123111237.10245-1-u.kleine-koenig@pengutronix.de> References: <20171122102231.16872-1-u.kleine-koenig@pengutronix.de> <20171123111237.10245-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 8/6] net/e1000: log flash/invm status at probe time To: barebox@lists.infradead.org Cc: Andrey Smirnov UHJvdmlkZSBzb21lIGluZm8gYWJvdXQgZmxhc2gvZWVwcm9tIHN0YXRlIGF0IGJvb3QgdXAKClNp Z25lZC1vZmYtYnk6IFV3ZSBLbGVpbmUtS8O2bmlnIDx1LmtsZWluZS1rb2VuaWdAcGVuZ3V0cm9u aXguZGU+Ci0tLQogZHJpdmVycy9uZXQvZTEwMDAvZWVwcm9tLmMgfCAxOCArKysrKysrKysrKysr KysrKysKIDEgZmlsZSBjaGFuZ2VkLCAxOCBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvZHJp dmVycy9uZXQvZTEwMDAvZWVwcm9tLmMgYi9kcml2ZXJzL25ldC9lMTAwMC9lZXByb20uYwppbmRl eCBlNWY4YzllMjcxZTAuLmNiOTJkZWVlM2I0NCAxMDA2NDQKLS0tIGEvZHJpdmVycy9uZXQvZTEw MDAvZWVwcm9tLmMKKysrIG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