diff options
Diffstat (limited to 'wctdm24xxp/wctdm24xxp.h')
-rw-r--r-- | wctdm24xxp/wctdm24xxp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wctdm24xxp/wctdm24xxp.h b/wctdm24xxp/wctdm24xxp.h index 89d708e..40f919c 100644 --- a/wctdm24xxp/wctdm24xxp.h +++ b/wctdm24xxp/wctdm24xxp.h @@ -50,8 +50,10 @@ #define CMD_WR(a,b) (((a) << 8) | (b) | __CMD_WR) #define CMD_RD(a) (((a) << 8) | __CMD_RD) +#if 0 #define CMD_BYTE(card,bit,altcs) (((((card) & 0x3) * 3 + (bit)) * 7) \ + ((card) >> 2) + (altcs) + ((altcs) ? -21 : 0)) +#endif #define NUM_CARDS 24 #define NUM_EC 4 #define NUM_SLOTS 6 |