aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-velocity.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-02-01 03:45:17 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-01 03:45:17 -0500
commit09640e6365c679b5642b1c41b6d7078f51689ddf (patch)
treea2b80c153bd23fe59db8c6994fda29923819fcea /drivers/net/via-velocity.h
parentee437770c42088b9b653e8b3bf28a61fa647f84e (diff)
net: replace uses of __constant_{endian}
Base versions handle constant folding now. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/via-velocity.h')
-rw-r--r--drivers/net/via-velocity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h
index 29a33090d3d4..ea43e1832afb 100644
--- a/drivers/net/via-velocity.h
+++ b/drivers/net/via-velocity.h
@@ -183,7 +183,7 @@ struct rdesc1 {
183}; 183};
184 184
185enum { 185enum {
186 RX_INTEN = __constant_cpu_to_le16(0x8000) 186 RX_INTEN = cpu_to_le16(0x8000)
187}; 187};
188 188
189struct rx_desc { 189struct rx_desc {
@@ -210,7 +210,7 @@ struct tdesc1 {
210} __attribute__ ((__packed__)); 210} __attribute__ ((__packed__));
211 211
212enum { 212enum {
213 TD_QUEUE = __constant_cpu_to_le16(0x8000) 213 TD_QUEUE = cpu_to_le16(0x8000)
214}; 214};
215 215
216struct td_buf { 216struct td_buf {
@@ -242,7 +242,7 @@ struct velocity_td_info {
242 242
243enum velocity_owner { 243enum velocity_owner {
244 OWNED_BY_HOST = 0, 244 OWNED_BY_HOST = 0,
245 OWNED_BY_NIC = __constant_cpu_to_le16(0x8000) 245 OWNED_BY_NIC = cpu_to_le16(0x8000)
246}; 246};
247 247
248 248