Skip to content

Commit

Permalink
initial 1.3 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Peterson committed Feb 24, 2019
0 parents commit 2ee9773
Show file tree
Hide file tree
Showing 13 changed files with 6,769 additions and 0 deletions.
1 change: 1 addition & 0 deletions 91-tmfifo_net.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1a:ca:ff:ff:02", ATTR{type}=="1", NAME="tmfifo_net0", RUN+="/usr/sbin/ifup tmfifo_net0"
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
# Build:
# make -C /lib/modules/`uname -r`/build M=$PWD [clean]
#
# Install (as root):
# make -C /lib/modules/`uname -r`/build M=$PWD INSTALL_MOD_DIR=extra/rshim modules_install
#

obj-m := rshim.o rshim_net.o rshim_usb.o rshim_pcie.o rshim_pcie_lf.o
24 changes: 24 additions & 0 deletions dkms.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# DKMS module name and version
PACKAGE_NAME="rshim"
PACKAGE_VERSION="0.2"

kernelver=${kernelver:-$(uname -r)}
kernel_source_dir=${kernel_source_dir:-/lib/modules/$kernelver/build}

# Module name, source and destination directories, and build command-line
BUILT_MODULE_NAME[0]="rshim"
DEST_MODULE_LOCATION[0]="/updates"

BUILT_MODULE_NAME[1]="rshim_usb"
DEST_MODULE_LOCATION[1]="/updates"

BUILT_MODULE_NAME[2]="rshim_pcie"
DEST_MODULE_LOCATION[2]="/updates"

BUILT_MODULE_NAME[3]="rshim_pcie_lf"
DEST_MODULE_LOCATION[3]="/updates"

BUILT_MODULE_NAME[4]="rshim_net"
DEST_MODULE_LOCATION[4]="/updates"

AUTOINSTALL="yes"
1 change: 1 addition & 0 deletions rshim-dracut.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
omit_drivers+="rshim rshim_net rshim_usb rshim_pcie rshim_pcie_if"
8 changes: 8 additions & 0 deletions rshim-kmod.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file is intended for users to select a driver to access the
# BlueField RShim.
#
# Uncomment the 'option' line below to specify a rshim driver name (rshim_usb,
# rshim_pcie, or rshim_pcie_lf). If not specified, the first available one will
# be selected by default.
#
# options rshim backend_driver=rshim_usb
Loading

0 comments on commit 2ee9773

Please sign in to comment.