kern/94939: [acpi] [patch] reboot(8) fails on IBM / Intel blades
John Baldwin
jhb at freebsd.org
Tue Mar 28 20:40:25 UTC 2006
The following reply was made to PR kern/94939; it has been noted by GNATS.
From: John Baldwin <jhb at freebsd.org>
To: "Devon H. O'Dell" <devon.odell at gmail.com>
Cc: "Nate Lawson" <nate at root.org>, bug-followup at freebsd.org
Subject: Re: kern/94939: [acpi] [patch] reboot(8) fails on IBM / Intel blades
Date: Tue, 28 Mar 2006 15:40:36 -0500
On Tuesday 28 March 2006 15:21, Devon H. O'Dell wrote:
> > The patch has some other major problems that should be addressed before
> > committing. It should not manually be parsing the GAS and mapping
> > memory etc. Instead, it should just use AcpiHwLowLevelWrite():
> >
> > ACPI_STATUS
> > AcpiHwLowLevelWrite (
> > UINT32 Width,
> > UINT32 Value,
> > ACPI_GENERIC_ADDRESS *Reg);
> >
> > Width should be 8, value should be the reset value in the FADT, and Reg
> > should be the FADT GAS struct.
>
> Please see http://www.sitetronics.com/~dodell/acpi2.diff (also
> attached). This addresses this issue and significantly reduces the
> size of the diff :)
>
> --Devon
Maybe it should use AcpiGbl_FADT->ResetRegister.RegisterBitWidth rather
than hardcoding 8?
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-bugs
mailing list