ixgbe/base: change register definition code style
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 24 Jun 2015 03:26:20 +0000 (11:26 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 26 Jun 2015 10:42:16 +0000 (12:42 +0200)
commit270c4f7758fd1db3eb852ff16ad876263dbd5832
tree0dc0167dc38ddd48b7a43f0f7bacd0d43979bfe3
parent73a601f53fb48a4b39424bea33b774f8f7a968b2
ixgbe/base: change register definition code style

This path changes ((P == 0) ? (<value for port 0>) : (<value for port 1>))
register definition into ((P) ? <value for port 1> : <value for port 0>)
style.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/ixgbe/base/ixgbe_type.h