-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Russell Peterson
committed
Feb 24, 2019
0 parents
commit 2ee9773
Showing
13 changed files
with
6,769 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.