1
0

rsi: add new device model for 9116

9116 device id entry is added in both SDIO and USB interfaces.
New enumberation value taken for the device model. Based on the
device model detected run time, few device specific operations
needs to be performed.

adding rsi_dev_model to get device type in run time, as we can use
same driver for 9113 and 9116 except few firmware load changes.

Signed-off-by: Siva Rebbagondla <siva8118@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Este cometimento está contido em:
Siva Rebbagondla
2019-04-03 09:43:02 +05:30
cometido por Kalle Valo
ascendente 9ea3812f01
cometimento 54fdb318c1
5 ficheiros modificados com 41 adições e 7 eliminações

Ver ficheiro

@@ -22,8 +22,9 @@
#include "rsi_main.h"
#include "rsi_common.h"
#define RSI_USB_VID_9113 0x1618
#define RSI_USB_VENDOR_ID 0x1618
#define RSI_USB_PID_9113 0x9113
#define RSI_USB_PID_9116 0x9116
#define USB_INTERNAL_REG_1 0x25000
#define RSI_USB_READY_MAGIC_NUM 0xab