[halx86]
authorChristoph von Wittich <christoph_vw@reactos.org>
Mon, 13 Jan 2014 20:09:12 +0000 (20:09 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Mon, 13 Jan 2014 20:09:12 +0000 (20:09 +0000)
fix vendor name lookup - MegaRAID SAS 8480E VGA controllers does not exist (yet)

svn path=/trunk/; revision=61620

reactos/hal/halx86/legacy/bussupp.c

index 4435fe4..7bd05c0 100644 (file)
@@ -735,12 +735,12 @@ HalpDebugPciDumpBus(IN ULONG i,
     }
 
     /* Isolate the vendor name */
-    sprintf(LookupString, "%04x  ", PciData->VendorID);
+    sprintf(LookupString, "\r\n%04x  ", PciData->VendorID);
     VendorName = strstr(VendorTable, LookupString);
     if (VendorName)
     {
         /* Copy the vendor name into our buffer */
-        VendorName += 6;
+        VendorName += 8;
         p = strpbrk(VendorName, "\r\n");
         Length = p - VendorName;
         if (Length >= sizeof(bVendorName)) Length = sizeof(bVendorName) - 1;