diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-11-23 21:23:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:02 -0500 |
commit | 4790654c71b250018ecc234f6b9f1ed96a55572d (patch) | |
tree | 0902dbbcc763aa51c6209b560bff97505c0849eb /drivers/net/netxen/netxen_nic_hw.h | |
parent | ba734f349d5ba02a736e2d574584c56cd21bad14 (diff) |
[netdrvr] netxen: checkpatch fixes (98% trim trailing whitespace)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_hw.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic_hw.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/netxen/netxen_nic_hw.h b/drivers/net/netxen/netxen_nic_hw.h index 197e1fc7333d..a3ea1dd98c41 100644 --- a/drivers/net/netxen/netxen_nic_hw.h +++ b/drivers/net/netxen/netxen_nic_hw.h | |||
@@ -235,7 +235,7 @@ typedef enum { | |||
235 | ((config_word) |= 1 << 0) | 235 | ((config_word) |= 1 << 0) |
236 | #define netxen_xg_set_xg1_mask(config_word) \ | 236 | #define netxen_xg_set_xg1_mask(config_word) \ |
237 | ((config_word) |= 1 << 3) | 237 | ((config_word) |= 1 << 3) |
238 | 238 | ||
239 | #define netxen_xg_get_xg0_mask(config_word) \ | 239 | #define netxen_xg_get_xg0_mask(config_word) \ |
240 | _netxen_crb_get_bit((config_word), 0) | 240 | _netxen_crb_get_bit((config_word), 0) |
241 | #define netxen_xg_get_xg1_mask(config_word) \ | 241 | #define netxen_xg_get_xg1_mask(config_word) \ |
@@ -273,7 +273,7 @@ typedef enum { | |||
273 | _netxen_crb_get_bit((config_word), 4) | 273 | _netxen_crb_get_bit((config_word), 4) |
274 | #define netxen_gb_get_gb3_mask(config_word) \ | 274 | #define netxen_gb_get_gb3_mask(config_word) \ |
275 | _netxen_crb_get_bit((config_word), 6) | 275 | _netxen_crb_get_bit((config_word), 6) |
276 | 276 | ||
277 | #define netxen_gb_unset_gb0_mask(config_word) \ | 277 | #define netxen_gb_unset_gb0_mask(config_word) \ |
278 | ((config_word) &= ~(1 << 0)) | 278 | ((config_word) &= ~(1 << 0)) |
279 | #define netxen_gb_unset_gb1_mask(config_word) \ | 279 | #define netxen_gb_unset_gb1_mask(config_word) \ |
@@ -437,7 +437,7 @@ typedef enum { | |||
437 | 437 | ||
438 | /* | 438 | /* |
439 | * NIU GB Drop CRC Register | 439 | * NIU GB Drop CRC Register |
440 | * | 440 | * |
441 | * Bit 0 : drop_gb0 => 1:drop pkts with bad CRCs, 0:pass them on | 441 | * Bit 0 : drop_gb0 => 1:drop pkts with bad CRCs, 0:pass them on |
442 | * Bit 1 : drop_gb1 => 1:drop pkts with bad CRCs, 0:pass them on | 442 | * Bit 1 : drop_gb1 => 1:drop pkts with bad CRCs, 0:pass them on |
443 | * Bit 2 : drop_gb2 => 1:drop pkts with bad CRCs, 0:pass them on | 443 | * Bit 2 : drop_gb2 => 1:drop pkts with bad CRCs, 0:pass them on |
@@ -480,7 +480,7 @@ typedef enum { | |||
480 | 480 | ||
481 | /* | 481 | /* |
482 | * MAC Control Register | 482 | * MAC Control Register |
483 | * | 483 | * |
484 | * Bit 0-1 : id_pool0 | 484 | * Bit 0-1 : id_pool0 |
485 | * Bit 2 : enable_xtnd0 | 485 | * Bit 2 : enable_xtnd0 |
486 | * Bit 4-5 : id_pool1 | 486 | * Bit 4-5 : id_pool1 |
@@ -515,7 +515,7 @@ typedef enum { | |||
515 | ((config) |= (((val) & 0x0f) << 28)) | 515 | ((config) |= (((val) & 0x0f) << 28)) |
516 | 516 | ||
517 | /* Set promiscuous mode for a GbE interface */ | 517 | /* Set promiscuous mode for a GbE interface */ |
518 | int netxen_niu_set_promiscuous_mode(struct netxen_adapter *adapter, | 518 | int netxen_niu_set_promiscuous_mode(struct netxen_adapter *adapter, |
519 | netxen_niu_prom_mode_t mode); | 519 | netxen_niu_prom_mode_t mode); |
520 | int netxen_niu_xg_set_promiscuous_mode(struct netxen_adapter *adapter, | 520 | int netxen_niu_xg_set_promiscuous_mode(struct netxen_adapter *adapter, |
521 | netxen_niu_prom_mode_t mode); | 521 | netxen_niu_prom_mode_t mode); |