From fbdb30b9c63d63fb437f44f173cbebb7bdadcebf Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 25 Oct 2007 16:31:23 +0000 Subject: Fix another wrong shitfing git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9447 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120/files/drivers/block/rb1xx/ata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') diff --git a/target/linux/adm5120/files/drivers/block/rb1xx/ata.c b/target/linux/adm5120/files/drivers/block/rb1xx/ata.c index 55df75e86..b396317f5 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); -- cgit v1.2.3