home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2000 April
/
VPR0004B.BIN
/
DRIVER
/
COMPAQ
/
SP12255
/
sp12255.exe
/
DMWEBC1.CAB
/
EX-INFO.TPL
< prev
next >
Wrap
Text File
|
1999-01-18
|
6KB
|
220 lines
<HTML>
<!-- $Id: EX-INFO.TPL 1.7 1998/03/17 22:31:51 cboeker Q/A $ -->
<!-- Copyright (C) 1998 Compaq Computer -->
<HEAD>
<!#PAGETAGS.TPL>
<SCRIPT LANGUAGE="JavaScript">
<!--
<!#COMPAQ.JS>
<!#TABLES.JS>
<!#NUMCNVRT.JS>
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!*, DMTF|System Slot*, 2, dmiSlotType>
<!*, DMTF|System Slot*, 5, dmiSlotDesc>
<!*, DMTF|System Slot*, 4, dmiSlotUsage>
<!*, DMTF|System Slot*, 6, dmiSlotCategory>
<!*, DMTF|System Slot*, 8, dmiSlotResUse>
<!*, DMTF|System Resources 2|*, 1, resourceIndex>
<!*, DMTF|System Resources 2|*, 2, resourceUser>
<!*, DMTF|System Resources 2|*, 5, resourceType>
<!*, DMTF|System Resources 2|*, 6, resourceNumber>
<!*, DMTF|System Resources 2|*, 8, resourceStartAddr>
<!*, DMTF|System Resources 2|*, 9, resourceEndAddr>
<!*, DMTF|System Resources 2|*, 10, resourceSize>
<!*, DMTF|System Resource Device Info|*, 6, deviceNumber>
<!*, DMTF|System Resource Device Info|*, 8, busType>
slotArray = new Array();
slotArrayIndex = 0;
slotLocation = new Array();
resUse = new Array();
writeBodyHead();
writePageHead("Expansion Boards", "IMAGES/CNFGHDR2.GIF");
writeTableLabel("Expansion Slots");
writeTableHead();
slotIndex = 1;
columnTableColumns = 3;
for (i = 0; i < dmiSlotType.length; i++)
{
if (dmiSlotUsage[i] == "In Use")
{
if (dmiSlotType[i] == 2 || dmiSlotType[i] == 3)
{
if (dmiSlotCategory[i] != "Motherboard")
{
slotLocation[slotArrayIndex] = "ISA Board " + slotIndex;
resUse[slotArrayIndex] = dmiSlotResUse[i];
writeColumnTableDataRow(slotLocation[slotArrayIndex] + ":", dmiSlotDesc[i]);
slotIndex++;
slotArray[slotArrayIndex] = i;
slotArrayIndex++;
}
}
}
}
for (i = 0; i < dmiSlotType.length; i++)
{
if (dmiSlotUsage[i] == "In Use")
{
if (dmiSlotType[i] == 4 || dmiSlotType[i] == 5)
{
if (dmiSlotCategory[i] != "Motherboard")
{
slotLocation[slotArrayIndex] = "EISA Board " + slotIndex;
resUse[slotArrayIndex] = dmiSlotResUse[i];
writeColumnTableDataRow(slotLocation[slotArrayIndex] + ":", dmiSlotDesc[i]);
slotIndex++;
slotArray[slotArrayIndex] = i;
slotArrayIndex++;
}
}
}
}
for (i = 0; i < dmiSlotType.length; i++)
{
if (dmiSlotUsage[i] == "In Use")
{
if (dmiSlotType[i] == 16 || dmiSlotType[i] == 17)
{
if (dmiSlotCategory[i] != "Motherboard")
{
slotLocation[slotArrayIndex] = "PCI Slot " + slotIndex;
resUse[slotArrayIndex] = dmiSlotResUse[i];
writeColumnTableDataRow(slotLocation[slotArrayIndex] + ":", dmiSlotDesc[i]);
slotIndex++;
slotArray[slotArrayIndex] = i;
slotArrayIndex++;
}
}
}
}
for (i = 0; i < dmiSlotType.length; i++)
{
if (dmiSlotUsage[i] == "In Use")
{
if (dmiSlotType[i] == 2 || dmiSlotType[i] == 3)
{
if (dmiSlotCategory[i] == "Motherboard")
{
slotLocation[slotArrayIndex] = "Embedded ISA";
resUse[slotArrayIndex] = dmiSlotResUse[i];
writeColumnTableDataRow(slotLocation[slotArrayIndex], dmiSlotDesc[i]);
slotArray[slotArrayIndex] = i;
slotArrayIndex++;
}
}
}
}
for (i = 0; i < dmiSlotType.length; i++)
{
if (dmiSlotUsage[i] == "In Use")
{
if (dmiSlotType[i] == 4 || dmiSlotType[i] == 5)
{
if (dmiSlotCategory[i] == "Motherboard")
{
slotLocation[slotArrayIndex] = "Embedded EISA";
resUse[slotArrayIndex] = dmiSlotResUse[i];
writeColumnTableDataRow(slotLocation[slotArrayIndex] + ":", dmiSlotDesc[i]);
slotArray[slotArrayIndex] = i;
slotArrayIndex++;
}
}
}
}
for (i = 0; i < dmiSlotType.length; i++)
{
if (dmiSlotUsage[i] == "In Use")
{
if (dmiSlotType[i] == 16 || dmiSlotType[i] == 17)
{
if (dmiSlotCategory[i] == "Motherboard")
{
slotLocation[slotArrayIndex] = "Embedded PCI";
resUse[slotArrayIndex] = dmiSlotResUse[i];
writeColumnTableDataRow(slotLocation[slotArrayIndex] + ":", dmiSlotDesc[i]);
slotArray[slotArrayIndex] = i;
slotArrayIndex++;
}
}
}
}
writeTableTail();
document.write("<br>");
document.write("<br>");
for (i = 0; i < slotArray.length; i ++)
{
document.write(" <BR>");
writeTableLabel(dmiSlotDesc[slotArray[i]] + " - Resources Used", "Expansion Board Details");
writeTableHead();
writeSingleTableRowOrBlank("Slot:", slotLocation[i]);
if (resUse[i] > 0)
{
writeSingleTableRowOrBlank("Bus:", busType[resUse[i] - 1]);
writeSingleTableRowOrBlank("Device:", deviceNumber[resUse[i] - 1]);
for (j = 0; j < resourceUser.length; j++)
{
if (resUse[i] == resourceUser[j])
{
if (resourceType[j] == "IRQ")
writeSingleTableRowOrBlank("IRQ:", resourceNumber[j]);
}
}
for (j = 0; j < resourceUser.length; j++)
{
if (resUse[i] == resourceUser[j])
{
if (resourceType[j] == "DMA")
writeSingleTableRowOrBlank("DMA:", resourceNumber[j]);
}
}
for (j = 0; j < resourceUser.length; j++)
{
if (resUse[i] == resourceUser[j])
{
if (resourceType[j] == "I/O")
{
if (resourceStartAddr[j] > 65535 || resourceEndAddr[j] > 65535)
writeSingleTableRowOrBlank("Port:", resourceStartAddr[j] + " - " + resourceEndAddr[j]);
else
writeSingleTableRowOrBlank("Port:", hexfromdec(resourceStartAddr[j]) + "h - " + hexfromdec(resourceEndAddr[j]) + "h");
}
}
}
for (j = 0; j < resourceUser.length; j++)
{
if (resUse[i] == resourceUser[j])
{
if (resourceType[j] == "Memory")
{
writeSingleTableRowOrBlank("Memory:", Math.round(resourceStartAddr[j]/1024) + " KB - " + Math.round(resourceEndAddr[j]/1024) + " KB");
}
}
}
}
writeTableTail();
document.write("<br>");
}
writeBodyTail();
</SCRIPT>
</HTML>