History log of /src/usr.sbin/pcictl/pcictl.c |
Revision | | Date | Author | Comments |
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
|