1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Initialize Netgraph type at a correct time, before device probing.

This commit is contained in:
Ruslan Ermilov 2005-02-15 18:41:21 +00:00
parent 7b6fe3a4c2
commit 20710e9f5f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141951
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ static struct ng_type typestruct = {
.rcvdata = ngar_rcvdata,
.disconnect = ngar_disconnect,
};
NETGRAPH_INIT_ORDERED(sync_ar, &typestruct, SI_SUB_DRIVERS, SI_ORDER_ANY);
NETGRAPH_INIT_ORDERED(sync_ar, &typestruct, SI_SUB_DRIVERS, SI_ORDER_FIRST);
#endif /* NETGRAPH */
int

View File

@ -281,7 +281,7 @@ static struct ng_type typestruct = {
.rcvdata = ngsr_rcvdata,
.disconnect = ngsr_disconnect,
};
NETGRAPH_INIT_ORDERED(sync_sr, &typestruct, SI_SUB_DRIVERS, SI_ORDER_ANY);
NETGRAPH_INIT_ORDERED(sync_sr, &typestruct, SI_SUB_DRIVERS, SI_ORDER_FIRST);
#endif /* NETGRAPH */
/*