bnx2: use device model DMA API
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 15 Jul 2010 04:25:50 +0000 (04:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jul 2010 21:42:48 +0000 (14:42 -0700)
commit36227e88c2563de73f748aa7d85fffd7afffc1fb
treeb668f2e51e047b930b19a5dd7d7384bdf34b807f
parenta2df00aa33f741096e977456573ebb08eece0b6f
bnx2: use device model DMA API

Use DMA API as PCI equivalents will be deprecated. This change also allow
to allocate with GFP_KERNEL in some places.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c