Date: Mon, 18 Dec 2000 13:53:05 -0800 (PST) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c if_rl.c if_xl.c Message-ID: <200012182153.eBILr6R47622@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2000/12/18 13:53:05 PST
Modified files:
sys/pci if_dc.c if_rl.c if_xl.c
Log:
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.
Revision Changes Path
1.41 +20 -28 src/sys/pci/if_dc.c
1.53 +20 -24 src/sys/pci/if_rl.c
1.88 +20 -24 src/sys/pci/if_xl.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012182153.eBILr6R47622>
