r8169: use device model DMA API
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 8 Oct 2010 04:25:01 +0000 (04:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Oct 2010 16:16:13 +0000 (09:16 -0700)
commit82553bb6218d2707d2e6446d7b2313dfd60b48a8
tree0824791362eb6d533a864c1d8cb7d110e8b98af6
parentaeb19f6052b5e5c8a24aa444fbff73b84341beac
r8169: use device model DMA API

Use DMA API as PCI equivalents will be deprecated. This change also
allow to allocate with GFP_KERNEL where possible.

Tested-by: Neal Becker <ndbecker2@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c