summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2021-04-22 14:07:00 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2021-04-22 14:07:00 +0000
commitf1739218a01a21e7e86396f517a5af1f114d9ae4 (patch)
tree5071acc77ed399c30a3546703d62265f55804459 /sys/dev/usb
parentbe0b50662d15d7e5de73090bc93b011f912bd5bb (diff)
Mark umb(4) as network device instead of a generic one. This also makes
it show up with the proper category in hotplug scripts. From Tilo Stritzky ok groth@ sthen@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_umb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_umb.c b/sys/dev/usb/if_umb.c
index eba04afddfc..a560e5f2972 100644
--- a/sys/dev/usb/if_umb.c
+++ b/sys/dev/usb/if_umb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_umb.c,v 1.43 2021/04/01 08:39:52 mvs Exp $ */
+/* $OpenBSD: if_umb.c,v 1.44 2021/04/22 14:06:59 patrick Exp $ */
/*
* Copyright (c) 2016 genua mbH
@@ -212,7 +212,7 @@ uint8_t umb_uuid_qmi_mbim[] = MBIM_UUID_QMI_MBIM;
uint32_t umb_session_id = 0;
struct cfdriver umb_cd = {
- NULL, "umb", DV_DULL
+ NULL, "umb", DV_IFNET
};
const struct cfattach umb_ca = {