e1000_osdep.c revision caf05df5c10c960028f122b1b02a3f7d8f892c31
/*
* This file is provided under a CDDLv1 license. When using or
* redistributing this file, you may do so under this license.
* In redistributing this file this license must be included
* and no other modification of this header file is permitted.
*
* CDDL LICENSE SUMMARY
*
* Copyright(c) 1999 - 2009 Intel Corporation. All rights reserved.
*
* The contents of this file are subject to the terms of Version
* 1.0 of the Common Development and Distribution License (the "License").
*
* You should have received a copy of the License with this software.
* You can obtain a copy of the License at
* See the License for the specific language governing permissions
* and limitations under the License.
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms of the CDDLv1.
*/
#include "e1000_osdep.h"
#include "e1000_api.h"
void
{
}
void
{
}
void
{
}
void
{
*value =
}
/*
* phy_spd_state - set smart-power-down (SPD) state
*
* This only acts on the silicon families that have the SPD feature.
* For any others, return without doing anything.
*/
void
{
case e1000_82541:
case e1000_82547:
case e1000_82541_rev_2:
case e1000_82547_rev_2:
break;
case e1000_82571:
case e1000_82572:
case e1000_82573:
case e1000_82574:
case e1000_82583:
break;
default:
return; /* no action */
}
if (enable)
else
}
/*
* The real intent of this routine is to return the value from pci-e
* config space at offset reg into the capability space.
* ICH devices are "PCI Express"-ish. They have a configuration space,
* but do not contain PCI Express Capability registers, so this returns
* the equivalent of "not supported"
*/
{
PCI_EX_CONF_CAP + reg);
return (0);
}
/*
* For some hardware types, access to NVM & PHY need to be serialized by mutex.
* The necessary mutexes will have been created by shared code. Here we destroy
* that mutexes for just the hardware types that need it.
*/
void
{
struct e1000_dev_spec_ich8lan *dev_spec;
case e1000_ich8lan:
case e1000_ich9lan:
case e1000_ich10lan:
case e1000_pchlan:
break;
default:
break; /* no action */
}
}