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)
commitd517c4a1da590a7fa50325a5e5cd18f07e8fb5a7
tree75e267695e3d208d68f4097e3915905424d54ba1
parente8e26350f114fa212e277ea02332d9347c59865d
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