Subject: CVS commit: syssrc/sys/dev/pci
To: None <source-changes@netbsd.org>
From: Takuya SHIOZAKI <tshiozak@netbsd.org>
List: source-changes
Date: 06/18/2002 16:18:39
Module Name:	syssrc
Committed By:	tshiozak
Date:		Tue Jun 18 13:18:38 UTC 2002

Modified Files:
	syssrc/sys/dev/pci: pci.c pcireg.h pcivar.h

Log Message:
add support for the per-device power management capability.

int pci_set_powerstate(pci_chipset_tag_t pc, pcitag_t tag, int newstate)
	set power state of the device to newstate.
int pci_get_powerstate(pci_chipset_tag_t pc, pcitag_t tag)
	get current power state of the device.

In the future, these functions will be used for ACPI support.


To generate a diff of this commit:
cvs rdiff -r1.65 -r1.66 syssrc/sys/dev/pci/pci.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/dev/pci/pcireg.h
cvs rdiff -r1.52 -r1.53 syssrc/sys/dev/pci/pcivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.