summaryrefslogtreecommitdiff
path: root/pciutils.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2008-02-12 10:19:38 +0100
committerMartin Mares <mj@ucw.cz>2008-02-12 10:19:38 +0100
commita0407443c25b4a1fcb3a37261a56ae48d65f447e (patch)
tree42a41628ab9ddb7394de328af85fbef1884c2641 /pciutils.h
parent9ff67879d0d4f2421c376825bf0aa3d7ff924e78 (diff)
downloadpciutils-a0407443c25b4a1fcb3a37261a56ae48d65f447e.tar.gz
Added an option for selection of access methods.
Diffstat (limited to 'pciutils.h')
-rw-r--r--pciutils.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/pciutils.h b/pciutils.h
index 02071ac..9408102 100644
--- a/pciutils.h
+++ b/pciutils.h
@@ -1,7 +1,7 @@
/*
* The PCI Utilities -- Declarations
*
- * Copyright (c) 1997--2004 Martin Mares <mj@ucw.cz>
+ * Copyright (c) 1997--2008 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
@@ -44,7 +44,8 @@ int parse_generic_option(int i, struct pci_access *pacc, char *optarg);
#define GENHELP_DUMP
#endif
-#define GENERIC_OPTIONS "GO:" GENOPT_PROC GENOPT_INTEL GENOPT_DUMP
+#define GENERIC_OPTIONS "A:GO:" GENOPT_PROC GENOPT_INTEL GENOPT_DUMP
#define GENERIC_HELP GENHELP_PROC GENHELP_INTEL GENHELP_DUMP \
+ "-A <method>\tUse the specified PCI access method (see `-A help' for a list)\n" \
"-G\t\tEnable PCI access debugging\n" \
- "-O <par>=<val>\tSet PCI access parameter (see `-O help' for the list)\n"
+ "-O <par>=<val>\tSet PCI access parameter (see `-O help' for a list)\n"