Commit a300344a authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by Jeff Garzik

sky2: fix simple define thinko

noticed while browsing code, apparent thinko.  compile tested only.
Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
CC: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 3273c2e8
...@@ -1966,13 +1966,13 @@ struct sky2_status_le { ...@@ -1966,13 +1966,13 @@ struct sky2_status_le {
struct tx_ring_info { struct tx_ring_info {
struct sk_buff *skb; struct sk_buff *skb;
DECLARE_PCI_UNMAP_ADDR(mapaddr); DECLARE_PCI_UNMAP_ADDR(mapaddr);
DECLARE_PCI_UNMAP_ADDR(maplen); DECLARE_PCI_UNMAP_LEN(maplen);
}; };
struct rx_ring_info { struct rx_ring_info {
struct sk_buff *skb; struct sk_buff *skb;
dma_addr_t data_addr; dma_addr_t data_addr;
DECLARE_PCI_UNMAP_ADDR(data_size); DECLARE_PCI_UNMAP_LEN(data_size);
dma_addr_t frag_addr[ETH_JUMBO_MTU >> PAGE_SHIFT]; dma_addr_t frag_addr[ETH_JUMBO_MTU >> PAGE_SHIFT];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment