Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb add another TPLINK RTL8192EU variant



details:   https://anonhg.NetBSD.org/src/rev/4fb30bc76fd9
branches:  trunk
changeset: 950819:4fb30bc76fd9
user:      nia <nia%NetBSD.org@localhost>
date:      Mon Feb 01 04:46:33 2021 +0000

description:
add another TPLINK RTL8192EU variant

to avoid confusion use TP-Link's names for these variants, matching
FreeBSD

diffstat:

 sys/dev/usb/if_urtwn.c |  9 +++++----
 sys/dev/usb/usbdevs    |  7 ++++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 1ddaebfc3fb6 -r 4fb30bc76fd9 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c    Mon Feb 01 01:52:04 2021 +0000
+++ b/sys/dev/usb/if_urtwn.c    Mon Feb 01 04:46:33 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_urtwn.c,v 1.89 2021/01/31 18:05:38 nia Exp $        */
+/*     $NetBSD: if_urtwn.c,v 1.90 2021/02/01 04:46:33 nia Exp $        */
 /*     $OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $       */
 
 /*-
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.89 2021/01/31 18:05:38 nia Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.90 2021/02/01 04:46:33 nia Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -217,8 +217,9 @@
        /* URTWN_RTL8192EU */
        URTWN_RTL8192EU_DEV(DLINK,      DWA131E),
        URTWN_RTL8192EU_DEV(REALTEK,    RTL8192EU),
-       URTWN_RTL8192EU_DEV(TPLINK,     RTL8192EU),
-       URTWN_RTL8192EU_DEV(TPLINK,     WN821N),
+       URTWN_RTL8192EU_DEV(TPLINK,     WN821NV5),
+       URTWN_RTL8192EU_DEV(TPLINK,     WN822NV4),
+       URTWN_RTL8192EU_DEV(TPLINK,     WN823NV2),
 };
 #undef URTWN_DEV
 #undef URTWN_RTL8188E_DEV
diff -r 1ddaebfc3fb6 -r 4fb30bc76fd9 sys/dev/usb/usbdevs
--- a/sys/dev/usb/usbdevs       Mon Feb 01 01:52:04 2021 +0000
+++ b/sys/dev/usb/usbdevs       Mon Feb 01 04:46:33 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.788 2021/01/31 18:05:38 nia Exp $
+$NetBSD: usbdevs,v 1.789 2021/02/01 04:46:33 nia Exp $
 
 /*-
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -3401,8 +3401,9 @@
 
 /* TP-Link products */
 product TPLINK RTL8192CU       0x0100  RTL8192CU
-product TPLINK WN821N          0x0107  WN821N
-product TPLINK RTL8192EU       0x0109  RTL8192EU
+product        TPLINK WN821NV5         0x0107  TL-WN821N v5
+product        TPLINK WN822NV4         0x0108  TL-WN822N v4
+product        TPLINK WN823NV2         0x0109  TL-WN823N v2
 product TPLINK RTL8188EU       0x010c  RTL8188EU
 product        TPLINK T4UV2            0x010d  Archer T4U ver 2
 product        TPLINK T4UHV2           0x010e  Archer T4UH ver 2



Home | Main Index | Thread Index | Old Index