summaryrefslogtreecommitdiffstats
path: root/dung-3.4.25-m2/sdhi.0/unbind-bind-write.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dung-3.4.25-m2/sdhi.0/unbind-bind-write.sh')
-rwxr-xr-xdung-3.4.25-m2/sdhi.0/unbind-bind-write.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/dung-3.4.25-m2/sdhi.0/unbind-bind-write.sh b/dung-3.4.25-m2/sdhi.0/unbind-bind-write.sh
new file mode 100755
index 0000000..07a5d57
--- /dev/null
+++ b/dung-3.4.25-m2/sdhi.0/unbind-bind-write.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+#set -x
+
+echo "SDHI unbind/bind/write test"
+
+if [ $# -ne 0 ]; then
+ echo "usage: $(basename $0)" >& 2
+ exit 1
+fi
+
+DRIVER="sh_mobile_sdhi"
+DEV_NAME=$DRIVER.0
+BLOCK_DEV="/dev/disk/by-path/platform-$DEV_NAME"
+
+exec $(dirname $0)/../common/unbind-bind-write.sh \
+ "$DRIVER" "$DEV_NAME" "$BLOCK_DEV"