[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 05 May 2012 10:01:39 +0200
From: Bjørn Mork <bjorn@...k.no>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: davem@...emloft.net, Bruce Allan <bruce.w.allan@...el.com>,
netdev@...r.kernel.org, gospo@...hat.com, sassmann@...hat.com
Subject: Re: [net-next 2/8] e1000e: initial support for i217
Jeff Kirsher <jeffrey.t.kirsher@...el.com> writes:
> diff --git a/drivers/net/ethernet/intel/e1000e/defines.h b/drivers/net/ethernet/intel/e1000e/defines.h
> index 3a50259..11c4666 100644
> --- a/drivers/net/ethernet/intel/e1000e/defines.h
> +++ b/drivers/net/ethernet/intel/e1000e/defines.h
> @@ -74,7 +74,9 @@
> #define E1000_WUS_BC E1000_WUFC_BC
>
> /* Extended Device Control */
> +#define E1000_CTRL_EXT_LPCD 0x00000004 /* LCD Power Cycle Done */
> #define E1000_CTRL_EXT_SDP3_DATA 0x00000080 /* Value of SW Definable Pin 3 */
> +#define E1000_CTRL_EXT_FORCE_SMBUS 0x00000004 /* Force SMBus mode*/
> #define E1000_CTRL_EXT_EE_RST 0x00002000 /* Reinitialize from EEPROM */
> #define E1000_CTRL_EXT_SPD_BYPS 0x00008000 /* Speed Select Bypass */
> #define E1000_CTRL_EXT_RO_DIS 0x00020000 /* Relaxed Ordering disable */
The mangled sorting and alignment of the new entries made me wonder if
this was a typo. But reading further below it looks like
E1000_CTRL_EXT_LPCD is input and E1000_CTRL_EXT_FORCE_SMBUS is output.
If that is correct, then it probably deserves a small comment here along
with better sorting and alignment to make it clear that the duplicate
value is intentional?
Bjørn
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists