artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7945134
)
Add Xiaomi MiniWif to list of devices supported by mtw(4).
author
kevlo
<kevlo@openbsd.org>
Thu, 30 Dec 2021 15:09:49 +0000
(15:09 +0000)
committer
kevlo
<kevlo@openbsd.org>
Thu, 30 Dec 2021 15:09:49 +0000
(15:09 +0000)
Works for me on amd64.
ok hastings@
sys/dev/usb/if_mtw.c
patch
|
blob
|
history
diff --git
a/sys/dev/usb/if_mtw.c
b/sys/dev/usb/if_mtw.c
index
66dfbb4
..
4c11ab1
100644
(file)
--- a/
sys/dev/usb/if_mtw.c
+++ b/
sys/dev/usb/if_mtw.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_mtw.c,v 1.
2 2021/12/24 06:53:18 hastings Exp $
*/
+/* $OpenBSD: if_mtw.c,v 1.
3 2021/12/30 15:09:49 kevlo Exp $
*/
/*
* Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr>
* Copyright (c) 2013-2014 Kevin Lo
@@
-82,6
+82,7
@@
static const struct usb_devno mtw_devs[] = {
USB_ID(RALINK, MT7601_3),
USB_ID(RALINK, MT7601_4),
USB_ID(RALINK, MT7601_5),
+ USB_ID(XIAOMI, MT7601U),
};
int mtw_match(struct device *, void *, void *);