From: hastings Date: Mon, 20 Dec 2021 14:54:37 +0000 (+0000) Subject: Make mtw(4) known to the config(8) framework. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f225ca3913f4635e73ef97be93ad1cf97971c4cd;p=openbsd Make mtw(4) known to the config(8) framework. Not enabled yet. Pending firmware availability. ok stsp@ jmatthew@ --- 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