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 1e1UUM-0003CW-SK for barebox@lists.infradead.org; Mon, 09 Oct 2017 09:36:51 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Mon, 9 Oct 2017 11:36:14 +0200 Message-Id: <20171009093616.12686-2-u.kleine-koenig@pengutronix.de> In-Reply-To: <20171009093616.12686-1-u.kleine-koenig@pengutronix.de> References: <20171009093616.12686-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 1/3] e1000: implement register mapping for E1000_{EERD, FLSW{CTL, DATA, CNT}} To: barebox@lists.infradead.org Cc: Andrey Smirnov Rml4ZXM6IDRmZjMyNjlhNzBiNSAoImUxMDAwOiBFeHBvc2UgaTIxMCdzIGV4dGVybmFsIGZsYXNo IGFzIE1URCIpClNpZ25lZC1vZmYtYnk6IFV3ZSBLbGVpbmUtS8O2bmlnIDx1LmtsZWluZS1rb2Vu aWdAcGVuZ3V0cm9uaXguZGU+Ci0tLQogZHJpdmVycy9uZXQvZTEwMDAvZTEwMDAuaCB8ICA5ICsr KysrLS0tLQogZHJpdmVycy9uZXQvZTEwMDAvcmVnaW8uYyB8IDEyICsrKysrKysrKysrKwogMiBm aWxlcyBjaGFuZ2VkLCAxNyBpbnNlcnRpb25zKCspLCA0IGRlbGV0aW9ucygtKQoKZGlmZiAtLWdp dCBhL2RyaXZlcnMvbmV0L2UxMDAwL2UxMDAwLmggYi9kcml2ZXJzL25ldC9lMTAwMC9lMTAwMC5o CmluZGV4IGU2YjQ5M2M4NGNjMS4uMmE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