PERFORCE change 50214 for review
John Baldwin
jhb at FreeBSD.org
Fri Apr 2 14:22:01 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=50214
Change 50214 by jhb at jhb_slimer on 2004/04/02 14:21:41
Compile fixes.
Affected files ...
.. //depot/projects/power/sys/dev/acpica/acpi.c#14 edit
.. //depot/projects/power/sys/dev/acpica/acpi_pci.c#9 edit
.. //depot/projects/power/sys/pci/if_dc.c#10 edit
Differences ...
==== //depot/projects/power/sys/dev/acpica/acpi.c#14 (text+ko) ====
@@ -1711,7 +1711,7 @@
acpi_GetPowerState(ACPI_HANDLE handle, int *state)
{
- return (acpi_EvaluateInteger(handle, "_PSC", state));
+ return (acpi_GetInteger(handle, "_PSC", state));
}
/*
==== //depot/projects/power/sys/dev/acpica/acpi_pci.c#9 (text+ko) ====
@@ -69,7 +69,6 @@
device_t child, char *buf, size_t buflen);
-#if 0
static int acpi_pci_set_powerstate_method(device_t dev, device_t child,
int state);
static ACPI_STATUS acpi_pci_save_handle(ACPI_HANDLE handle, UINT32 level,
@@ -156,7 +155,6 @@
return (0);
}
-#if 0
/*
* PCI power manangement
*/
==== //depot/projects/power/sys/pci/if_dc.c#10 (text+ko) ====
@@ -3767,7 +3767,7 @@
dc_suspend(device_t dev)
{
struct dc_softc *sc;
- int i, s;
+ int s;
s = splimp();
@@ -3791,7 +3791,7 @@
{
struct dc_softc *sc;
struct ifnet *ifp;
- int i, s;
+ int s;
s = splimp();
More information about the p4-projects
mailing list