using System; using System.Collections.Generic; using System.Text; using Cosmos.Hardware.PC.Bus; namespace FrodeTest.Test { class TransmitStatusDescriptorTest { public static void RunTest() { //Testing that the TSD is rotating between the four Descriptors /*for (int i = 0; i < 10; i++) { Console.WriteLine(TransmitStatusDescriptor.GetCurrentTSDescriptor()); TransmitStatusDescriptor.IncrementTSDescriptor(); }*/ //Testing that OWN bit is cleared /*PCIDevice card = PCIBus.GetPCIDevice(0, 3, 0); TransmitStatusDescriptor tsd = TransmitStatusDescriptor.Load(card); Console.WriteLine("Before bit is cleared: " + tsd.TSD()); tsd.ClearOWNBit(); Console.WriteLine("After bit cleared: " + tsd.TSD()); */ } } }