Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 11:13:00 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 40855 for review
Message-ID:  <200310301913.h9UJD0JL059335@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=40855

Change 40855 by jhb@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),



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