1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-02 16:55:25 +03:00

Fix another wrong shitfing

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9447 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-10-25 16:31:23 +00:00
parent 56daf77aa7
commit fbdb30b9c6

View File

@ -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);