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
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 */
/*