cvs commit: src/sys/dev/acpica acpi_quirks acpi_timer.c
acpivar.h
Nate Lawson
nate at root.org
Sat Oct 9 20:18:56 PDT 2004
Nate Lawson wrote:
> njl 2004-10-10 03:15:45 UTC
>
> FreeBSD src repository
>
> Modified files: (Branch: RELENG_5)
> sys/dev/acpica acpi_quirks acpi_timer.c acpivar.h
> Log:
> MFC: Only disable the timer for the ASUS P5A and -B.
>
> Approved by: re (scottl)
>
> Revision Changes Path
> 1.3.2.1 +5 -8 src/sys/dev/acpica/acpi_quirks
> 1.35.2.1 +2 -1 src/sys/dev/acpica/acpi_timer.c
> 1.79.2.3 +6 -0 src/sys/dev/acpica/acpivar.h
>
> --- src/sys/dev/acpica/acpivar.h:1.79.2.2 Tue Aug 31 05:26:37 2004
> +++ src/sys/dev/acpica/acpivar.h Sun Oct 10 03:15:45 2004
> @@ -98,6 +98,10 @@
> /* Flags for each device defined in the AML namespace. */
> #define ACPI_FLAG_WAKE_ENABLED 0x1
>
> +/* Macros for extracting parts of a PCI address from an _ADR value. */
> +#define ACPI_ADR_PCI_SLOT(adr) (((adr) & 0xffff0000) >> 16)
> +#define ACPI_ADR_PCI_FUNC(adr) ((adr) & 0xffff)
> +
> /*
> * Entry points to ACPI from above are global functions defined in this
> * file, sysctls, and I/O on the control device. Entry points from below
Apologies, jhb@'s compatibility macros crept into the MFC. They should
not affect anything since I didn't MFC any use of them. I rebuilt just
to be sure and they are not used.
-Nate
More information about the cvs-src
mailing list