Date: Tue, 09 May 2000 18:46:27 -0700 From: Mike Smith <msmith@freebsd.org> To: shimon@simon-shapiro.org Cc: freebsd-current@freebsd.org Subject: Re: EVENTHANDLER_DECLARE Message-ID: <200005100146.SAA21402@mass.cdrom.com> In-Reply-To: Your message of "Tue, 09 May 2000 21:44:12 EDT." <XFMail.000509214412.shimon@simon-shapiro.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Sorry to bother y'll, but; > > Has anyone ever used that? I see no trace of any kernel > code calling it, and the at_shutdown code appears to be > gone. It's still used in the shutdown code; it was meant to be available for general use elsewhere, but I haven't seen anyone playing with it, so maybe the design tradeoffs were bad choices. > BTW, for all it is worth, any caching controller not using > this is guaranteed to lose data. Wrong layer. You should be using the bus shutdown method; look at eg. the Mylex driver to see how this is done. You should probably call your flush routine from the suspend method as well. (Note that the Mylex stuff doesn't correctly handle suspend/resume since we don't have a decent ACPI implementation yet) -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005100146.SAA21402>