/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to tests/heb/cfg/Set_Delay_chip.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2014-03-19 22:12:31 UTC
  • Revision ID: csa@suren.me-20140319221231-erlz0d7pk8nzo8e6
Add HEB scripts and re-organize the structure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
    zero=0
 
4
    hex_val1=$(printf "%02x\n" $1)
 
5
    hex_val2=$(printf "%02x\n" $2)
 
6
    hex_val3=$(printf "%02x\n" $3)
 
7
    hex_val4=$(printf "%02x\n" $4)
 
8
 
 
9
    pci -w 0x9080 $zero$hex_val4$hex_val3$hex_val2$hex_val1
 
10
    pci -r 0x9080 -s 1
 
11
    sleep 0.5