Commit b8863f8b authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by John W. Linville

rt2800: 5592: early defines

Add basic defines for 5592 chip. It can not be enabled until
CONFIG_RT2800USB_RT55XX configuration option will be provided in the
Kconfig.
Signed-off-by: default avatarStanislaw Gruszka <stf_xl@wp.pl>
Tested-by: default avatarWanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 53216d6a
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
* RF3320 2.4G 1T1R(RT3350/RT3370/RT3390) * RF3320 2.4G 1T1R(RT3350/RT3370/RT3390)
* RF3322 2.4G 2T2R(RT3352/RT3371/RT3372/RT3391/RT3392) * RF3322 2.4G 2T2R(RT3352/RT3371/RT3372/RT3391/RT3392)
* RF3053 2.4G/5G 3T3R(RT3883/RT3563/RT3573/RT3593/RT3662) * RF3053 2.4G/5G 3T3R(RT3883/RT3563/RT3573/RT3593/RT3662)
* RF5592 2.4G/5G 2T2R
* RF5360 2.4G 1T1R * RF5360 2.4G 1T1R
* RF5370 2.4G 1T1R * RF5370 2.4G 1T1R
* RF5390 2.4G 1T1R * RF5390 2.4G 1T1R
...@@ -68,6 +69,7 @@ ...@@ -68,6 +69,7 @@
#define RF3320 0x000b #define RF3320 0x000b
#define RF3322 0x000c #define RF3322 0x000c
#define RF3053 0x000d #define RF3053 0x000d
#define RF5592 0x000f
#define RF3290 0x3290 #define RF3290 0x3290
#define RF5360 0x5360 #define RF5360 0x5360
#define RF5370 0x5370 #define RF5370 0x5370
......
...@@ -4863,6 +4863,7 @@ static int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev) ...@@ -4863,6 +4863,7 @@ static int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev)
case RT3572: case RT3572:
case RT5390: case RT5390:
case RT5392: case RT5392:
case RT5592:
break; break;
default: default:
ERROR(rt2x00dev, "Invalid RT chipset 0x%04x detected.\n", rt2x00dev->chip.rt); ERROR(rt2x00dev, "Invalid RT chipset 0x%04x detected.\n", rt2x00dev->chip.rt);
...@@ -4887,6 +4888,7 @@ static int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev) ...@@ -4887,6 +4888,7 @@ static int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev)
case RF5372: case RF5372:
case RF5390: case RF5390:
case RF5392: case RF5392:
case RF5592:
break; break;
default: default:
ERROR(rt2x00dev, "Invalid RF chipset 0x%04x detected.\n", ERROR(rt2x00dev, "Invalid RF chipset 0x%04x detected.\n",
......
...@@ -1200,6 +1200,9 @@ static struct usb_device_id rt2800usb_device_table[] = { ...@@ -1200,6 +1200,9 @@ static struct usb_device_id rt2800usb_device_table[] = {
{ USB_DEVICE(0x148f, 0x5370) }, { USB_DEVICE(0x148f, 0x5370) },
{ USB_DEVICE(0x148f, 0x5372) }, { USB_DEVICE(0x148f, 0x5372) },
#endif #endif
#ifdef CONFIG_RT2800USB_RT55XX
{ USB_DEVICE(0x148f, 0x5572) },
#endif
#ifdef CONFIG_RT2800USB_UNKNOWN #ifdef CONFIG_RT2800USB_UNKNOWN
/* /*
* Unclear what kind of devices these are (they aren't supported by the * Unclear what kind of devices these are (they aren't supported by the
......
...@@ -193,6 +193,7 @@ struct rt2x00_chip { ...@@ -193,6 +193,7 @@ struct rt2x00_chip {
#define RT3883 0x3883 /* WSOC */ #define RT3883 0x3883 /* WSOC */
#define RT5390 0x5390 /* 2.4GHz */ #define RT5390 0x5390 /* 2.4GHz */
#define RT5392 0x5392 /* 2.4GHz */ #define RT5392 0x5392 /* 2.4GHz */
#define RT5592 0x5592
u16 rf; u16 rf;
u16 rev; u16 rev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment