new file mode 100644
@@ -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
deleted file mode 100644
@@ -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
And drop bits that are outdated or replaced by top-level Documentation. Signed-off-by: Christoph Hellwig <hch@lst.de> --- 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