summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2021-07-29 09:19:43 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2021-07-29 09:19:43 +0000
commit3b121ddd6a0a886c85792db473cf8514b7e42109 (patch)
tree8a32a85fa89202dba0d920d018b826e3565e8cdc
parentffeb13fed8ddecfd389da51a469972ae44460588 (diff)
Change driver class from DV_DULL to DV_IFNET, so that it can be recognized
as boot interface when doing netboot. This makes auto install/upgrade work. ok kettenis@ visa@
-rw-r--r--sys/dev/fdt/if_cad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/if_cad.c b/sys/dev/fdt/if_cad.c
index dc5d114be7f..5c39d7817a2 100644
--- a/sys/dev/fdt/if_cad.c
+++ b/sys/dev/fdt/if_cad.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cad.c,v 1.7 2021/06/27 04:33:40 visa Exp $ */
+/* $OpenBSD: if_cad.c,v 1.8 2021/07/29 09:19:42 patrick Exp $ */
/*
* Copyright (c) 2021 Visa Hankala
@@ -336,7 +336,7 @@ const struct cfattach cad_ca = {
};
struct cfdriver cad_cd = {
- NULL, "cad", DV_DULL
+ NULL, "cad", DV_IFNET
};
const struct {