From 82f5bff3e46e0a39c464f53228359cf27022a30d Mon Sep 17 00:00:00 2001 From: ghaddab Date: Thu, 6 Feb 2014 11:04:31 +0000 Subject: [PATCH] git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5043 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/RTAI/USER/init_exmimo2.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/targets/RTAI/USER/init_exmimo2.sh b/targets/RTAI/USER/init_exmimo2.sh index ada2191cdd..d5241bd60a 100644 --- a/targets/RTAI/USER/init_exmimo2.sh +++ b/targets/RTAI/USER/init_exmimo2.sh @@ -6,6 +6,12 @@ if [ -z "$PCI" ]; then return fi +## This part corrects the wrong configuration of the endpoint done by the bios in some machines +echo "$PCI" | while read config_reg; do +SLOT_NUMBER=`echo $config_reg | awk -F\" '{print $1}'` +setpci -s $SLOT_NUMBER 60.b=10 +done + sudo rmmod openair_rf sudo insmod $OPENAIR_TARGETS/ARCH/EXMIMO/DRIVER/eurecom/openair_rf.ko sleep 1