Staging: et131x: eliminate write only registry fields

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Alan Cox 2009-08-27 10:59:47 +01:00 committed by Greg Kroah-Hartman
parent 3bc9da3ed4
commit c3b4a7a92e
2 changed files with 0 additions and 8 deletions

View File

@ -253,8 +253,6 @@ struct et131x_adapter {
/* Registry parameters */ /* Registry parameters */
u8 SpeedDuplex; /* speed/duplex */ u8 SpeedDuplex; /* speed/duplex */
eFLOW_CONTROL_t RegistryFlowControl; /* for 802.3x flow control */ eFLOW_CONTROL_t RegistryFlowControl; /* for 802.3x flow control */
u8 RegistryWOLMatch; /* Enable WOL pattern-matching */
u8 RegistryWOLLink; /* Link state change is independant */
u8 RegistryPhyComa; /* Phy Coma mode enable/disable */ u8 RegistryPhyComa; /* Phy Coma mode enable/disable */
u32 RegistryRxMemEnd; /* Size of internal rx memory */ u32 RegistryRxMemEnd; /* Size of internal rx memory */
@ -269,9 +267,7 @@ struct et131x_adapter {
u32 RegistryRxTimeInterval; u32 RegistryRxTimeInterval;
/* Validation helpers */ /* Validation helpers */
u8 RegistryPMWOL;
u8 RegistryNMIDisable; u8 RegistryNMIDisable;
u32 RegistrySCGain;
u8 RegistryPhyLoopbk; /* Enable Phy loopback */ u8 RegistryPhyLoopbk; /* Enable Phy loopback */
/* Derived from the registry: */ /* Derived from the registry: */

View File

@ -247,8 +247,6 @@ void et131x_config_parse(struct et131x_adapter *etdev)
etdev->RegistryVlanTag = PARM_VLAN_TAG_DEF; etdev->RegistryVlanTag = PARM_VLAN_TAG_DEF;
etdev->RegistryFlowControl = PARM_FLOW_CTL_DEF; etdev->RegistryFlowControl = PARM_FLOW_CTL_DEF;
etdev->RegistryWOLLink = PARM_WOL_LINK_DEF;
etdev->RegistryWOLMatch = PARM_WOL_MATCH_DEF;
etdev->RegistryJumboPacket = PARM_JUMBO_PKT_DEF; etdev->RegistryJumboPacket = PARM_JUMBO_PKT_DEF;
etdev->RegistryPhyComa = PARM_PHY_COMA_DEF; etdev->RegistryPhyComa = PARM_PHY_COMA_DEF;
etdev->RegistryRxNumBuffers = PARM_RX_NUM_BUFS_DEF; etdev->RegistryRxNumBuffers = PARM_RX_NUM_BUFS_DEF;
@ -257,8 +255,6 @@ void et131x_config_parse(struct et131x_adapter *etdev)
etdev->RegistryTxTimeInterval = PARM_TX_TIME_INT_DEF; etdev->RegistryTxTimeInterval = PARM_TX_TIME_INT_DEF;
etdev->RegistryRxMemEnd = PARM_RX_MEM_END_DEF; etdev->RegistryRxMemEnd = PARM_RX_MEM_END_DEF;
etdev->RegistryMACStat = PARM_MAC_STAT_DEF; etdev->RegistryMACStat = PARM_MAC_STAT_DEF;
etdev->RegistrySCGain = PARM_SC_GAIN_DEF;
etdev->RegistryPMWOL = PARM_PM_WOL_DEF;
if (et131x_nmi_disable != PARM_NMI_DISABLE_DEF) if (et131x_nmi_disable != PARM_NMI_DISABLE_DEF)
etdev->RegistryNMIDisable = et131x_nmi_disable; etdev->RegistryNMIDisable = et131x_nmi_disable;