From 44f8ddd826350c80d810036f8225697d68408809 Mon Sep 17 00:00:00 2001 From: patrick Date: Thu, 22 Apr 2021 14:06:59 +0000 Subject: [PATCH] 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@ --- sys/dev/usb/if_umb.c | 4 ++-- 1 file 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 = { -- 2.20.1