diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-06-29 07:12:32 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-06-29 07:12:32 +0000 |
commit | 88e6b4142f83ef8a11937a389ae675a7bc957253 (patch) | |
tree | 22e1408725ec516181d4d6c8ff0024bc1ec28b52 | |
parent | ff72e991ccf71c2f36657ae996b3fb8bd7ff9ddc (diff) |
Interface drivers should use DV_IFNET, not DV_DULL.
ok deraadt@
-rw-r--r-- | sys/dev/pci/if_art.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_cdcef.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_uath.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/if_art.c b/sys/dev/pci/if_art.c index 162ae512bb9..9a50ad6e725 100644 --- a/sys/dev/pci/if_art.c +++ b/sys/dev/pci/if_art.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_art.c,v 1.17 2009/03/29 21:53:52 sthen Exp $ */ +/* $OpenBSD: if_art.c,v 1.18 2010/06/29 07:12:31 matthew Exp $ */ /* * Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland @@ -55,7 +55,7 @@ struct cfattach art_ca = { }; struct cfdriver art_cd = { - NULL, "art", DV_DULL + NULL, "art", DV_IFNET }; int 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 <drahn@openbsd.org> @@ -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 = { |