Date: Mon, 11 Dec 2000 18:18:42 +0100 From: Mark Huizer <freebsd@dohd.org> To: freebsd-current@freebsd.org Subject: Re: PCI power states (was Re: fxp driver not reset after Windows reboot? ) Message-ID: <20001211181842.A20131@eeyore.local.dohd.org> In-Reply-To: <200012110904.eBB94Ox03098@mass.osd.bsdi.com>; from msmith@freebsd.org on Mon, Dec 11, 2000 at 01:04:23AM -0800 References: <200012102045.MAA12646@implode.root.com> <200012110904.eBB94Ox03098@mass.osd.bsdi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> All of these can be abstracted as PCI methods, so they won't require lots > of cut-n-paste in each driver: > > pci_enable_busmaster(dev); > pci_enable_io(dev, SYS_RES_IOPORT | SYS_RES_MEMORY); > pci_set_powerstate(dev, PCI_POWERSTATE_D0); > > Consider the above a request for review on the matter. > My PCI knowledge is somewhere in between my knowledge of Cobol and ACPI :-) Which is neglectable enough. But if you have something for testing, I can do it. Mark -- Nice testing in little China... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001211181842.A20131>