]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use pci_get_powerstate()/pci_set_powerstate() which now exists in the
authorwpaul <wpaul@FreeBSD.org>
Mon, 18 Dec 2000 21:53:05 +0000 (21:53 +0000)
committerwpaul <wpaul@FreeBSD.org>
Mon, 18 Dec 2000 21:53:05 +0000 (21:53 +0000)
commit29d9ced63d2cf6eded71df28817fa9e8ae59ee1b
treee3519b2ccedc704ee1a4d7f8328fa5073f68dd5d
parentc5b98ef61d504239bd2e1470af7539364f3e0e53
Use pci_get_powerstate()/pci_set_powerstate() which now exists in the
PCI code. This saves each driver from having to grovel around looking
for the right registers to twiddle.

I should eventually convert the other PCI drivers to do this; for now,
these three are ones which I know need power state handling.
sys/dev/dc/if_dc.c
sys/pci/if_dc.c
sys/pci/if_rl.c
sys/pci/if_xl.c