summaryrefslogtreecommitdiff
path: root/run_igb.sh
blob: cb2bdc76ada3120b8432e6f29c38f91e58864950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# Simple script to run igb_avb

if [ "$#" -eq "0" ]; then 
    echo "please enter network interface name as parameter. For example:"
    echo "sudo ./run_igb.sh eth1"
    exit -1
fi

rmmod igb
modprobe i2c_algo_bit
modprobe dca
modprobe ptp
insmod kmod/igb/igb_avb.ko

ethtool -i $1