]> git.ipfire.org Git - thirdparty/pciutils.git/commit
Enable setpci to target n-th capability of id
authorDaniel Schaefer <git@danielschaefer.me>
Sun, 14 Oct 2018 20:48:57 +0000 (22:48 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 14 Oct 2018 20:48:57 +0000 (22:48 +0200)
commit6639fd175ae561240639c2c54da409bbc0f94835
tree54da020c6bb4768e8ccceab4cb8e8726109841b8
parentc22c314a322e2243983d2f356a5f0532b2d846a5
Enable setpci to target n-th capability of id

Because a capability can exist multiple times with the same id,
there needs to be a way to target a specific one. Instead of
the current behaviour which always targets the first one.
Now you can optionally add `@number` (e.g `@1`) after the width to
choose which one to target.
setpci.c
setpci.man