mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-22 22:09:12 +00:00
Made chad's stuff emit the vendor name, just for fun!
This commit is contained in:
parent
9277ba8832
commit
6f3208d2e7
1 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ namespace Cosmos.Hardware.PC.Bus {
|
|||
UInt32 xValue = Read32(xBus, xSlot, xFunction, 0);
|
||||
UInt32 xVendorID = xValue & 0xFFFF;
|
||||
if (xVendorID != 0xFFFF) {
|
||||
Console.WriteLine("PCI Device found");
|
||||
Console.Write("PCI: Vendor ");
|
||||
Console.WriteLine(xVendorID.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue