/* $Id$ */
/** @file
* PHY MDIO unit tests.
*/
/*
* Copyright (C) 2007-2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#include "../DevE1000Phy.h"
/**
*/
private:
enum Op
{
};
enum BitWidths {
};
// Helper methods
public:
void setUp()
{
}
void tearDown()
{
delete phy;
}
void testSize()
{
}
void testReadPID()
{
}
void testReadEPID()
{
}
void testWriteANA()
{
}
};
/**
* shiftOutBits - Shift data bits our to MDIO
**/
do {
mask >>= 1;
} while (mask);
}
/**
* shiftInBits - Shift data bits in from MDIO
**/
{
while (count--)
{
data <<= 1;
}
return data;
}
{
shiftInBits(1);
return u16Data;
}
{
}
// Create text test runner and run all tests.
{
}