#endif
 
 static const struct sdio_device_id rsi_dev_table[] =  {
-       { SDIO_DEVICE(0x303, 0x100) },
-       { SDIO_DEVICE(0x041B, 0x0301) },
-       { SDIO_DEVICE(0x041B, 0x0201) },
-       { SDIO_DEVICE(0x041B, 0x9330) },
+       { SDIO_DEVICE(RSI_SDIO_VID_9113, RSI_SDIO_PID_9113) },
        { /* Blank */},
 };
 
 
 #endif
 
 static const struct usb_device_id rsi_dev_table[] = {
-       { USB_DEVICE(0x0303, 0x0100) },
-       { USB_DEVICE(0x041B, 0x0301) },
-       { USB_DEVICE(0x041B, 0x0201) },
-       { USB_DEVICE(0x041B, 0x9330) },
-       { USB_DEVICE(0x1618, 0x9113) },
+       { USB_DEVICE(RSI_USB_VID_9113, RSI_USB_PID_9113) },
        { /* Blank */},
 };
 
 
 #include <linux/mmc/sdio_ids.h>
 #include "rsi_main.h"
 
+#define RSI_SDIO_VID_9113    0x041B
+#define RSI_SDIO_PID_9113    0x9330
+
 enum sdio_interrupt_type {
        BUFFER_FULL         = 0x0,
        BUFFER_AVAILABLE    = 0x2,
 
 #include "rsi_main.h"
 #include "rsi_common.h"
 
+#define RSI_USB_VID_9113       0x1618
+#define RSI_USB_PID_9113       0x9113
+
 #define USB_INTERNAL_REG_1           0x25000
 #define RSI_USB_READY_MAGIC_NUM      0xab
 #define FW_STATUS_REG                0x41050012