Author: cwittich
Date: Mon Jan 13 20:09:12 2014
New Revision: 61620
URL:
http://svn.reactos.org/svn/reactos?rev=61620&view=rev
Log:
[halx86]
fix vendor name lookup - MegaRAID SAS 8480E VGA controllers does not exist (yet)
Modified:
trunk/reactos/hal/halx86/legacy/bussupp.c
Modified: trunk/reactos/hal/halx86/legacy/bussupp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/legacy/bussupp.…
==============================================================================
--- trunk/reactos/hal/halx86/legacy/bussupp.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/legacy/bussupp.c [iso-8859-1] Mon Jan 13 20:09:12 2014
@@ -735,12 +735,12 @@
}
/* 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;