diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-12-09 14:35:00 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-12 15:27:20 -0500 |
commit | 734d18684695dd1c6a9527b50e01bba4acab4738 (patch) | |
tree | a080ae5a4e4c6fe3a7ee5897b1e5a01c726267d4 /drivers/net/sky2.h | |
parent | 129372d0524c9124d5693f63c1d3c1ce2e3714ce (diff) |
[PATCH] sky2: map length optimization
Don't need to keep track of mapping length in ring structure
because we can get the same info from other info.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r-- | drivers/net/sky2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index 29ebca099f99..1a91c2d4561c 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h | |||
@@ -1780,7 +1780,6 @@ struct sky2_status_le { | |||
1780 | struct ring_info { | 1780 | struct ring_info { |
1781 | struct sk_buff *skb; | 1781 | struct sk_buff *skb; |
1782 | dma_addr_t mapaddr; | 1782 | dma_addr_t mapaddr; |
1783 | u16 maplen; | ||
1784 | u16 idx; | 1783 | u16 idx; |
1785 | }; | 1784 | }; |
1786 | 1785 | ||
@@ -1807,6 +1806,7 @@ struct sky2_port { | |||
1807 | u16 rx_put; /* next le index to use */ | 1806 | u16 rx_put; /* next le index to use */ |
1808 | u16 rx_pending; | 1807 | u16 rx_pending; |
1809 | u16 rx_last_put; | 1808 | u16 rx_last_put; |
1809 | u16 rx_bufsize; | ||
1810 | #ifdef SKY2_VLAN_TAG_USED | 1810 | #ifdef SKY2_VLAN_TAG_USED |
1811 | u16 rx_tag; | 1811 | u16 rx_tag; |
1812 | struct vlan_group *vlgrp; | 1812 | struct vlan_group *vlgrp; |