Date: Fri, 25 Aug 2017 16:11:37 +0000 From: Kinjal Patel <Kinjal.Patel@taec.toshiba.com> To: Warner Losh <imp@bsdimp.com> Cc: Jim Harris <jim.harris@gmail.com>, "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org> Subject: RE: NVMe driver init sequence Message-ID: <FF0EFEF230D6F6409EC6998DBF26B91640485D77@EXMAIL1.taec.toshiba.com> In-Reply-To: <CANCZdfo4WexNo%2B0pKRD5oo2E-kcBKNEL_dwOrBgxBxQjD9WZ2A@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> <FF0EFEF230D6F6409EC6998DBF26B91640485CD8@EXMAIL1.taec.toshiba.com> <CANCZdfo4WexNo%2B0pKRD5oo2E-kcBKNEL_dwOrBgxBxQjD9WZ2A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
SSBoYXZlIG9ic2VydmVkIHRoaXMgYmVoYXZpb3IgaW4gb3VyIGxhYiBvbiAxMC4zLVNUQUJMRS4g U28gSSBoYXZlIHJlcG9ydGVkIGFnYWluc3QgaXQuDQpJZiB5b3UgY2FuIGJyaW5nIGluIHRoZSBj aGFuZ2UgZm9yIDEwLjRSIHRoYXQgd2lsbCBiZSBncmVhdCAobG90IG9mIHVzZXJzIHN0aWNrIHRv IDEwIGJhc2VkIHJlbGVhc2VzIGZvciB0aGVpciBkZXZlbG9wbWVudCkuIEFuZCBpbiBjYXNlLCBp ZiBjdXN0b21lciBmYWNlcyB0aGlzIGlzc3VlLCBJI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nJlZWJzZC1kcml2ZXJzQGZyZWVic2Qub3JnPG1haWx0bzpmcmVlYnNkLWRyaXZl cnNAZnJlZWJzZC5vcmc+PiBtYWlsaW5nIGxpc3QNCj4gaHR0cHM6Ly9saXN0cy5mcmVlYnNkLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVic2QtZHJpdmVycw0KPiBUbyB1bnN1YnNjcmliZSwgc2Vu ZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1kcml2ZXJzLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnPG1h aWx0bzpmcmVlYnNkLWRyaXZlcnMtdW5zdWJzY3JpYmVAZnJlZWJzZC5vcmc+PG1haWx0bzpmcmVl YnNkLWRyaXZlcnMtdW5zdWJzY3JpYmVAZnJlZWJzZC5vcmc8bWFpbHRvOmZyZWVic2QtZHJpdmVy cy11bnN1YnNjcmliZUBmcmVlYnNkLm9yZz4+Ig0KPg0KPiBfX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fXw0KPiBmcmVlYnNkLWRyaXZlcnNAZnJlZWJzZC5vcmc8 bWFpbHRvOmZyZWVic2QtZHJpdmVyc0BmcmVlYnNkLm9yZz4gbWFpbGluZyBsaXN0DQo+IGh0dHBz Oi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNkLWRyaXZlcnMNCj4g VG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtZHJpdmVycy11bnN1YnNj cmliZUBmcmVlYnNkLm9yZzxtYWlsdG86ZnJlZWJzZC1kcml2ZXJzLXVuc3Vic2NyaWJlQGZyZWVi c2Qub3JnPiINCg0KDQo=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FF0EFEF230D6F6409EC6998DBF26B91640485D77>