Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 1998 09:00:39 -0500
From:      sbabkin@dcn.att.com
To:        walter@fortean.com, am@amsoft.ru
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   RE: APM power off (patch)
Message-ID:  <C50B6FBA632FD111AF0F0000C0AD71EE4132E4@dcn71.dcn.att.com>

next in thread | raw e-mail | index | archive | help
> ----------
> From: 	Andrew Maltsev[SMTP:am@amsoft.ru]
> 
> > > So, step 8) should be:
> > >  8) reboot or power off, whatever requested.
> > 
> > Well, I'm actually proposing it's taken out of the kernel (step 8)
> and put
> > into the callout functions (step 5).  The implementation of the
> 
> To say the truth I see no _big_ advantages in moving that code out of
> kernel.. to me it looks like a bit ``perfectionistic'' improvement..
> which should be done, but..
> 
It allows to hook easily any driver for any hardware for this
function. Considering that there is at least more than one UPS
command set and also laptops etc. it will be highly useful not
to hack the kernel every time but just write appropriate code in the
driver.

-SB
who added once the power off function to SCO 3.2.2 by hacking the
kernel binaries :-)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C50B6FBA632FD111AF0F0000C0AD71EE4132E4>