Cosmos/source/FrodeTest/Test/TransmitStatusDescriptorTest.cs
Scalpel_cp 05b71e7825 RTL8139 driver now identifies its hardware revision.
Added EarlyRxStatusRegister, TransmitConfigurationRegister and a BinaryHelper class.
Added network settings to Qemu.exe startup
2008-03-15 01:00:44 +00:00

21 lines
577 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.Driver.RTL8139.Register;
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();
}
}
}
}