]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ehca: Remove use of do_mmap()
authorHoang-Nam Nguyen <hnguyen@linux.vnet.ibm.com>
Tue, 23 Jan 2007 23:13:35 +0000 (00:13 +0100)
committerRoland Dreier <rolandd@cisco.com>
Sun, 4 Feb 2007 22:11:57 +0000 (14:11 -0800)
commit4c34bdf58c0a3b305ebd9b5e74011ca1fd6d964d
tree6e0a9639148b5bdb6b344ac048a4bc4453d5550f
parent1f12667021c542236b1f10eb5d8b2d8f3a79ab48
IB/ehca: Remove use of do_mmap()

This patch removes do_mmap() from ehca:
 - Call remap_pfn_range() for hardware register block
 - Use vm_insert_page() to register memory allocated for completion
   queues and queue pairs
 - The actual mmap() call/trigger is now controlled by user space,
   ie. libehca

Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_cq.c
drivers/infiniband/hw/ehca/ehca_iverbs.h
drivers/infiniband/hw/ehca/ehca_main.c
drivers/infiniband/hw/ehca/ehca_qp.c
drivers/infiniband/hw/ehca/ehca_uverbs.c