Date: Fri, 25 Aug 2017 15:54:40 +0000 From: Kinjal Patel <Kinjal.Patel@taec.toshiba.com> To: Warner Losh <imp@bsdimp.com>, Jim Harris <jim.harris@gmail.com> Cc: "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org> Subject: RE: NVMe driver init sequence Message-ID: <FF0EFEF230D6F6409EC6998DBF26B91640485CD8@EXMAIL1.taec.toshiba.com> In-Reply-To: <CANCZdfq=3Xhu84tiMDg6GHJaM4Qu9oJTvBmF-5=FqUUNfBf2HQ@mail.gmail.com> References: <FF0EFEF230D6F6409EC6998DBF26B91640483138@EXMAIL1.taec.toshiba.com> <CANCZdfqt-35BmCS61v_LX2R4%2BoPNHYF_rsFqeCg3=AyD6ujw4w@mail.gmail.com> <FF0EFEF230D6F6409EC6998DBF26B916404837F8@EXMAIL1.taec.toshiba.com> <CAJP=Hc-=imnaN37y3YBExU0s0uW24WPqdAQkRL9A343svGyZvw@mail.gmail.com> <CANCZdfq=3Xhu84tiMDg6GHJaM4Qu9oJTvBmF-5=FqUUNfBf2HQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
R3JlYXQhDQpUaGFua3MgV2FybmVyLg0KDQoNClJlZ2FyZHMsDQpLaW5qYWwgUGF0ZWwNCg0KRnJv bTogd2xvc2hAYnNkaW1wLmNvbSBbbWFpbHRvOndsb3NoQGJzZGltcC5jb21dIE9uIEJlaGFsZiBP ZiBXYXJuZXIgTG9zaA0KU2VudDogVGh1cnNkYXksIEF1Z3VzdCAyNCwgMjAxNyA4OjE3IFBNDQpU bzogSmltIEhhcnJpcw0KQ2M6IEtpbmphbCBQYXRlbDsgZnJlZWJzZC1kcml2ZXJzQGZyZWVic2Qu b3JnDQpTdWJqZWN0OiBSZTogTlZNZSBkcml2ZXIgaW5pdCBzZXF1ZW5jZQ0KDQpHcmVldGluZ3Ms DQoNCkkndmUganVzdCBjb21taXR0ZWQgcjMyMjg3MiB3aGljaCBpbXBsZW1lbnRzIHRoaXMsIHdp d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T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQo+IC0tLSBzeXMvZGV2L252bWUv bnZtZS5jIChyZXZpc2lvbiAzMjI2NzIpDQo+ICsrKyBzeXMvZGV2L252bWUvbnZtZS5jICh3b3Jr aW5nIGNvcHkpDQo+IEBAIC0yNTMsNiArMjUzLDkgQEANCj4gICAgICAgICAgICAgICAgIHJldHVy biAoc3RhdHVzKTsNCj4gICAgICAgICB9DQo+DQo+ICsgICAgLyogbWFrZSBkZXZpY2UgYnVzLW1h c3RlciBiZWZvcmUgYXR0ZW1wdGluZyB0byBlbmFibGUgY29udHJvbGxlciAqLw0KPiArICAgIHBj aV9lbmFibGVfYnVzbWFzdGVyKGRldik7DQo+ICsNCj4gICAgICAgICAvKg0KPiAgICAgICAgICAq IFJlc2V0IGNvbnRyb2xsZXIgdHdpY2UgdG8gZW5zdXJlIHdlIGRvIGEgdHJhbnNpdGlvbiBmcm9t IGNjLmVuPT0xDQo+ICAgICAgICAgICogIHRvIGNjLmVuPT0wLiAgVGhpcyBpcyBiZWNhdXNlIHdl IGRvbid0IHJlYWxseSBrbm93IHdoYXQgc3RhdHVzDQo+IEBAIC0yNzAsOCArMjczLDYgQEANCj4g ICAgICAgICAgICAgICAgIHJldHVybiAoc3RhdHVzKTsNCj4gICAgICAgICB9DQo+DQo+IC0gICAg ICAgcGNpX2VuYWJsZV9idXNtYXN0ZXIoZGV2KTsNCj4gLQ0KPiAgICAgICAgIGN0cmxyLT5jb25m aWdfaG9vay5pY2hfZnVuYyA9IG52bWVfY3RybHJfc3RhcnRfY29uZmlnX2hvb2s7DQo+ICAgICAg ICAgY3RybHItPmNvbmZpZ19ob29rLmljaF9hcmcgPSBjdHJscjsNCj4NCj4NCj4NCj4gcmVnYXJk cywNCj4gS2luamFsIFBhdGVsDQo+DQo+IEZyb206IHdsb3NoQGJzZGltcC5jb208bWFpbHRvOnds b3NoQGJzZGltcC5jb20+PG1haWx0bzp3bG9zaEBic2RpbXAuY29tPG1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vOmZyZWVic2QtZHJpdmVycy11bnN1 YnNjcmliZUBmcmVlYnNkLm9yZz4+Ig0KPg0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fXw0KPiBmcmVlYnNkLWRyaXZlcnNAZnJlZWJzZC5vcmc8bWFpbHRv OmZyZWVic2QtZHJpdmVyc0BmcmVlYnNkLm9yZz4gbWFpbGluZyBsaXN0DQo+IGh0dHBzOi8vbGlz dHMuZnJlZWJzZC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNkLWRyaXZlcnMNCj4gVG8gdW5z dWJzY3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtZHJpdmVycy11bnN1YnNjcmliZUBm cmVlYnNkLm9yZzxtYWlsdG86ZnJlZWJzZC1kcml2ZXJzLXVuc3Vic2NyaWJlQGZyZWVic2Qub3Jn PiINCg0K
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FF0EFEF230D6F6409EC6998DBF26B91640485CD8>