diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-31 03:45:16 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-31 03:45:16 +0000 |
commit | 824d54a2c3b93ab15b73dc525ea91c58e1a47f30 (patch) | |
tree | 6160ff7351a3469a2d0c37d93b5471206e24684b /sys/dev/ic | |
parent | 889b86468614aedddf9ebb7509219e849a457e96 (diff) |
Add support for Ralink RT5360. From Kevin Lo who tested with a
D-Link DWA-525 rev A2.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/rt2860.c | 3 | ||||
-rw-r--r-- | sys/dev/ic/rt2860reg.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c index 96a7f7603f4..28b4512995e 100644 --- a/sys/dev/ic/rt2860.c +++ b/sys/dev/ic/rt2860.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860.c,v 1.92 2017/01/22 10:17:38 dlg Exp $ */ +/* $OpenBSD: rt2860.c,v 1.93 2017/05/31 03:45:15 jsg Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -3106,6 +3106,7 @@ rt2860_get_rf(uint16_t rev) case RT3070_RF_3052: return "RT3052"; case RT3070_RF_3320: return "RT3320"; case RT3070_RF_3053: return "RT3053"; + case RT5390_RF_5360: return "RT5360"; case RT5390_RF_5390: return "RT5390"; case RT5390_RF_5392: return "RT5392"; default: return "unknown"; diff --git a/sys/dev/ic/rt2860reg.h b/sys/dev/ic/rt2860reg.h index d5f44a77b48..bcd15f783de 100644 --- a/sys/dev/ic/rt2860reg.h +++ b/sys/dev/ic/rt2860reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860reg.h,v 1.33 2016/08/17 11:50:52 stsp Exp $ */ +/* $OpenBSD: rt2860reg.h,v 1.34 2017/05/31 03:45:15 jsg Exp $ */ /*- * Copyright (c) 2007 @@ -925,6 +925,7 @@ struct rt2860_rxwi { #define RT3070_RF_3320 0x000b /* 1T1R */ #define RT3070_RF_3053 0x000d /* dual-band 3T3R */ #define RT5592_RF_5592 0x000f /* dual-band 2T2R */ +#define RT5390_RF_5360 0x5360 /* 1T1R */ #define RT5390_RF_5370 0x5370 /* 1T1R */ #define RT5390_RF_5372 0x5372 /* 2T2R */ #define RT5390_RF_5390 0x5390 /* 1T1R */ |