PERFORCE change 40855 for review

John Baldwin jhb at FreeBSD.org
Thu Oct 30 11:13:02 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=40855

Change 40855 by jhb at jhb_laptop on 2003/10/30 11:12:34

	Fix ACPI and sparc64 OFW PCI bus drivers to use PCI
	       suspend/resume functions.

Affected files ...

.. //depot/projects/power/sys/dev/acpica/acpi_pci.c#4 edit
.. //depot/projects/power/sys/sparc64/pci/ofw_pcibus.c#2 edit

Differences ...

==== //depot/projects/power/sys/dev/acpica/acpi_pci.c#4 (text+ko) ====

@@ -75,7 +75,7 @@
 	DEVMETHOD(device_probe,		acpi_pci_probe),
 	DEVMETHOD(device_attach,	acpi_pci_attach),
 	DEVMETHOD(device_shutdown,	bus_generic_shutdown),
-	DEVMETHOD(device_suspend,	bus_generic_suspend),
+	DEVMETHOD(device_suspend,	pci_suspend),
 	DEVMETHOD(device_resume,	pci_resume),
 
 	/* Bus interface */

==== //depot/projects/power/sys/sparc64/pci/ofw_pcibus.c#2 (text+ko) ====

@@ -69,8 +69,8 @@
 	DEVMETHOD(device_probe,		ofw_pcibus_probe),
 	DEVMETHOD(device_attach,	ofw_pcibus_attach),
 	DEVMETHOD(device_shutdown,	bus_generic_shutdown),
-	DEVMETHOD(device_suspend,	bus_generic_suspend),
-	DEVMETHOD(device_resume,	bus_generic_resume),
+	DEVMETHOD(device_suspend,	pci_suspend),
+	DEVMETHOD(device_resume,	pci_resume),
 
 	/* Bus interface */
 	DEVMETHOD(bus_print_child,	pci_print_child),


More information about the p4-projects mailing list