diff options
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/hw.h')
| -rw-r--r-- | drivers/net/ethernet/intel/e1000e/hw.h | 58 | 
1 files changed, 30 insertions, 28 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/hw.h b/drivers/net/ethernet/intel/e1000e/hw.h index b7f38435d1f..72f5475c4b9 100644 --- a/drivers/net/ethernet/intel/e1000e/hw.h +++ b/drivers/net/ethernet/intel/e1000e/hw.h @@ -1,30 +1,23 @@ -/******************************************************************************* - -  Intel PRO/1000 Linux driver -  Copyright(c) 1999 - 2013 Intel Corporation. - -  This program is free software; you can redistribute it and/or modify it -  under the terms and conditions of the GNU General Public License, -  version 2, as published by the Free Software Foundation. - -  This program is distributed in the hope it will be useful, but WITHOUT -  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for -  more details. - -  You should have received a copy of the GNU General Public License along with -  this program; if not, write to the Free Software Foundation, Inc., -  51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - -  The full GNU General Public License is included in this distribution in -  the file called "COPYING". - -  Contact Information: -  Linux NICS <linux.nics@intel.com> -  e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> -  Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 - -*******************************************************************************/ +/* Intel PRO/1000 Linux driver + * Copyright(c) 1999 - 2014 Intel Corporation. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for + * more details. + * + * The full GNU General Public License is included in this distribution in + * the file called "COPYING". + * + * Contact Information: + * Linux NICS <linux.nics@intel.com> + * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> + * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 + */  #ifndef _E1000_HW_H_  #define _E1000_HW_H_ @@ -476,8 +469,9 @@ struct e1000_mac_operations {  	s32  (*setup_led)(struct e1000_hw *);  	void (*write_vfta)(struct e1000_hw *, u32, u32);  	void (*config_collision_dist)(struct e1000_hw *); -	void (*rar_set)(struct e1000_hw *, u8 *, u32); +	int  (*rar_set)(struct e1000_hw *, u8 *, u32);  	s32  (*read_mac_addr)(struct e1000_hw *); +	u32  (*rar_get_count)(struct e1000_hw *);  };  /* When to use various PHY register access functions: @@ -655,12 +649,20 @@ struct e1000_shadow_ram {  #define E1000_ICH8_SHADOW_RAM_WORDS		2048 +/* I218 PHY Ultra Low Power (ULP) states */ +enum e1000_ulp_state { +	e1000_ulp_state_unknown, +	e1000_ulp_state_off, +	e1000_ulp_state_on, +}; +  struct e1000_dev_spec_ich8lan {  	bool kmrn_lock_loss_workaround_enabled;  	struct e1000_shadow_ram shadow_ram[E1000_ICH8_SHADOW_RAM_WORDS];  	bool nvm_k1_enabled;  	bool eee_disable;  	u16 eee_lp_ability; +	enum e1000_ulp_state ulp_state;  };  struct e1000_hw {  | 
