Date: Wed, 04 Mar 2009 21:43:49 -0600 From: Robert Noland <rnoland@FreeBSD.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r189367 - head/sys/dev/pci Message-ID: <1236224629.1384.22.camel@widget.2hip.net> In-Reply-To: <20090304.194158.1159134197.imp@bsdimp.com> References: <200903041823.n24INmcc049524@svn.freebsd.org> <20090304.135606.1649768480.imp@bsdimp.com> <1236218572.1384.19.camel@widget.2hip.net> <20090304.194158.1159134197.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-S/RAOrr6zvYInzWMUC7w Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2009-03-04 at 19:41 -0700, M. Warner Losh wrote: > In message: <1236218572.1384.19.camel@widget.2hip.net> > Robert Noland <rnoland@FreeBSD.org> writes: > : On Wed, 2009-03-04 at 13:56 -0700, M. Warner Losh wrote: > : > In message: <200903041823.n24INmcc049524@svn.freebsd.org> > : > Robert Noland <rnoland@freebsd.org> writes: > : > : Author: rnoland > : > : Date: Wed Mar 4 18:23:48 2009 > : > : New Revision: 189367 > : > : URL: http://svn.freebsd.org/changeset/base/189367 > : > :=20 > : > : Log: > : > : Extend the management of PCIM_CMD_INTxDIS. > : > : =20 > : > : We now explicitly enable INTx during bus_setup_intr() if it is ne= eded. > : > : Several of the ata drivers were managing this bit internally. Th= is is > : > : better handled in pci and it should work for all drivers now. > : > : =20 > : > : We also mask INTx during bus_teardown_intr() by setting this bit. > : > : =20 > : > : Reviewed by: jhb > : > : MFC after: 3 days > : >=20 > : > Note: the INTxDIS bit is new in PCI 3.0, and has no effect on earlier > : > devices. This should be highlighted in the comments somewhere... > :=20 > : It is documented in 2.3 as well, I'm not sure about previous versions o= f > : the spec though. >=20 > It isn't in 2.2, and even after 2.3 it is "optional". The bit should be unused if it isn't supported by a given piece of hardware. If it doesn't do anything, we are no worse off than before. I don't think this will cause any harm, only goodness when it is supported. robert. > Warner --=20 Robert Noland <rnoland@FreeBSD.org> FreeBSD --=-S/RAOrr6zvYInzWMUC7w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAkmvSnUACgkQM4TrQ4qfRONodgCfXG9uEeviU8kvytHg8tIQLns3 Nn4AniorNYMTQFFuGeoxK2N4/iGz+pwJ =QsuV -----END PGP SIGNATURE----- --=-S/RAOrr6zvYInzWMUC7w--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1236224629.1384.22.camel>