diff options
author | Martin Mares <mj@ucw.cz> | 2009-07-04 16:05:56 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2009-07-04 16:05:56 +0200 |
commit | 864efa8c4ea34815e18c020adf7aeb91a3ae8b31 (patch) | |
tree | cb3ad489367db29b52ec6dd57286f4def45b2b00 | |
parent | d00975720cdb4837623c065cb1781f61740a975c (diff) | |
download | pciutils-864efa8c4ea34815e18c020adf7aeb91a3ae8b31.tar.gz |
lspci: Warn against using -M with the sysfs back-end
-rw-r--r-- | ls-map.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -164,6 +164,7 @@ void map_the_bus(void) { if (pacc->method == PCI_ACCESS_PROC_BUS_PCI || + pacc->method == PCI_ACCESS_SYS_BUS_PCI || pacc->method == PCI_ACCESS_DUMP) printf("WARNING: Bus mapping can be reliable only with direct hardware access enabled.\n\n"); bus_info = xmalloc(sizeof(struct bus_info) * 256); |