From 6f3208d2e7b3836ffa5fe83be35fcf4a66cb0772 Mon Sep 17 00:00:00 2001 From: moitoius_cp <7bd20ad30720b36bd251fb928c419f8754d57bfcCkJyHhZD> Date: Mon, 28 Jan 2008 14:18:00 +0000 Subject: [PATCH] Made chad's stuff emit the vendor name, just for fun! --- source/Cosmos.Hardware.PC/Bus/PCIBus.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Cosmos.Hardware.PC/Bus/PCIBus.cs b/source/Cosmos.Hardware.PC/Bus/PCIBus.cs index 652815007..6f3d0f6cc 100644 --- a/source/Cosmos.Hardware.PC/Bus/PCIBus.cs +++ b/source/Cosmos.Hardware.PC/Bus/PCIBus.cs @@ -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()); } } }