[PATCH 4/9] pcmcia: yenta-cardbus: ENE_TEST_C9_PFENABLE duplicate *_F0

Dominik Brodowski linux at dominikbrodowski.net
Fri May 30 17:31:14 EDT 2008


From: Roel Kluin <12o3l at tiscali.nl>

The test only makes sense if we check for _F0 and _F1.

Signed-off-by: Roel Kluin <12o3l at tiscali.nl>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
CC: Daniel Ritz <daniel.ritz at gmx.ch>
---
 drivers/pcmcia/ti113x.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pcmcia/ti113x.h b/drivers/pcmcia/ti113x.h
index d29657b..87a5fd5 100644
--- a/drivers/pcmcia/ti113x.h
+++ b/drivers/pcmcia/ti113x.h
@@ -155,7 +155,7 @@
 #define ENE_TEST_C9_TLTENABLE		0x02
 #define ENE_TEST_C9_PFENABLE_F0		0x04
 #define ENE_TEST_C9_PFENABLE_F1		0x08
-#define ENE_TEST_C9_PFENABLE		(ENE_TEST_C9_PFENABLE_F0 | ENE_TEST_C9_PFENABLE_F0)
+#define ENE_TEST_C9_PFENABLE		(ENE_TEST_C9_PFENABLE_F0 | ENE_TEST_C9_PFENABLE_F1)
 #define ENE_TEST_C9_WPDISALBLE_F0	0x40
 #define ENE_TEST_C9_WPDISALBLE_F1	0x80
 #define ENE_TEST_C9_WPDISALBLE		(ENE_TEST_C9_WPDISALBLE_F0 | ENE_TEST_C9_WPDISALBLE_F1)
-- 
1.5.4.3




More information about the linux-pcmcia mailing list