summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_cue.c
diff options
context:
space:
mode:
authorCedric Berger <cedric@cvs.openbsd.org>2003-12-15 23:36:15 +0000
committerCedric Berger <cedric@cvs.openbsd.org>2003-12-15 23:36:15 +0000
commitfa7b9e757ed2c0f7f1150747f3f1951fefa9298b (patch)
tree35a224c45b7bf0908f6e658c4628048ed4d1b247 /sys/dev/usb/if_cue.c
parent8a673a2d13b137f7b058efb43b043b8f21b00f35 (diff)
Set devclass to DV_IFNET for all USB network drivers.
ok deraadt@ nate@
Diffstat (limited to 'sys/dev/usb/if_cue.c')
-rw-r--r--sys/dev/usb/if_cue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c
index ed4a9156774..bfefa57dbf7 100644
--- a/sys/dev/usb/if_cue.c
+++ b/sys/dev/usb/if_cue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cue.c,v 1.18 2003/05/07 04:33:33 deraadt Exp $ */
+/* $OpenBSD: if_cue.c,v 1.19 2003/12/15 23:36:14 cedric Exp $ */
/* $NetBSD: if_cue.c,v 1.40 2002/07/11 21:14:26 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -143,7 +143,7 @@ Static struct usb_devno cue_devs[] = {
};
#define cue_lookup(v, p) (usb_lookup(cue_devs, v, p))
-USB_DECLARE_DRIVER(cue);
+USB_DECLARE_DRIVER_CLASS(cue, DV_IFNET);
Static int cue_open_pipes(struct cue_softc *);
Static int cue_tx_list_init(struct cue_softc *);