summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_upl.c
diff options
context:
space:
mode:
authorcedric <cedric@openbsd.org>2003-12-15 23:36:14 +0000
committercedric <cedric@openbsd.org>2003-12-15 23:36:14 +0000
commit7afc75fc5c3baacc4c0504c5edec287d2ac4a5fa (patch)
treeb241b1a12dd9bdb0190591779e63873b3b4827de /sys/dev/usb/if_upl.c
parentjot.1: (diff)
downloadwireguard-openbsd-7afc75fc5c3baacc4c0504c5edec287d2ac4a5fa.tar.xz
wireguard-openbsd-7afc75fc5c3baacc4c0504c5edec287d2ac4a5fa.zip
Set devclass to DV_IFNET for all USB network drivers.
ok deraadt@ nate@
Diffstat (limited to 'sys/dev/usb/if_upl.c')
-rw-r--r--sys/dev/usb/if_upl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c
index 72c7b99f72c..f5ffcf06939 100644
--- a/sys/dev/usb/if_upl.c
+++ b/sys/dev/usb/if_upl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upl.c,v 1.14 2003/05/07 04:33:33 deraadt Exp $ */
+/* $OpenBSD: if_upl.c,v 1.15 2003/12/15 23:36:14 cedric Exp $ */
/* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -205,7 +205,7 @@ Static struct upl_type sc_devs[] = {
{ 0, 0 }
};
-USB_DECLARE_DRIVER(upl);
+USB_DECLARE_DRIVER_CLASS(upl, DV_IFNET);
Static int upl_openpipes(struct upl_softc *);
Static int upl_tx_list_init(struct upl_softc *);