diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-02-01 03:45:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-01 03:45:17 -0500 |
commit | 09640e6365c679b5642b1c41b6d7078f51689ddf (patch) | |
tree | a2b80c153bd23fe59db8c6994fda29923819fcea /drivers/net/via-velocity.h | |
parent | ee437770c42088b9b653e8b3bf28a61fa647f84e (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.h | 6 |
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 | ||
185 | enum { | 185 | enum { |
186 | RX_INTEN = __constant_cpu_to_le16(0x8000) | 186 | RX_INTEN = cpu_to_le16(0x8000) |
187 | }; | 187 | }; |
188 | 188 | ||
189 | struct rx_desc { | 189 | struct rx_desc { |
@@ -210,7 +210,7 @@ struct tdesc1 { | |||
210 | } __attribute__ ((__packed__)); | 210 | } __attribute__ ((__packed__)); |
211 | 211 | ||
212 | enum { | 212 | enum { |
213 | TD_QUEUE = __constant_cpu_to_le16(0x8000) | 213 | TD_QUEUE = cpu_to_le16(0x8000) |
214 | }; | 214 | }; |
215 | 215 | ||
216 | struct td_buf { | 216 | struct td_buf { |
@@ -242,7 +242,7 @@ struct velocity_td_info { | |||
242 | 242 | ||
243 | enum velocity_owner { | 243 | enum 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 | ||