<<On Sat, 21 Aug 1999 12:51:29 -0700, Mike Smith <[EMAIL PROTECTED]> said:

>> [Quoting somebody unidentified, presumably Warner:]

>> Shouldn't the apm stuff use the new-bus hooks?  I've migraded a couple
>> of uses in pccard to using that now that I have newbus node to hang
>> them off of...

> APM is only attached to the ISA bus for crufty reasons; I'm going to 
> take it off shortly and use the kernel environment to pass it options.

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.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
[EMAIL PROTECTED]  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to