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.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.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index b9d2191e03c9..724f75560ddb 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h | |||
@@ -113,8 +113,8 @@ | |||
113 | #define FLUSH_SCHEDULED_WORK() flush_workqueue(netxen_workq) | 113 | #define FLUSH_SCHEDULED_WORK() flush_workqueue(netxen_workq) |
114 | extern struct workqueue_struct *netxen_workq; | 114 | extern struct workqueue_struct *netxen_workq; |
115 | 115 | ||
116 | /* | 116 | /* |
117 | * normalize a 64MB crb address to 32MB PCI window | 117 | * normalize a 64MB crb address to 32MB PCI window |
118 | * To use NETXEN_CRB_NORMALIZE, window _must_ be set to 1 | 118 | * To use NETXEN_CRB_NORMALIZE, window _must_ be set to 1 |
119 | */ | 119 | */ |
120 | #define NETXEN_CRB_NORMAL(reg) \ | 120 | #define NETXEN_CRB_NORMAL(reg) \ |
@@ -736,11 +736,11 @@ struct netxen_skb_frag { | |||
736 | (config_word) &= ~__tmask; \ | 736 | (config_word) &= ~__tmask; \ |
737 | (config_word) |= (((__tvalue) << (start)) & __tmask); \ | 737 | (config_word) |= (((__tvalue) << (start)) & __tmask); \ |
738 | } | 738 | } |
739 | 739 | ||
740 | #define _netxen_clear_bits(config_word, start, bits) {\ | 740 | #define _netxen_clear_bits(config_word, start, bits) {\ |
741 | unsigned long long __tmask = (((1ULL << (bits)) - 1) << (start)); \ | 741 | unsigned long long __tmask = (((1ULL << (bits)) - 1) << (start)); \ |
742 | (config_word) &= ~__tmask; \ | 742 | (config_word) &= ~__tmask; \ |
743 | } | 743 | } |
744 | 744 | ||
745 | /* Following defines are for the state of the buffers */ | 745 | /* Following defines are for the state of the buffers */ |
746 | #define NETXEN_BUFFER_FREE 0 | 746 | #define NETXEN_BUFFER_FREE 0 |
@@ -879,7 +879,7 @@ struct netxen_dummy_dma { | |||
879 | 879 | ||
880 | struct netxen_adapter { | 880 | struct netxen_adapter { |
881 | struct netxen_hardware_context ahw; | 881 | struct netxen_hardware_context ahw; |
882 | 882 | ||
883 | struct netxen_adapter *master; | 883 | struct netxen_adapter *master; |
884 | struct net_device *netdev; | 884 | struct net_device *netdev; |
885 | struct pci_dev *pdev; | 885 | struct pci_dev *pdev; |
@@ -916,7 +916,7 @@ struct netxen_adapter { | |||
916 | u32 temp; | 916 | u32 temp; |
917 | 917 | ||
918 | struct netxen_adapter_stats stats; | 918 | struct netxen_adapter_stats stats; |
919 | 919 | ||
920 | u16 portno; | 920 | u16 portno; |
921 | u16 link_speed; | 921 | u16 link_speed; |
922 | u16 link_duplex; | 922 | u16 link_duplex; |
@@ -1050,9 +1050,9 @@ int netxen_phantom_init(struct netxen_adapter *adapter, int pegtune_val); | |||
1050 | int netxen_load_firmware(struct netxen_adapter *adapter); | 1050 | int netxen_load_firmware(struct netxen_adapter *adapter); |
1051 | int netxen_pinit_from_rom(struct netxen_adapter *adapter, int verbose); | 1051 | int netxen_pinit_from_rom(struct netxen_adapter *adapter, int verbose); |
1052 | int netxen_rom_fast_read(struct netxen_adapter *adapter, int addr, int *valp); | 1052 | int netxen_rom_fast_read(struct netxen_adapter *adapter, int addr, int *valp); |
1053 | int netxen_rom_fast_read_words(struct netxen_adapter *adapter, int addr, | 1053 | int netxen_rom_fast_read_words(struct netxen_adapter *adapter, int addr, |
1054 | u8 *bytes, size_t size); | 1054 | u8 *bytes, size_t size); |
1055 | int netxen_rom_fast_write_words(struct netxen_adapter *adapter, int addr, | 1055 | int netxen_rom_fast_write_words(struct netxen_adapter *adapter, int addr, |
1056 | u8 *bytes, size_t size); | 1056 | u8 *bytes, size_t size); |
1057 | int netxen_flash_unlock(struct netxen_adapter *adapter); | 1057 | int netxen_flash_unlock(struct netxen_adapter *adapter); |
1058 | int netxen_backup_crbinit(struct netxen_adapter *adapter); | 1058 | int netxen_backup_crbinit(struct netxen_adapter *adapter); |