]> git.baikalelectronics.ru Git - kernel.git/commit
typhoon: Need non-vmalloc memory to DMA firmware to the card.
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2009 04:24:32 +0000 (20:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2009 04:24:32 +0000 (20:24 -0800)
commit5333dc843746848c6700251dc626e05ab3bbe730
tree75e267695e3d208d68f4097e3915905424d54ba1
parentc15b63b3f025beccf1ab642fc0394d625c0aeb6a
typhoon: Need non-vmalloc memory to DMA firmware to the card.

request_firmware() gives vmalloc'd memory, which is not suitable
for pci_map_single() and friends.

Use a kmalloc()'d copy of the firmware for this DMA operation.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/typhoon.c