From owner-svn-src-head@freebsd.org Mon Jun 17 08:50:15 2019 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02DF815B1B39; Mon, 17 Jun 2019 08:50:15 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 88FFF85D6F; Mon, 17 Jun 2019 08:50:14 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 45S4fR30ffz3kkc; Mon, 17 Jun 2019 08:50:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id EIVtdQ-gST_B; Mon, 17 Jun 2019 08:50:06 +0000 (UTC) Received: from garnet.daemonic.se (host-90-236-237-150.mobileonline.telia.com [90.236.237.150]) by mail.daemonic.se (Postfix) with ESMTPSA id 45S4fQ3FFxz3c7W; Mon, 17 Jun 2019 08:50:06 +0000 (UTC) Subject: Re: svn commit: r349133 - head/share/man/man4 To: Benjamin Kaduk Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201906170541.x5H5flRE089727@repo.freebsd.org> From: Niclas Zeising Message-ID: <52998167-2193-20da-2b54-29d0862a036d@freebsd.org> Date: Mon, 17 Jun 2019 10:50:05 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 88FFF85D6F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.985,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2019 08:50:15 -0000 On 2019-06-17 09:56, Benjamin Kaduk wrote: > On Sun, Jun 16, 2019 at 10:42 PM Niclas Zeising > wrote: >=20 > Author: zeising (doc,ports committer) > Date: Mon Jun 17 05:41:47 2019 > New Revision: 349133 > URL: https://svnweb.freebsd.org/changeset/base/349133 >=20 > Log: > =C2=A0 pci(4): Document PCIOCATTACHED >=20 > =C2=A0 Document the PCIOCATTACHED ioctl(2) in the pci(4) manual. > =C2=A0 PCIOCATTACHED is used to query if a driver has attached to = a PCI. >=20 > =C2=A0 Reviewed by:=C2=A0 bcr, imp > =C2=A0 MFC after:=C2=A0 =C2=A0 2 weeks > =C2=A0 Differential Revision: https://reviews.freebsd.org/D20652 >=20 > Modified: > =C2=A0 head/share/man/man4/pci.4 >=20 > Modified: head/share/man/man4/pci.4 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > --- head/share/man/man4/pci.4=C2=A0 =C2=A0Mon Jun 17 03:48:44 2019 = =20 > (r349132) > +++ head/share/man/man4/pci.4=C2=A0 =C2=A0Mon Jun 17 05:41:47 2019 = =20 > (r349133) > @@ -24,7 +24,7 @@ > =C2=A0.\" > =C2=A0.\" $FreeBSD$ > =C2=A0.\" > -.Dd June 14, 2018 > +.Dd June 17, 2019 > =C2=A0.Dt PCI 4 > =C2=A0.Os > =C2=A0.Sh NAME > @@ -333,6 +333,26 @@ The limitations on data width described for > =C2=A0reading registers, above, also apply to writing > =C2=A0.Tn PCI > =C2=A0configuration registers. > +.It PCIOCATTACHED > +This > +.Xr ioctl 2 > +allows users to query if a driver is attached to the > +.Tn PCI > +specified in the passed-in >=20 >=20 > Is there a missing word like "device" here? I just followed the same syntax as for the PCIOCWRITE ioctl in the=20 paragraph before. I found it a little strange when I read it, but I=20 kind of assumed there was a reason it said PCI and not PCI device,=20 perhaps similar to using RAM instead of RAM memory, if you understand=20 what I mean. Regards Niclas >=20 > +.Va pci_io > +structure. > +The > +.Va pci_io > +structure is described above, however, the > +.Va pi_reg > +and > +.Va pi_width > +fields are not used. > +The status of the device is stored in the > +.Va pi_data > +field. > +A value of 0 indicates no driver is attached, while a value larger > than 0 > +indicates that a driver is attached. > =C2=A0.It PCIOCBARMMAP > =C2=A0This > =C2=A0.Xr ioctl 2 --=20 Niclas Zeising