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:
parent
7b6fe3a4c2
commit
20710e9f5f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141951
@ -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
|
||||
|
@ -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 */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user