From 7a61b93c3b4a2abb1c1237c5ef88251cef8e0efa Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 13 Mar 2006 19:14:03 +0000 Subject: [PATCH] Report cache line size in bytes. git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-93 --- ChangeLog | 2 ++ lspci.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 51fc299..6b1c4b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-03-13 Martin Mares + * 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 diff --git a/lspci.c b/lspci.c index b4ba135..56ec99a 100644 --- a/lspci.c +++ b/lspci.c @@ -1,7 +1,7 @@ /* * The PCI Utilities -- List All PCI Devices * - * Copyright (c) 1997--2005 Martin Mares + * Copyright (c) 1997--2006 Martin Mares * * 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) -- 2.39.2