|
|
121cca |
From 62d96b016b04219e76e2de2f5dd585c7bbdae9c1 Mon Sep 17 00:00:00 2001
|
|
|
121cca |
From: Lyonel Vincent <lyonel@ezix.org>
|
|
|
121cca |
Date: Tue, 12 Oct 2021 23:35:54 +0200
|
|
|
121cca |
Subject: [PATCH 58/65] cosmetic fixes
|
|
|
121cca |
|
|
|
121cca |
Github PR#71
|
|
|
121cca |
---
|
|
|
121cca |
README.md | 4 ++--
|
|
|
121cca |
docs/Changelog | 12 ++++++------
|
|
|
121cca |
docs/TODO | 2 +-
|
|
|
121cca |
lshw.spec.in | 2 +-
|
|
|
121cca |
src/Makefile | 2 +-
|
|
|
121cca |
src/core/Makefile | 2 +-
|
|
|
121cca |
src/core/dmi.cc | 6 +++---
|
|
|
121cca |
src/gui/Makefile | 2 +-
|
|
|
121cca |
src/po/Makefile | 2 +-
|
|
|
121cca |
9 files changed, 17 insertions(+), 17 deletions(-)
|
|
|
121cca |
|
|
|
121cca |
diff --git a/README.md b/README.md
|
|
|
121cca |
index 6659f9c..0c610f5 100644
|
|
|
121cca |
--- a/README.md
|
|
|
121cca |
+++ b/README.md
|
|
|
121cca |
@@ -42,7 +42,7 @@ Getting help
|
|
|
121cca |
|
|
|
121cca |
1. the lshw home page is http://lshw.ezix.org/
|
|
|
121cca |
2. bug reports and feature requests: http://ezix.org/project/newticket?component=lshw
|
|
|
121cca |
-
|
|
|
121cca |
+
|
|
|
121cca |
Please make sure you include enough information in your bug report: XML output from lshw is preferred over text or HTML, indicate the affected version of lshw, your platform (i386, x86-64, PA-RISC, PowerPC, etc.) and your distribution.
|
|
|
121cca |
|
|
|
121cca |
NOTE TO DISTRIBUTIONS
|
|
|
121cca |
diff --git a/docs/Changelog b/docs/Changelog
|
|
|
121cca |
index 6ea288c..0f648f5 100644
|
|
|
121cca |
--- a/docs/Changelog
|
|
|
121cca |
+++ b/docs/Changelog
|
|
|
121cca |
@@ -3,17 +3,17 @@
|
|
|
121cca |
detection of SD/MMC and SDIO devices
|
|
|
121cca |
bug fixes
|
|
|
121cca |
code cleanup
|
|
|
121cca |
- updated data files
|
|
|
121cca |
+ updated data files
|
|
|
121cca |
* lshw B.02.18
|
|
|
121cca |
migrated to git
|
|
|
121cca |
bug fixes
|
|
|
121cca |
code cleanup
|
|
|
121cca |
- updated data files
|
|
|
121cca |
+ updated data files
|
|
|
121cca |
* lshw B.02.17
|
|
|
121cca |
bug fixes
|
|
|
121cca |
code cleanup
|
|
|
121cca |
improved support for FAT-formatted disks
|
|
|
121cca |
- updated data files
|
|
|
121cca |
+ updated data files
|
|
|
121cca |
* lshw B.02.16
|
|
|
121cca |
bug fixes
|
|
|
121cca |
code cleanup
|
|
|
121cca |
@@ -27,7 +27,7 @@
|
|
|
121cca |
updated data files
|
|
|
121cca |
* lshw B.02.14
|
|
|
121cca |
bug fixes
|
|
|
121cca |
- support for EXT4 partitions
|
|
|
121cca |
+ support for EXT4 partitions
|
|
|
121cca |
* lshw B.02.13
|
|
|
121cca |
fix bug #402: properly detect 64 bit systems (even when compiled for i386)
|
|
|
121cca |
fix bug #401: SMP-related crash on IA-64
|
|
|
121cca |
@@ -70,7 +70,7 @@
|
|
|
121cca |
* lshw B.02.09
|
|
|
121cca |
minor bugfixes (#26, #27)
|
|
|
121cca |
added support for PCI domains (#28)
|
|
|
121cca |
- use of /sys (sysfs) when possible for PCI devices
|
|
|
121cca |
+ use of /sys (sysfs) when possible for PCI devices
|
|
|
121cca |
* B.02.08.01
|
|
|
121cca |
bugfix release for non-x86 platforms (#24)
|
|
|
121cca |
* B.02.08
|
|
|
121cca |
@@ -99,7 +99,7 @@
|
|
|
121cca |
the GUI now uses a GtkTextView instead of a GtkLabel
|
|
|
121cca |
SVG icons are now displayed for USB, Firewire, SCSI, etc.
|
|
|
121cca |
added support for reporting VMX (Vanderpool) capabilities (untested)
|
|
|
121cca |
- fixed a compilation problem with GCC 4
|
|
|
121cca |
+ fixed a compilation problem with GCC 4
|
|
|
121cca |
* B.02.03
|
|
|
121cca |
added support for PA-RISC devices (IODC-controlled) on 2.6 kernels
|
|
|
121cca |
the GUI can now be launched by invoking lshw with the '-X' option
|
|
|
121cca |
diff --git a/docs/TODO b/docs/TODO
|
|
|
121cca |
index 0b33782..2d4d3af 100644
|
|
|
121cca |
--- a/docs/TODO
|
|
|
121cca |
+++ b/docs/TODO
|
|
|
121cca |
@@ -9,4 +9,4 @@
|
|
|
121cca |
* use MPTABLE for reporting of CPUs
|
|
|
121cca |
|
|
|
121cca |
report SSD/rotational devices: /sys/block/DEV/queue/rotational
|
|
|
121cca |
-better handle containers
|
|
|
121cca |
\ No newline at end of file
|
|
|
121cca |
+better handle containers
|
|
|
121cca |
diff --git a/lshw.spec.in b/lshw.spec.in
|
|
|
121cca |
index f6884ab..b3b636f 100644
|
|
|
121cca |
--- a/lshw.spec.in
|
|
|
121cca |
+++ b/lshw.spec.in
|
|
|
121cca |
@@ -35,7 +35,7 @@ Requires: gtk3 >= 3.24
|
|
|
121cca |
BuildRequires: gtk3-devel >= 3.24
|
|
|
121cca |
|
|
|
121cca |
%description gui
|
|
|
121cca |
-lshw (Hardware Lister) is a small tool to provide detailed informaton on
|
|
|
121cca |
+lshw (Hardware Lister) is a small tool to provide detailed information on
|
|
|
121cca |
the hardware configuration of the machine. It can report exact memory
|
|
|
121cca |
configuration, firmware version, mainboard configuration, CPU version
|
|
|
121cca |
and speed, cache configuration, bus speed, etc. on DMI-capable x86s
|
|
|
121cca |
diff --git a/src/core/dmi.cc b/src/core/dmi.cc
|
|
|
121cca |
index df5db6b..6d76c53 100644
|
|
|
121cca |
--- a/src/core/dmi.cc
|
|
|
121cca |
+++ b/src/core/dmi.cc
|
|
|
121cca |
@@ -1648,9 +1648,9 @@ int dmiversionrev)
|
|
|
121cca |
uint64_t(data[0x1C]) << 40 | uint64_t(data[0x1B]) << 32 |
|
|
|
121cca |
uint64_t(data[0x1A]) << 24 | uint64_t(data[0x19]) << 16 |
|
|
|
121cca |
uint64_t(data[0x18]) << 8 | uint64_t(data[0x17]);
|
|
|
121cca |
- if (end - start < 512) // memory range is smaller thant 512KB
|
|
|
121cca |
+ if (end - start < 512) // memory range is smaller than 512KB
|
|
|
121cca |
{
|
|
|
121cca |
-// consider that values were expressed in megagytes
|
|
|
121cca |
+// consider that values were expressed in megabytes
|
|
|
121cca |
start *= 1024;
|
|
|
121cca |
end *= 1024;
|
|
|
121cca |
}
|
|
|
121cca |
@@ -1688,7 +1688,7 @@ int dmiversionrev)
|
|
|
121cca |
uint64_t(data[0x18]) << 8 | uint64_t(data[0x17]);
|
|
|
121cca |
if (end - start < 512) // memory range is smaller than 512KB
|
|
|
121cca |
{
|
|
|
121cca |
-// consider that values were expressed in megagytes
|
|
|
121cca |
+// consider that values were expressed in megabytes
|
|
|
121cca |
start *= 1024;
|
|
|
121cca |
end *= 1024;
|
|
|
121cca |
}
|
|
|
121cca |
--
|
|
|
121cca |
2.33.1
|
|
|
121cca |
|