Random minor fixes. Use svn revision as superiotool version number.
Make the -V output more informative.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2814 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/util/superiotool/superiotool.c b/util/superiotool/superiotool.c
index 99d9727..9bde779 100644
--- a/util/superiotool/superiotool.c
+++ b/util/superiotool/superiotool.c
@@ -1,5 +1,5 @@
 /*
- * This file is part of the LinuxBIOS project.
+ * This file is part of the superiotool project.
  *
  * Copyright (C) 2006 Ronald Minnich <rminnich@gmail.com>
  * Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
@@ -155,15 +155,17 @@
 		printf("No human-readable dump available for this Super I/O\n");
 }
 
-void no_superio_found(uint16_t port)
+void no_superio_found(const char *vendor, const char *info, uint16_t port)
 {
 	if (!verbose)
 		return;
 
 	if (inb(port) == 0xff)
-		printf("No Super I/O chip found at 0x%04x\n", port);
+		/* Yes, there's no space between '%s' and 'at'! */
+		printf("Probing for %s Super I/O %sat 0x%x... failed\n",
+		       vendor, info, port);
 	else
-		printf("Probing 0x%04x, failed (0x%02x), data returns 0x%02x\n",
+		printf("Probing 0x%x, failed (0x%02x), data returns 0x%02x\n",
 		       port, inb(port), inb(port + 1));
 }