OSDN Git Service

mwl8k: use pci_unmap_addr{,set}() to keep track of unmap addresses on rx
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 22 Oct 2009 18:20:56 +0000 (20:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 6 Nov 2009 21:54:37 +0000 (16:54 -0500)
commit788838ebe8a4caca93a91982c7bbf393edf24c08
tree5572f3e9d6a460d28556bb295e49f37b5c32dc3a
parenteae74e6545d995ab0baa8fb07309f714d9616293
mwl8k: use pci_unmap_addr{,set}() to keep track of unmap addresses on rx

Instead of reading back the unmap address from the receive
descriptor when doing receive processing, use DECLARE_PCI_UNMAP_ADDR
and pci_unmap_addr{,set}() to keep track of these addresses.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c