From owner-freebsd-current Tue Jan 25 8: 6: 7 2000 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 77A16152A9 for ; Tue, 25 Jan 2000 08:05:39 -0800 (PST) (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 JAA06202; Tue, 25 Jan 2000 09:05:08 -0700 (MST) (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 JAA03962; Tue, 25 Jan 2000 09:04:51 -0700 (MST) Message-Id: <200001251604.JAA03962@harmony.village.org> To: Mitsuru IWASAKI Subject: Re: APM still ignoring DEVICE_SUSPEND errors Cc: dfr@nlsystems.com, n_hibma@webweaving.org, current@freebsd.org In-reply-to: Your message of "Tue, 25 Jan 2000 21:00:07 +0900." <200001251200.VAA24572@tasogare.imasy.or.jp> References: <200001251200.VAA24572@tasogare.imasy.or.jp> Date: Tue, 25 Jan 2000 09:04:51 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200001251200.VAA24572@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: : > > Any reason to not shoot the apm_hook_{suspend,resume} in the head and : > > just use newbus suspend/resume everywhere? : > : > Are there any non-newbus devices which need suspend/resume? I think the : > i386 clock uses the apm hooks but I might be misremembering. : : No, it just reloads the countdown register of i8254 in : apm_default_resume() for now. But once the PIT become an ordinary : device like any other, this is planned to be the device's resume : method. Sounds like a good reason to me (eg, there are still non-newbus driver users of this) to keep it. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message