Maintaining and reporting devices in the same order that they are seen by the driver assists users in mapping IPoIB devices to verbs.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2481
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
\r
KeAcquireGuardedMutex(&Lock);\r
create = IsListEmpty(&DevList);\r
\r
KeAcquireGuardedMutex(&Lock);\r
create = IsListEmpty(&DevList);\r
- InsertHeadList(&DevList, &dev->Entry);\r
+ InsertTailList(&DevList, &dev->Entry);\r
KeReleaseGuardedMutex(&Lock);\r
\r
if (create) {\r
KeReleaseGuardedMutex(&Lock);\r
\r
if (create) {\r