/** $Id$ */
/** @file
* DevE1000Phy - Intel 82540EM Ethernet Controller Internal PHY Emulation, Header.
*/
/*
* 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.
*/
/*
* Speed: 1000 Mb/s
* Duplex: full
* Page received
* Resolved
* Link up
* Receive Pause Enable
*/
{
/**
* Indices of memory-mapped registers in register table
*/
enum enmRegIdx
{
};
/**
* Emulation state of PHY.
*/
struct Phy_st
{
/** Network controller instance this PHY is attached to. */
int iInstance;
/** Register storage. */
/** Current state of serial MDIO interface. */
/** Current state of serial MDIO interface. */
/** PHY register offset selected for MDIO operation. */
};
}
#define MDIO_IDLE 0
/* Interface *****************************************************************/
/** Initialize PHY. */
/** Read PHY register at specified address. */
/** Write to PHY register at specified address. */
/** Read the value on MDIO pin. */
/** Set the value of MDIO pin. */
/** Hardware reset. */
/** Query link status. */
/** Set link status. */
/** Save PHY state. */
/** Restore previously saved PHY state. */
}