Date: Tue, 12 Apr 2022 19:15:02 -0600 From: Warner Losh <imp@bsdimp.com> To: Ravi Pokala <rpokala@freebsd.org> Cc: Kyle Evans <kevans@freebsd.org>, src-committers <src-committers@freebsd.org>, "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org Subject: Re: 454630c72556 - main - stand: libefi: swap /Pci() printing around Message-ID: <CANCZdfpZG_hX=HY-N_4nx6AF0mmt2j9sn4cC2fPDGKUVqcwAgQ@mail.gmail.com> In-Reply-To: <12E7AA6A-F14E-4A34-9807-467A5D1CD251@panasas.com> References: <202204130034.23D0YCPN051666@gitrepo.freebsd.org> <0B5546D3-3623-4348-9AAF-A0AC0E3ACBFC@panasas.com> <CACNAnaFM7KW=BTCfr3t9LN9W_O2a9tenCX2_tTxedP-K-vKwwA@mail.gmail.com> <12E7AA6A-F14E-4A34-9807-467A5D1CD251@panasas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000c364fa05dc7ee887 Content-Type: text/plain; charset="UTF-8" On Tue, Apr 12, 2022, 7:07 PM Ravi Pokala <rpokala@freebsd.org> wrote: > -----Original Message----- > From: Kyle Evans <kevans@freebsd.org> > Date: 2022-04-12, Tuesday at 18:04 > To: Ravi Pokala <rpokala@freebsd.org> > Cc: src-committers <src-committers@freebsd.org>, "< > dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, < > dev-commits-src-main@freebsd.org> > Subject: Re: 454630c72556 - main - stand: libefi: swap /Pci() printing > around > > On Tue, Apr 12, 2022 at 7:57 PM Ravi Pokala <rpokala@freebsd.org> > wrote: > > > > -----Original Message----- > > From: <owner-src-committers@freebsd.org> on behalf of Kyle Evans > <kevans@FreeBSD.org> > > Date: 2022-04-12, Tuesday at 17:34 > > To: <src-committers@FreeBSD.org>, <dev-commits-src-all@FreeBSD.org>, > <dev-commits-src-main@FreeBSD.org> > > Subject: git: 454630c72556 - main - stand: libefi: swap /Pci() > printing around > > > > The branch main has been updated by kevans: > > > > URL: > https://cgit.FreeBSD.org/src/commit/?id=454630c72556d45e401f29f56b3317c2fb0499a0 > > > > commit 454630c72556d45e401f29f56b3317c2fb0499a0 > > Author: Kyle Evans <kevans@FreeBSD.org> > > AuthorDate: 2022-04-13 00:29:54 +0000 > > Commit: Kyle Evans <kevans@FreeBSD.org> > > CommitDate: 2022-04-13 00:30:30 +0000 > > > > stand: libefi: swap /Pci() printing around > > > > Printing device followed by interface matches, e.g., edk2. > Note that > > this is only a fallback, many firmware implementations will > provide the > > protocol that we'll use to format device paths. > > > > "(device,function)" makes more sense anyway, since that's the > logical organization (i.e. each unique device may have multiple functions). > > > > What was the rationale for doing "(function,device)" in the first > place? > > > > Based on tsoome's reaction when I pointed it out, the rationale was > "whoops" :-) > > That's a perfectly valid rationale! ;-) > Yea, this is a big table of stuff that's tedious to fill in. Since it isn't usually used, the mistake lay dormant. Woops indeed Warner -Ravi (rpokala@) > > > --000000000000c364fa05dc7ee887 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Tue, Apr 12, 2022, 7:07 PM Ravi Pokala <<a href= =3D"mailto:rpokala@freebsd.org">rpokala@freebsd.org</a>> wrote:<br></div= ><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1= px #ccc solid;padding-left:1ex">-----Original Message-----<br> From: Kyle Evans <<a href=3D"mailto:kevans@freebsd.org" target=3D"_blank= " rel=3D"noreferrer">kevans@freebsd.org</a>><br> Date: 2022-04-12, Tuesday at 18:04<br> To: Ravi Pokala <<a href=3D"mailto:rpokala@freebsd.org" target=3D"_blank= " rel=3D"noreferrer">rpokala@freebsd.org</a>><br> Cc: src-committers <<a href=3D"mailto:src-committers@freebsd.org" target= =3D"_blank" rel=3D"noreferrer">src-committers@freebsd.org</a>>, "&l= t;<a href=3D"mailto:dev-commits-src-all@freebsd.org" target=3D"_blank" rel= =3D"noreferrer">dev-commits-src-all@freebsd.org</a>>" <<a href= =3D"mailto:dev-commits-src-all@freebsd.org" target=3D"_blank" rel=3D"norefe= rrer">dev-commits-src-all@freebsd.org</a>>, <<a href=3D"mailto:dev-co= mmits-src-main@freebsd.org" target=3D"_blank" rel=3D"noreferrer">dev-commit= s-src-main@freebsd.org</a>><br> Subject: Re: 454630c72556 - main - stand: libefi: swap /Pci() printing arou= nd<br> <br> =C2=A0 =C2=A0 On Tue, Apr 12, 2022 at 7:57 PM Ravi Pokala <<a href=3D"ma= ilto:rpokala@freebsd.org" target=3D"_blank" rel=3D"noreferrer">rpokala@free= bsd.org</a>> wrote:<br> =C2=A0 =C2=A0 ><br> =C2=A0 =C2=A0 > -----Original Message-----<br> =C2=A0 =C2=A0 > From: <<a href=3D"mailto:owner-src-committers@freebsd= .org" target=3D"_blank" rel=3D"noreferrer">owner-src-committers@freebsd.org= </a>> on behalf of Kyle Evans <kevans@FreeBSD.org><br> =C2=A0 =C2=A0 > Date: 2022-04-12, Tuesday at 17:34<br> =C2=A0 =C2=A0 > To: <src-committers@FreeBSD.org>, <dev-commits-= src-all@FreeBSD.org>, <dev-commits-src-main@FreeBSD.org><br> =C2=A0 =C2=A0 > Subject: git: 454630c72556 - main - stand: libefi: swap = /Pci() printing around<br> =C2=A0 =C2=A0 ><br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0The branch main has been updated by k= evans:<br> =C2=A0 =C2=A0 ><br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0URL: <a href=3D"https://cgit.FreeBSD.= org/src/commit/?id=3D454630c72556d45e401f29f56b3317c2fb0499a0" rel=3D"noref= errer noreferrer" target=3D"_blank">https://cgit.FreeBSD.org/src/commit/?id= =3D454630c72556d45e401f29f56b3317c2fb0499a0</a><br> =C2=A0 =C2=A0 ><br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0commit 454630c72556d45e401f29f56b3317= c2fb0499a0<br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Author:=C2=A0 =C2=A0 =C2=A0Kyle Evans= <kevans@FreeBSD.org><br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0AuthorDate: 2022-04-13 00:29:54 +0000= <br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Commit:=C2=A0 =C2=A0 =C2=A0Kyle Evans= <kevans@FreeBSD.org><br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0CommitDate: 2022-04-13 00:30:30 +0000= <br> =C2=A0 =C2=A0 ><br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0stand: libefi: swap /Pc= i() printing around<br> =C2=A0 =C2=A0 ><br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Printing device followe= d by interface matches, e.g., edk2.=C2=A0 Note that<br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0this is only a fallback= , many firmware implementations will provide the<br> =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0protocol that we'll= use to format device paths.<br> =C2=A0 =C2=A0 ><br> =C2=A0 =C2=A0 > "(device,function)" makes more sense anyway, s= ince that's the logical organization (i.e. each unique device may have = multiple functions).<br> =C2=A0 =C2=A0 ><br> =C2=A0 =C2=A0 > What was the rationale for doing "(function,device)= " in the first place?<br> =C2=A0 =C2=A0 ><br> <br> =C2=A0 =C2=A0 Based on tsoome's reaction when I pointed it out, the rat= ionale was "whoops" :-)<br> <br> That's a perfectly valid rationale! ;-)<br></blockquote></div></div><di= v dir=3D"auto"><br></div><div dir=3D"auto">Yea, this is a big table of stuf= f that's tedious to fill in. Since it isn't usually used, the mista= ke lay dormant. Woops indeed</div><div dir=3D"auto"><br></div><div dir=3D"a= uto">Warner</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div class= =3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8= ex;border-left:1px #ccc solid;padding-left:1ex"> -Ravi (rpokala@)<br> <br> <br> </blockquote></div></div></div> --000000000000c364fa05dc7ee887--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpZG_hX=HY-N_4nx6AF0mmt2j9sn4cC2fPDGKUVqcwAgQ>