From patchwork Mon Sep 19 15:56:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 9339831 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7D5E06077A for ; Mon, 19 Sep 2016 15:57:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E75D294D5 for ; Mon, 19 Sep 2016 15:57:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63899294D6; Mon, 19 Sep 2016 15:57:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ADDA29523 for ; Mon, 19 Sep 2016 15:57:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751638AbcISP5T (ORCPT ); Mon, 19 Sep 2016 11:57:19 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:54084 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751872AbcISP5S (ORCPT ); Mon, 19 Sep 2016 11:57:18 -0400 Received: from [4.28.11.153] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.85_2 #1 (Red Hat Linux)) id 1bm0wT-0005Jq-2E; Mon, 19 Sep 2016 15:57:13 +0000 From: Christoph Hellwig To: jgunthorpe@obsidianresearch.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH 6/9] move libibcm documentation to Documentation/ Date: Mon, 19 Sep 2016 08:56:30 -0700 Message-Id: <1474300593-31922-7-git-send-email-hch@lst.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1474300593-31922-1-git-send-email-hch@lst.de> References: <1474300593-31922-1-git-send-email-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP And drop bits that are outdated or replaced by top-level Documentation. Signed-off-by: Christoph Hellwig --- Documentation/libibcm.md | 16 ++++++++++++++++ libibcm/README | 28 ---------------------------- 2 files changed, 16 insertions(+), 28 deletions(-) create mode 100644 Documentation/libibcm.md delete mode 100644 libibcm/README diff --git a/Documentation/libibcm.md b/Documentation/libibcm.md new file mode 100644 index 0000000..663e773 --- /dev/null +++ b/Documentation/libibcm.md @@ -0,0 +1,16 @@ +# Device files + +The userspace CM uses a device file per adapter present. + +To create the appropriate character device file automatically with +udev, a rule like + + KERNEL="ucm*", NAME="infiniband/%k", MODE="0666" + +can be used. This will create the device node named + + /dev/infiniband/ucm0 + +for the first HCA in the system, or you can create it manually + + mknod /dev/infiniband/ucm0 c 231 224 diff --git a/libibcm/README b/libibcm/README deleted file mode 100644 index 4dda13c..0000000 --- a/libibcm/README +++ /dev/null @@ -1,28 +0,0 @@ -This README is for userspace cm library. - -Building - -To make this directory, run: -./autogen.sh && ./configure && make && make install - -Typically the autogen and configure steps only need be done the first -time unless configure.in or Makefile.am changes. - -Libraries are installed by default at /usr/local/lib. - -Device files - -The userspace CM uses a device file per adapter present. - -To create the appropriate character device file automatically with -udev, a rule like - - KERNEL="ucm*", NAME="infiniband/%k", MODE="0666" - -can be used. This will create the device node named - - /dev/infiniband/ucm0 - -for the first HCA in the system, or you can create it manually - - mknod /dev/infiniband/ucm0 c 231 224