Home | History | Annotate | only in /src/usr.sbin/pcictl
History log of /src/usr.sbin/pcictl
RevisionDateAuthorComments
 1.1 13-Sep-2001  thorpej pcictl(8) -- a program for frobbing the PCI bus, and also an example
of how to use libpci.

Currently has "list" (list devices within a PCI domain) and "dump" (dump
PCI configuration header for a device) sub-commands.
 1.20 30-Nov-2019  riastradh Use .Sy, not .Em, for bold-faced WARNING of impending doom.

Underline and, worse, italic aren't as good at catching the eye.
 1.19 27-Sep-2016  mrg branches: 1.19.14;
apply the previous typo in another place as well.
 1.18 27-Sep-2016  wiz Sort sections. Formatting nitpicks. Fix typo.
 1.17 25-Sep-2016  mrg add some examples: "pcictl pci0 list" and "pcictl pci0 list -N".
inspired by PR 51243.
 1.16 10-Sep-2014  wiz branches: 1.16.2;
Fix pasto.
 1.15 10-Sep-2014  riastradh Sternly advise against `pcictl read/write'. Use .Cm, not .Nm, while here.
 1.14 01-Sep-2014  manu read and write commands for pcictl, from riastradh@ and wiz@
http://mail-index.netbsd.org/tech-kern/2014/08/26/msg017572.html
 1.13 31-Aug-2014  wiz Sort options.
 1.12 31-Aug-2014  mrg add -N option to print the driver name as returned by pci_drvname(3).
 1.11 26-Aug-2014  wiz Use more appropriate macro for command line command argument.
 1.10 25-Feb-2011  jmcneill branches: 1.10.22;
make pcictl pci0 list dump all busses by default, unless a bus number is
specified with -b
 1.9 25-Feb-2011  wiz Add quoting for minus, for PostScript output.
 1.8 25-Feb-2011  jmcneill Today I learned that 'pcictl pci0 list -b -1' lists devices on all busses.
 1.7 09-Mar-2009  joerg branches: 1.7.2;
Fix preamble to match order set out by mdoc(7). Discussed with wiz.
 1.6 29-Jan-2007  hubertf branches: 1.6.20;
Xref drvctl(8), bump date
 1.5 03-Oct-2006  wiz branches: 1.5.2;
New sentence, new line.
 1.4 01-Oct-2006  hubertf Add "list -n" to print ID and class numerical, instead of resolving to strings:

miyu% pcictl /dev/pci1 list
001:00:0: ATI Technologies Rage Fury MAXX AGP 4x (TMDS) (VGA display)
miyu% pcictl /dev/pci1 list -n
001:00:0: 0x50461002 (0x3000000)

OK'd by thorpej@
 1.3 18-Aug-2003  yyamano fix typo.
 1.2 15-Sep-2001  thorpej By poppular demand, don't wildcard "bus" on the "list" command
by default.
 1.1 13-Sep-2001  thorpej pcictl(8) -- a program for frobbing the PCI bus, and also an example
of how to use libpci.

Currently has "list" (list devices within a PCI domain) and "dump" (dump
PCI configuration header for a device) sub-commands.
 1.5.2.1 19-Feb-2007  riz Pull up following revision(s) (requested by hubertf in ticket #435):
usr.sbin/pcictl/pcictl.8: revision 1.6
Xref drvctl(8), bump date
 1.6.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.7.2.1 05-Mar-2011  bouyer Sync with HEAD
 1.10.22.2 21-Sep-2014  snj Pull up following revision(s) (requested by riastradh in ticket #105):
usr.sbin/pcictl/pcictl.8: revisions 1.15-1.16
Sternly advise against `pcictl read/write'. Use .Cm, not .Nm, while here.
Fix pasto.
 1.10.22.1 10-Sep-2014  martin Pull up following revision(s) (requested by manu in ticket #77):
usr.sbin/pcictl/pcictl.c: revision 1.21
usr.sbin/pcictl/pcictl.8: revision 1.14
Read and write commands for pcictl, from riastradh@ and wiz@,
as discussed on tech-kern.
 1.16.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.19.14.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.22 24-Sep-2016  mrg introduce a better pci_drvname() and PCI_IOC_DRVNAME as pciio_drvnameonbus()
and PCI_IOC_DRVNAMEONBUS. the new ones also take a (autoconf) PCI bus
number, which allows lookups for any device on any pci bus node. use this
in pcictl which current reports the wrong values sometimes.

up next: use these in libpciaccess.
 1.21 01-Sep-2014  manu branches: 1.21.2;
read and write commands for pcictl, from riastradh@ and wiz@
http://mail-index.netbsd.org/tech-kern/2014/08/26/msg017572.html
 1.20 31-Aug-2014  wiz Sort options.
 1.19 31-Aug-2014  mrg add -N option to print the driver name as returned by pci_drvname(3).
 1.18 30-Aug-2011  joerg branches: 1.18.20;
static + __dead
 1.17 25-Feb-2011  jmcneill make pcictl pci0 list dump all busses by default, unless a bus number is
specified with -b
 1.16 04-Jul-2009  cegger branches: 1.16.2;
make functions static
 1.15 04-Jul-2009  cegger remove unused global variable.
 1.14 04-Jul-2009  cegger use EXIT_FAILURE in places I missed in previous.
 1.13 04-Jul-2009  cegger - use EXIT_FAILURE, EXIT_SUCCESS
- main() needs no prototype
- ansify usage()
No functional changes.
 1.12 18-Apr-2009  lukem Fix WARNS=4 issues (-Wsign-compare -Wextra)
 1.11 08-Feb-2007  hubertf branches: 1.11.20;
Make the output of 'list -n' aligned by always printing 8 hex digits.
Suggested by Nicolas Joly <njoly@pasteur.fr> in private mail.
 1.10 01-Oct-2006  hubertf branches: 1.10.2;
Add "list -n" to print ID and class numerical, instead of resolving to strings:

miyu% pcictl /dev/pci1 list
001:00:0: ATI Technologies Rage Fury MAXX AGP 4x (TMDS) (VGA display)
miyu% pcictl /dev/pci1 list -n
001:00:0: 0x50461002 (0x3000000)

OK'd by thorpej@
 1.9 24-Aug-2006  bsh avoid very long loop when you run pcictl on a PCI bus which has no devices on it.
 1.8 24-Apr-2004  kleink Update for new pci_devinfo(3) signature.
 1.7 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.6 20-Jul-2002  grant sweep of errx/warnx, remove unnecessary trailing \n
 1.5 08-Nov-2001  tron Don't abuse opendisk(3) to open PCI bus devices which are no disks. This
fixes PR bin/14468 by Valeriy E. Ushakov.
 1.4 17-Sep-2001  joda use strtol instead of atoi to catch non numeric values
 1.3 15-Sep-2001  thorpej By poppular demand, don't wildcard "bus" on the "list" command
by default.
 1.2 14-Sep-2001  thorpej Fix missing : in a getopt() string.
 1.1 13-Sep-2001  thorpej pcictl(8) -- a program for frobbing the PCI bus, and also an example
of how to use libpci.

Currently has "list" (list devices within a PCI domain) and "dump" (dump
PCI configuration header for a device) sub-commands.
 1.10.2.1 19-Feb-2007  riz Pull up following revision(s) (requested by hubertf in ticket #436):
usr.sbin/pcictl/pcictl.c: revision 1.11
Make the output of 'list -n' aligned by always printing 8 hex digits.
Suggested by Nicolas Joly <njoly@pasteur.fr> in private mail.
 1.11.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.16.2.1 05-Mar-2011  bouyer Sync with HEAD
 1.18.20.1 10-Sep-2014  martin Pull up following revision(s) (requested by manu in ticket #77):
usr.sbin/pcictl/pcictl.c: revision 1.21
usr.sbin/pcictl/pcictl.8: revision 1.14
Read and write commands for pcictl, from riastradh@ and wiz@,
as discussed on tech-kern.
 1.21.2.1 04-Nov-2016  pgoyette Sync with HEAD

RSS XML Feed