DKMS package of the mpi3mr driver, patched to expose slot number for array devices.
- Upstream copy of driver is kept in the
upstreambranch. When a new driver is released, update the source code here. - Patched version lives in
patchedbranch. Merge any changes fromupstreamintopatched.- make sure to update
MPI3MR_DRIVER_VERSIONin mpi3mr.h properly for build version.
- make sure to update
- After modifying
patchedbranch, checkout tomainand run./gen-patch.sh. This creates thepatches/45drives.patchfile used bydkms. - The
mainbranch should only contain untouched upstream source code, the patch file created by./gen-patch.sh, and files necessary for packaging. - To deploy new release, commit the new
patches/45drives.patchtomainand tag it.
git checkout upstream- Download latest driver version from broadcom
- Navigate through nested archives and open
mpi3mr-<driver version>-src.tar.gz - Extract contents and copy files to repo in
upstreambranch and commit them git checkout patchedgit merge upstreamand handle conflicts- make sure to update
MPI3MR_DRIVER_VERSIONin mpi3mr.h properly
- make sure to update
git checkout maingit merge upstream(should not have any conflicts)./gen-patch.shUpdatedone byPACKAGE_VERSIONin dkms.conf./gen-patch.shdone bymanupupdate the version/build./gen-patch.sh- Run
./test_builds.shto ensure driver will build on target systems