From 88e6b4142f83ef8a11937a389ae675a7bc957253 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Tue, 29 Jun 2010 07:12:32 +0000 Subject: Interface drivers should use DV_IFNET, not DV_DULL. ok deraadt@ --- sys/dev/usb/if_cdcef.c | 4 ++-- sys/dev/usb/if_uath.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/usb') diff --git a/sys/dev/usb/if_cdcef.c b/sys/dev/usb/if_cdcef.c index 80ae2c55bc1..4784be63355 100644 --- a/sys/dev/usb/if_cdcef.c +++ b/sys/dev/usb/if_cdcef.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cdcef.c,v 1.24 2008/12/07 18:47:08 matthieu Exp $ */ +/* $OpenBSD: if_cdcef.c,v 1.25 2010/06/29 07:12:31 matthew Exp $ */ /* * Copyright (c) 2007 Dale Rahn @@ -110,7 +110,7 @@ struct cfattach cdcef_ca = { }; struct cfdriver cdcef_cd = { - NULL, "cdcef", DV_DULL + NULL, "cdcef", DV_IFNET }; struct usbf_function_methods cdcef_methods = { diff --git a/sys/dev/usb/if_uath.c b/sys/dev/usb/if_uath.c index 9cdbcda6640..f15a62650c5 100644 --- a/sys/dev/usb/if_uath.c +++ b/sys/dev/usb/if_uath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_uath.c,v 1.41 2010/04/20 22:05:43 tedu Exp $ */ +/* $OpenBSD: if_uath.c,v 1.42 2010/06/29 07:12:31 matthew Exp $ */ /*- * Copyright (c) 2006 @@ -191,7 +191,7 @@ int uath_detach(struct device *, int); int uath_activate(struct device *, int); struct cfdriver uath_cd = { - NULL, "uath", DV_DULL + NULL, "uath", DV_IFNET }; const struct cfattach uath_ca = { -- cgit v1.2.3