From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e1chc-0000NC-DH for barebox@lists.infradead.org; Mon, 09 Oct 2017 18:22:59 +0000 Received: by mail-qk0-x241.google.com with SMTP id a12so14214304qka.4 for ; Mon, 09 Oct 2017 11:22:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20171009093616.12686-2-u.kleine-koenig@pengutronix.de> References: <20171009093616.12686-1-u.kleine-koenig@pengutronix.de> <20171009093616.12686-2-u.kleine-koenig@pengutronix.de> From: Andrey Smirnov Date: Mon, 9 Oct 2017 11:22:34 -0700 Message-ID: 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: Re: [PATCH 1/3] e1000: implement register mapping for E1000_{EERD, FLSW{CTL, DATA, CNT}} To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: "barebox@lists.infradead.org" T24gTW9uLCBPY3QgOSwgMjAxNyBhdCAyOjM2IEFNLCBVd2UgS2xlaW5lLUvDtm5pZwo8dS5rbGVp bmUta29lbmlnQHBlbmd1dHJvbml4LmRlPiB3cm90ZToKPiBGaXhlczogNGZmMzI2OWE3MGI1ICgi ZTEwMDA6IEV4cG9zZSBpMjEwJ3MgZXh0ZXJuYWwgZmxhc2ggYXMgTVREIikKPiBTaWduZWQtb2Zm LWJ5OiBVd2UgS2xlaW5lLUvDtm5pZyA8dS5rbGVpbmUta29lbmlnQHBlbmd1dHJvbml4LmRlPgo+ IC0tLQo+ICBkcml2ZXJzL25ldC9lMTAwMC9lMTAwMC5oIHwgIDkgKysrKystLS0tCj4gIGRyaXZl cnMvbmV0L2UxMDAwL3JlZ2lvLmMgfCAxMiArKysrK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ICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgcmVnID0gRTEwMDBfSTIxMF9FRVJEOwo+ICsgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgYnJlYWs7CgpSZXYuIDIuOCBsaXN0cyAweDAwMDE0IGFzIGFsaWFzIGZvciAweDEyMDE0 ICh0aGF0J3Mgd2h5IEkgZGlkbid0IGRvCmFueSAicmUtbWFwcGluZyIgaGVyZSkgaXMgaXQgbm90 IHRydWU/Cgo+ICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgRTEwMDBfRUVXUjoKPiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZyA9IEUxMDAwX0kyMTBfRUVXUjsKPiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOwo+IEBAIC0xNiw2ICsxOSwxNSBAQCBz dGF0aWMgdWludDMyX3QgZTEwMDBfdHJ1ZV9vZmZzZXQoc3RydWN0IGUxMDAwX2h3ICpodywgdWlu dDMyX3QgcmVnKQo+ICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgRTEwMDBfRUVNTkdDVEw6 Cj4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWcgPSBFMTAwMF9JMjEwX0VFTU5H Q1RMOwo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7Cj4gKyAgICAgICAg ICAgICAgICAgICAgICAgY2FzZSBFMTAwMF9GTFNXQ1RMOgo+ICsgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgcmVnID0gRTEwMDBfSTIxMF9GTFNXQ1RMOwo+ICsgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgYnJlYWs7Cj4gKyAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBFMTAw MF9GTFNXQ05UOgo+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVnID0gRTEwMDBf STIxMF9GTFNXQ05UOwo+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7Cj4g KyAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBFMTAwMF9GTFNXREFUQToKPiArICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIHJlZyA9IEUxMDAwX0kyMTBfRkxTV0RBVEE7Cj4gKyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhazsKClNvbWVob3cgbWlzc2VkIHRoZXNlIGd1 eXMsIHNvcnJ5IGFib3V0IHRoYXQuCgpBY2tlZC1ieTogQW5kcmV5IFNtaXJub3YgPGFuZHJldy5z bWlybm92QGdtYWlsLmNvbT4KClRoYW5rcywKQW5kcmV5IFNtaXJub3YKCl9fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCmJhcmVib3ggbWFpbGluZyBsaXN0CmJh cmVib3hAbGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFkZWFkLm9yZy9tYWls bWFuL2xpc3RpbmZvL2JhcmVib3gK