summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhastings <hastings@cvs.openbsd.org>2021-12-20 14:54:38 +0000
committerhastings <hastings@cvs.openbsd.org>2021-12-20 14:54:38 +0000
commit9255ed2fec3dc651e0cfa2b29d483f2552141745 (patch)
treeecd7e2663b1bed50381b6d99681342edf75b03ea
parent5737007a32015e57b8e946279fed0d06504cefde (diff)
Make mtw(4) known to the config(8) framework.
Not enabled yet. Pending firmware availability. ok stsp@ jmatthew@
-rw-r--r--sys/arch/amd64/conf/GENERIC3
-rw-r--r--sys/arch/amd64/conf/RAMDISK_CD3
-rw-r--r--sys/dev/usb/files.usb7
3 files changed, 10 insertions, 3 deletions
diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC
index 3b1e7dc6876..ea3624ddc94 100644
--- a/sys/arch/amd64/conf/GENERIC
+++ b/sys/arch/amd64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.506 2021/12/16 08:03:17 anton Exp $
+# $OpenBSD: GENERIC,v 1.507 2021/12/20 14:54:37 hastings Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -323,6 +323,7 @@ uath* at uhub? # Atheros AR5005UG/AR5005UX
ural* at uhub? # Ralink RT2500USB
rum* at uhub? # Ralink RT2501USB/RT2601USB
run* at uhub? # Ralink RT2700U/RT2800U/RT3000U
+#mtw* at uhub? # MediaTek MT7601U
otus* at uhub? # Atheros AR9001U
athn* at uhub? # Atheros AR9002U
zyd* at uhub? # Zydas ZD1211
diff --git a/sys/arch/amd64/conf/RAMDISK_CD b/sys/arch/amd64/conf/RAMDISK_CD
index b60148c3c3a..6fa3436a835 100644
--- a/sys/arch/amd64/conf/RAMDISK_CD
+++ b/sys/arch/amd64/conf/RAMDISK_CD
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK_CD,v 1.195 2021/12/16 08:03:17 anton Exp $
+# $OpenBSD: RAMDISK_CD,v 1.196 2021/12/20 14:54:37 hastings Exp $
machine amd64
maxusers 4
@@ -133,6 +133,7 @@ ugl* at uhub? # Genesys Logic GL620USB-A host-to-host
ural* at uhub? # Ralink RT2500
rum* at uhub? # Ralink RT2501USB/RT2601USB
run* at uhub? # Ralink RT2700U/RT2800U/RT3000U
+#mtw* at uhub? # MediaTek MT7601U
zyd* at uhub? # Zydas ZD1211
upgt* at uhub? # Conexant/Intersil PrismGT SoftMAC USB
urtw* at uhub? # Realtek 8187
diff --git a/sys/dev/usb/files.usb b/sys/dev/usb/files.usb
index 86aa41c1f5f..9f8d7c1beff 100644
--- a/sys/dev/usb/files.usb
+++ b/sys/dev/usb/files.usb
@@ -1,4 +1,4 @@
-# $OpenBSD: files.usb,v 1.147 2021/09/04 12:11:45 jmatthew Exp $
+# $OpenBSD: files.usb,v 1.148 2021/12/20 14:54:37 hastings Exp $
# $NetBSD: files.usb,v 1.16 2000/02/14 20:29:54 augustss Exp $
#
# Config file and device description for machine-independent USB code.
@@ -416,6 +416,11 @@ device run: ether, ifnet, ifmedia, wlan, firmload
attach run at uhub
file dev/usb/if_run.c run
+# MediaTek MT7601U
+device mtw: ether, ifnet, ifmedia, wlan, firmload
+attach mtw at uhub
+file dev/usb/if_mtw.c mtw
+
# Zydas ZD1211
device zyd: ether, ifnet, ifmedia, wlan, firmload
attach zyd at uhub