]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Two problems here:
authorru <ru@FreeBSD.org>
Sat, 12 Feb 2005 12:04:10 +0000 (12:04 +0000)
committerru <ru@FreeBSD.org>
Sat, 12 Feb 2005 12:04:10 +0000 (12:04 +0000)
commit7bd12fe3ee76ea39a086c73aca00b09e6f9c0ec5
tree8ac9d72a0d143fef049a3a008e50287ce26b8672
parent3fbcda2e525db1b507832e69c86fa892de860d91
Two problems here:

1.  Dependency on netgraph module was broken (wrong version).
2.  Netgraph node type was never destroyed on unload.  This
    was masked by problem #1.

Fixed both by using NETGRAPH_INIT().  Now netgraph node type
is created on module load, as in the rest of netgraph modules.
sys/dev/ar/if_ar.c
sys/dev/sr/if_sr.c