[openib-general] svn patches.

Roland Dreier
Thu Apr 29 07:10:01 PDT 2004


    Abhijit> i'd also like to know which branch one need to be looking
    Abhijit> at and sending patches against? the repository root
    Abhijit> (https://openib.org/svn/) is bit confusing:

Sorry about that.  I'll try and delete some of the obsolete stuff.

In any case, right now the latest code is in
    https://openib.org/svn/gen1/trunk

To build the code, you should run (from the top of the tree)
    scripts/mklink.sh link

This will symlink the Mellanox HCA driver files from src/common into
src/linux-kernel.

Then go to src/linux-kernel and run
    scripts/link-makefile.sh VERSION
where VERSION is either "24" or "26" for kernel 2.4 or 2.6.  This will
go through the tree symlink either Makefile.24 or Makefile.26 to
Makefile.

At that point you can use the appropriate patch in
src/linux-kernel/patches to hook the InfiniBand code into the kernel
build system, and then copy src/linux-kernel/infiniband to
drivers/infiniband in your kernel tree.  (You'll probably want to use
"cp -rL" to copy; the "-L" will make cp dereference the symlinks)

I'll put these instructions in a README and also write a script to set
up a kernel tree soon.

 - Roland

-- 
To unsubscribe send an email with subject unsubscribe to openib-general at openib.org.
Please contact moderator at openib.org for questions.




More information about the openib-general mailing list