aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-25 16:31:23 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-25 16:31:23 +0000
commit1966c6fe33ac54a20ef7de460a1dbe27fa95681c (patch)
tree66c1b91c7d7192fac3286340362ef9721349a1d7 /target
parenta50677440ee6c52530504a53287f69df5aae1b67 (diff)
downloadupstream-1966c6fe33ac54a20ef7de460a1dbe27fa95681c.tar.gz
upstream-1966c6fe33ac54a20ef7de460a1dbe27fa95681c.tar.bz2
upstream-1966c6fe33ac54a20ef7de460a1dbe27fa95681c.zip
Fix another wrong shitfing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9447 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/adm5120/files/drivers/block/rb1xx/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120/files/drivers/block/rb1xx/ata.c b/target/linux/adm5120/files/drivers/block/rb1xx/ata.c
index 55df75e864..b396317f5f 100644
--- a/target/linux/adm5120/files/drivers/block/rb1xx/ata.c
+++ b/target/linux/adm5120/files/drivers/block/rb1xx/ata.c
@@ -92,7 +92,7 @@ static inline int cf_present(struct cf_mips_dev* dev)
int i;
/* on RB100 WAIT is LOW all the time => read will hang */
- if (SW_READ_REG(GPIO_CONF0) & (1 << ADM5120_GPIO_PIN0))
+ if (SW_READ_REG(GPIO_CONF0) & (1 << 8))
cmd |= EXTIO_WAIT_EN;
SW_WRITE_REG(GPIO_CONF2, cmd);