|
@@ -65,6 +65,15 @@ function reset_cmosis () {
|
|
|
sleep .3
|
|
|
}
|
|
|
|
|
|
+function reset_all () {
|
|
|
+ pci -w 0x9040 80000004
|
|
|
+ sleep .2
|
|
|
+ pci -w 0x9040 80000000
|
|
|
+ sleep .3
|
|
|
+ pci -w 0x9040 80000001
|
|
|
+ sleep .3
|
|
|
+}
|
|
|
+
|
|
|
function check_status () {
|
|
|
status=`pci -r 0x9050 -s 4 | awk '{print $2$3$4}'`
|
|
|
if [ "$status" != "8449ffff0000300100000000" ]; then
|
|
@@ -150,6 +159,9 @@ if [ "$RESET_CMOSIS" ]; then
|
|
|
fi
|
|
|
|
|
|
if [ "$RESET_ALL" ]; then
|
|
|
+ pci -w 9020 e
|
|
|
+ reset_all
|
|
|
+ reset_dma
|
|
|
set_number_lines $NUM_ROWS
|
|
|
fi
|
|
|
|