From 0b6a16c1a47b622b1a692ab179013d9e30e9cf3b Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 5 Mar 2013 16:27:43 +0200 Subject: libcacard: move atr setting from macro to function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only because qemu's checkpatch complains about it. Signed-off-by: Alon Levy Reviewed-by: Marc-André Lureau --- libcacard/vcardt.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libcacard/vcardt.h') diff --git a/libcacard/vcardt.h b/libcacard/vcardt.h index 3b9a6199c0..795e265304 100644 --- a/libcacard/vcardt.h +++ b/libcacard/vcardt.h @@ -25,19 +25,6 @@ typedef struct VCardEmulStruct VCardEmul; #define MAX_CHANNEL 4 -/* create an ATR with appropriate historical bytes */ -#define TS_DIRECT_CONVENTION 0x3b -#define TA_PRESENT 0x10 -#define TB_PRESENT 0x20 -#define TC_PRESENT 0x40 -#define TD_PRESENT 0x80 - -#define VCARD_ATR_PREFIX(size) \ - TS_DIRECT_CONVENTION, \ - TD_PRESENT + (6 + size), \ - 0x00, \ - 'V', 'C', 'A', 'R', 'D', '_' - typedef enum { VCARD_DONE, VCARD_NEXT, -- cgit v1.2.3