summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-02-13 11:15:25 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-02-13 11:15:25 +0000
commitb25030ca8e70e0cb072ff273638a01b66f55d3a7 (patch)
tree5694f47087d58ee8c2188a0cfa9ae3b02be214d2
parenta1635c6837bcf543587369bb3bf41c7a9f4c3afa (diff)
downloadsrc-test2-b25030ca8e70e0cb072ff273638a01b66f55d3a7.tar.gz
src-test2-b25030ca8e70e0cb072ff273638a01b66f55d3a7.zip
Notes
-rw-r--r--sys/dev/ar/if_ar.c2
-rw-r--r--sys/dev/sr/if_sr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c
index 14c4a7978f2e..972eb1ab43f7 100644
--- a/sys/dev/ar/if_ar.c
+++ b/sys/dev/ar/if_ar.c
@@ -234,7 +234,7 @@ static struct ng_type typestruct = {
.rcvdata = ngar_rcvdata,
.disconnect = ngar_disconnect,
};
-NETGRAPH_INIT(sync_ar, &typestruct);
+NETGRAPH_INIT_ORDERED(sync_ar, &typestruct, SI_SUB_DRIVERS, SI_ORDER_ANY);
#endif /* NETGRAPH */
int
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index 088181a6fe0a..b943c9b13377 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.c
@@ -281,7 +281,7 @@ static struct ng_type typestruct = {
.rcvdata = ngsr_rcvdata,
.disconnect = ngsr_disconnect,
};
-NETGRAPH_INIT(sync_sr, &typestruct);
+NETGRAPH_INIT_ORDERED(sync_sr, &typestruct, SI_SUB_DRIVERS, SI_ORDER_ANY);
#endif /* NETGRAPH */
/*