]> mj.ucw.cz Git - pciutils.git/commitdiff
Report cache line size in bytes.
authorMartin Mares <mj@ucw.cz>
Mon, 13 Mar 2006 19:14:03 +0000 (19:14 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:18:35 +0000 (14:18 +0200)
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-93

ChangeLog
lspci.c

index 51fc299cc616e5cc89fc39be0cc0788299dfd91d..6b1c4b827e977908e59f93b39a236cd39c6d7e22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-03-13  Martin Mares  <mj@ucw.cz>
 
+       * lspci.c (show_verbose): Report cache line size in bytes.
+
        * update-pciids.sh: Use curl if available. Patch by Matthew Wilcox.
 
 2006-01-04  Martin Mares  <mj@ucw.cz>
diff --git a/lspci.c b/lspci.c
index b4ba1357ec3a876c74c4aedc0b99f8411257abde..56ec99a14d5faead476d24eae7a8fe987bb2ba59 100644 (file)
--- a/lspci.c
+++ b/lspci.c
@@ -1,7 +1,7 @@
 /*
  *     The PCI Utilities -- List All PCI Devices
  *
- *     Copyright (c) 1997--2005 Martin Mares <mj@ucw.cz>
+ *     Copyright (c) 1997--2006 Martin Mares <mj@ucw.cz>
  *
  *     Can be freely distributed and used under the terms of the GNU GPL.
  */
@@ -1676,7 +1676,7 @@ show_verbose(struct device *d)
              putchar(')');
            }
          if (cache_line)
-           printf(", Cache Line Size %02x", cache_line);
+           printf(", Cache Line Size: %d bytes", cache_line * 4);
          putchar('\n');
        }
       if (int_pin || irq)