diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-03-13 14:52:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-14 14:00:32 -0700 |
commit | 438627c77b877e445a4b918a50ff910a5ea2a12d (patch) | |
tree | 254abcb0c57f6c57947428f9c8ec38b6904801fc /drivers/net/netxen/netxen_nic_hw.c | |
parent | 0b72e659a10ec50acbef90756bf04177b66c8266 (diff) |
netxen: sanitize variable names
o remove max_ prefix from ring sizes, since they don't really
represent max possible sizes.
o cleanup naming of rx ring types (normal, jumbo, lro).
o simplify logic to choose rx ring size, gig ports get half
rx ring of 10 gig ports.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_hw.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_hw.c b/drivers/net/netxen/netxen_nic_hw.c index c8faa53d27a..cea7300426b 100644 --- a/drivers/net/netxen/netxen_nic_hw.c +++ b/drivers/net/netxen/netxen_nic_hw.c @@ -515,7 +515,7 @@ netxen_send_cmd_descs(struct netxen_adapter *adapter, &cmd_desc_arr[i], sizeof(struct cmd_desc_type0)); producer = get_next_index(producer, - adapter->max_tx_desc_count); + adapter->num_txd); i++; } while (i != nr_elements); |