From owner-cvs-all Mon Dec 18 13:53: 8 2000 From owner-cvs-all@FreeBSD.ORG Mon Dec 18 13:53:06 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2A03D37B400; Mon, 18 Dec 2000 13:53:06 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBILr6R47622; Mon, 18 Dec 2000 13:53:06 -0800 (PST) (envelope-from wpaul) Message-Id: <200012182153.eBILr6R47622@freefall.freebsd.org> From: Bill Paul Date: Mon, 18 Dec 2000 13:53:05 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c if_rl.c if_xl.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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