svn commit: r219420 - in head/tools/tools/ath: ath_ee_v14_print ath_ee_v4k_print

Adrian Chadd adrian at FreeBSD.org
Wed Mar 9 04:48:06 UTC 2011


Author: adrian
Date: Wed Mar  9 04:48:06 2011
New Revision: 219420
URL: http://svn.freebsd.org/changeset/base/219420

Log:
  The regdomain entries are 16 bits, not 8. Print out all 16 bits.

Modified:
  head/tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
  head/tools/tools/ath/ath_ee_v4k_print/v4k.c

Modified: head/tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
==============================================================================
--- head/tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c	Wed Mar  9 04:39:35 2011	(r219419)
+++ head/tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c	Wed Mar  9 04:48:06 2011	(r219420)
@@ -91,7 +91,7 @@ eeprom_v14_base_print(uint16_t *buf)
 
 	printf("| Version: 0x%.4x   | Length: 0x%.4x | Checksum: 0x%.4x ",
 	    eh->version, eh->length, eh->checksum);
-	printf("| CapFlags: 0x%.2x  | eepMisc: 0x%.2x | RegDomain: 0x%.2x 0x%.2x | \n",
+	printf("| CapFlags: 0x%.2x  | eepMisc: 0x%.2x | RegDomain: 0x%.4x 0x%.4x | \n",
 	    eh->opCapFlags, eh->eepMisc, eh->regDmn[0], eh->regDmn[1]);
 	printf("| MAC: %.2x:%.2x:%.2x:%.2x:%.2x:%.2x ",
 	    eh->macAddr[0], eh->macAddr[1], eh->macAddr[2],

Modified: head/tools/tools/ath/ath_ee_v4k_print/v4k.c
==============================================================================
--- head/tools/tools/ath/ath_ee_v4k_print/v4k.c	Wed Mar  9 04:39:35 2011	(r219419)
+++ head/tools/tools/ath/ath_ee_v4k_print/v4k.c	Wed Mar  9 04:48:06 2011	(r219420)
@@ -54,7 +54,7 @@ eeprom_v4k_base_print(uint16_t *buf)
 
 	printf("| Version: 0x%.4x   | Length: 0x%.4x | Checksum: 0x%.4x ",
 	    eh->version, eh->length, eh->checksum);
-	printf("| CapFlags: 0x%.2x  | eepMisc: 0x%.2x | RegDomain: 0x%.2x 0x%.2x | \n",
+	printf("| CapFlags: 0x%.2x  | eepMisc: 0x%.2x | RegDomain: 0x%.4x 0x%.4x | \n",
 	    eh->opCapFlags, eh->eepMisc, eh->regDmn[0], eh->regDmn[1]);
 	printf("| MAC: %.2x:%.2x:%.2x:%.2x:%.2x:%.2x ",
 	    eh->macAddr[0], eh->macAddr[1], eh->macAddr[2],


More information about the svn-src-head mailing list