diff options
author | Michael Büsch <mb@bu3sch.de> | 2008-07-18 20:53:08 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2008-07-18 20:53:08 +0000 |
commit | df41dbe6e1eeb8b94012e6f361cb1668d955857b (patch) | |
tree | e7934c9ef108ca16af31b2ebd6e8b3665ea3794e /package/mmc_over_gpio/files | |
parent | f4ddadc99fef88dc1b88420622b551e50a4a4c53 (diff) | |
download | upstream-df41dbe6e1eeb8b94012e6f361cb1668d955857b.tar.gz upstream-df41dbe6e1eeb8b94012e6f361cb1668d955857b.tar.bz2 upstream-df41dbe6e1eeb8b94012e6f361cb1668d955857b.zip |
Update GPIO-based MMC driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11864 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mmc_over_gpio/files')
-rw-r--r-- | package/mmc_over_gpio/files/mmc_over_gpio.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mmc_over_gpio/files/mmc_over_gpio.init b/package/mmc_over_gpio/files/mmc_over_gpio.init index 88d9e41027..57c5695d19 100644 --- a/package/mmc_over_gpio/files/mmc_over_gpio.init +++ b/package/mmc_over_gpio/files/mmc_over_gpio.init @@ -3,11 +3,11 @@ START=90 SYSFS="/sys" -SYSFS_DRIVERDIR="$SYSFS/bus/platform/drivers/spi-gpio-mmc" +SYSFS_DRIVERDIR="$SYSFS/bus/platform/drivers/gpiommc" # add_device(name, DI_pin, DO_pin, CLK_pin, CS_pin, mode) add_device() { - echo -n "$1" "$2","$3","$4","$5" "$6" > $SYSFS_DRIVERDIR/add + echo -n "$1" "$2" "$3" "$4" "$5" "$6" > $SYSFS_DRIVERDIR/add } # remove_device(name) |