small patch to add the card name to the description in the Info tab (hope you don't mind, korli :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19572 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2006-12-20 16:19:18 +00:00
parent b5428267c7
commit 021a6aa77e
1 changed files with 7 additions and 0 deletions

View File

@ -529,6 +529,13 @@ ConfigurationWindow::InitWindow(void)
vendor = string;
sprintf(string, "%04lx", devicesInfo->GetInfo()->id[1] & 0xffff);
cardID = string;
for (uint32 i=0; i<PCI_DEVTABLE_LEN; i++)
if (PciDevTable[i].VenId == devicesInfo->GetInfo()->id[0] & 0xffff &&
PciDevTable[i].DevId == devicesInfo->GetInfo()->id[1] & 0xffff) {
cardName = PciDevTable[i].ChipDesc;
break;
}
}
break;
case B_PCMCIA_BUS: vendor = "XX"; break;