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:
parent
b5428267c7
commit
021a6aa77e
@ -529,6 +529,13 @@ ConfigurationWindow::InitWindow(void)
|
|||||||
vendor = string;
|
vendor = string;
|
||||||
sprintf(string, "%04lx", devicesInfo->GetInfo()->id[1] & 0xffff);
|
sprintf(string, "%04lx", devicesInfo->GetInfo()->id[1] & 0xffff);
|
||||||
cardID = string;
|
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;
|
break;
|
||||||
case B_PCMCIA_BUS: vendor = "XX"; break;
|
case B_PCMCIA_BUS: vendor = "XX"; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user