Ackerman, Tony wrote: > Bruce, > Aren't the calls to sysctl_ctx_free() still required?
They aren't required because the sysctl tree and the sysctl context are both created by the newbus framework, and also destroyed by the said framework if a device detaches. However, your comment made me notice that Bruce forgot to remove the sysctl_ctx and sysctl_tree fields of the softc in his patch. :-) Cheers, Maxime > -----Original Message----- > From: Bruce M Simpson [mailto:[EMAIL PROTECTED] > Sent: Friday, October 15, 2004 3:21 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: [PATCH] Make em(4) use device sysctl tree > > Here is a non-critical patch to bring em(4) into line with other > drivers, by using the sysctl tree created for each device by the > bus framework. > > Please review; Thanks. > BMS > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"