[LinuxBIOS] [PATCH] superiotool: Always print the version number

Stefan Reinauer stepan at coresystems.de
Wed Oct 17 23:41:23 CEST 2007


* Uwe Hermann <uwe at hermann-uwe.de> [071017 23:20]:
> See patch.
> 
> 
> Uwe.
> -- 
> http://www.hermann-uwe.de  | http://www.holsham-traders.de
> http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

> Print the version number always, not only in verbose mode.
> 
> We often want to know the exact version number of superiotool which
> was used to gather a certain output/dump.
> 
> Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>

Acked-by: Stefan Reinauer <stepan at coresystems.de>


> Index: superiotool.c
> ===================================================================
> --- superiotool.c	(Revision 2854)
> +++ superiotool.c	(Arbeitskopie)
> @@ -196,8 +196,6 @@
>  			dump_readable = 1;
>  			break;
>  		case 'V':
> -			/* Print version in --verbose mode. */
> -			print_version();
>  			verbose = 1;
>  			break;
>  		case 'v':
> @@ -221,6 +219,8 @@
>  		exit(1);
>  	}
>  
> +	print_version();
> +
>  	for (i = 0; i < ARRAY_SIZE(superio_ports_table); i++) {
>  		for (j = 0; superio_ports_table[i].ports[j] != EOT; j++)
>  			superio_ports_table[i].probe_idregs(




> -- 
> linuxbios mailing list
> linuxbios at linuxbios.org
> http://www.linuxbios.org/mailman/listinfo/linuxbios

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866




More information about the coreboot mailing list