Made chad's stuff emit the vendor name, just for fun!

This commit is contained in:
moitoius_cp 2008-01-28 14:18:00 +00:00
parent 9277ba8832
commit 6f3208d2e7

View file

@ -15,7 +15,8 @@ namespace Cosmos.Hardware.PC.Bus {
UInt32 xValue = Read32(xBus, xSlot, xFunction, 0); UInt32 xValue = Read32(xBus, xSlot, xFunction, 0);
UInt32 xVendorID = xValue & 0xFFFF; UInt32 xVendorID = xValue & 0xFFFF;
if (xVendorID != 0xFFFF) { if (xVendorID != 0xFFFF) {
Console.WriteLine("PCI Device found"); Console.Write("PCI: Vendor ");
Console.WriteLine(xVendorID.ToString());
} }
} }
} }