Date: 18 Feb 2003 17:07:07 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Peter Wemm <peter@wemm.org> Cc: src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include pci_cfgreg.h src/sys/i386/pci pci_bus.c pci_cfgreg.c src/sys/kern subr_witness.c Message-ID: <1045550227.34597.30.camel@chowder.gsoft.com.au> In-Reply-To: <20030218061831.B82A32A89E@canning.wemm.org> References: <20030218061831.B82A32A89E@canning.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2003-02-18 at 16:48, Peter Wemm wrote: > Incidently, did anybody know that it is utterly unsafe to use > pci_read_config() or pci_write_config() in interrupt handlers on RELENG_4? > And yes, lots of drivers do it a lot! :-( Unfortunately most of this stuff seems to be undocumented :( Speaking as someone who has written a driver for 3.x & 4.x it really sucks when your only reference is other drivers, because there are no man pages or web pages that are up to date. Very easy to make these kind of mistakes since you copy from someone else (who copied it from ...) (And no, I don't have any man pages or diffs) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 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?1045550227.34597.30.camel>