sata_mv ncq Use DMA memory pools for hardware memory tables
authorMark Lord <liml@rtr.ca>
Sat, 26 Jan 2008 23:32:45 +0000 (18:32 -0500)
committerJeff Garzik <jeff@garzik.org>
Fri, 1 Feb 2008 16:29:48 +0000 (11:29 -0500)
commitda2fa9baf06f33a8fa7aa3f56c9f2b4070ceca0e
treed0fc6eca704410490e9f98f46fae3e1958334303
parentf273827e2aadcf2f74a7bdc9ad715a1b20ea7dda
sata_mv ncq Use DMA memory pools for hardware memory tables

Create host-owned DMA memory pools, for use in allocating/freeing per-port
command/response queues and SG tables.  This gives us a way to guarantee we
meet the hardware address alignment requirements, and also reduces memory that
might otherwise be wasted on alignment gaps.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_mv.c