From owner-freebsd-current Sat Aug 21 13:52:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id C99F314C17 for ; Sat, 21 Aug 1999 13:52:29 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id OAA62639; Sat, 21 Aug 1999 14:51:13 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA48584; Sat, 21 Aug 1999 14:51:31 -0600 (MDT) Message-Id: <199908212051.OAA48584@harmony.village.org> To: Garrett Wollman Subject: Re: HEADS UP: at_shutdown going away Cc: Mike Smith , current@FreeBSD.ORG In-reply-to: Your message of "Sat, 21 Aug 1999 16:31:04 EDT." <199908212031.QAA12995@khavrinen.lcs.mit.edu> References: <199908212031.QAA12995@khavrinen.lcs.mit.edu> <199908210701.BAA41654@harmony.village.org> <199908211951.MAA00837@dingo.cdrom.com> Date: Sat, 21 Aug 1999 14:51:31 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199908212031.QAA12995@khavrinen.lcs.mit.edu> Garrett Wollman writes: : You missed the point. The bus hierarchy has support designed-in to : pass power-management requests down the device tree. The only : functions which should be registering themselves with APM directly : are: : : 1) Old device drivers using a compatibility shim, or : : 2) Kernel code which is not a device driver. : : If you need more functionality than DEVICE_SUSPEND and DEVICE_RESUME, : then add more methods. That DEVICE_SUSPEND and DEVICE_RESUME methods are exactly the same thing as we have right now with the apm code. No need to reinvent the wheel here. It was on my list of cleanups to do after I got the pccard stuff to the point where modems work again. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message