summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_wi_usb.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2005-11-24 14:31:41 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2005-11-24 14:31:41 +0000
commit6a37e78bbf365a5ca60e16e9a8b8d05bdd4b4ef2 (patch)
tree54b32d5e61f533ecd1c6ab36956000d22b4abb6f /sys/dev/usb/if_wi_usb.c
parentc4680c19fd12bf4a9f0875ea6dc5bff7bf9320bb (diff)
wi and ubt are network drivers so should be DV_IFNET,
not DV_DULL. Spotted by miod@.
Diffstat (limited to 'sys/dev/usb/if_wi_usb.c')
-rw-r--r--sys/dev/usb/if_wi_usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_wi_usb.c b/sys/dev/usb/if_wi_usb.c
index a8a82162180..3ffca66ed3f 100644
--- a/sys/dev/usb/if_wi_usb.c
+++ b/sys/dev/usb/if_wi_usb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_usb.c,v 1.24 2005/11/19 08:23:41 jsg Exp $ */
+/* $OpenBSD: if_wi_usb.c,v 1.25 2005/11/24 14:31:40 grange Exp $ */
/*
* Copyright (c) 2003 Dale Rahn. All rights reserved.
@@ -263,7 +263,7 @@ const struct wi_usb_type {
};
#define wi_usb_lookup(v, p) ((struct wi_usb_type *)usb_lookup(wi_usb_devs, v, p))
-USB_DECLARE_DRIVER(wi_usb);
+USB_DECLARE_DRIVER_CLASS(wi_usb, DV_IFNET);
USB_MATCH(wi_usb)
{