Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2008 14:11:48 GMT
From:      "Randall R. Stewart" <rrs@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136237 for review
Message-ID:  <200802261411.m1QEBmRE046112@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=136237

Change 136237 by rrs@rrs-mips2-jnpr on 2008/02/26 14:11:29

	correct typo in led display & s9indent.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips32/octeon32/octeon_machdep.c#18 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips32/octeon32/octeon_machdep.c#18 (text+ko) ====

@@ -316,21 +316,21 @@
 }
 
 static char progress[15][8] = {
-  {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '}, /* 0 */
-  {' ', ' ', ' ', ' ', ' ', ' ', ' ', 'F'}, /* 1 */
-  {' ', ' ', ' ', ' ', ' ', ' ', 'F', 'r'}, /* 2 */
-  {' ', ' ', ' ', ' ', ' ', 'F', 'r', 'e'}, /* 3 */
-  {' ', ' ', ' ', ' ', 'F', 'r', 'e', 'e'}, /* 4 */
-  {' ', ' ', ' ', 'F', 'r', 'e', 'e', 'B'}, /* 5 */
-  {' ', ' ', 'F', 'r', 'e', 'e', 'B', 'S'}, /* 6 */
-  {' ', 'F', 'r', 'e', 'e', 'B', 'S', 'D'}, /* 7 */
-  {'r', 'e', 'e', 'B', 'S', 'D', '!', ' '}, /* 8 */
-  {'e', 'e', 'B', 'S', 'D', '!', ' ', ' '}, /* 9 */
-  {'e', 'B', 'S', 'D', '!', ' ', ' ', ' '}, /* 10 */
-  {'B', 'S', 'D', '!', ' ', ' ', ' ', ' '}, /* 11 */
-  {'S', 'D', '!', ' ', ' ', ' ', ' ', ' '}, /* 12 */
-  {'D', '!', ' ', ' ', ' ', ' ', ' ', ' '}, /* 13 */
-  {'!', '!', ' ', ' ', ' ', ' ', ' ', ' '}  /* 14 */
+	{' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '},	/* 0 */
+	{' ', ' ', ' ', ' ', ' ', ' ', ' ', 'F'},	/* 1 */
+	{' ', ' ', ' ', ' ', ' ', ' ', 'F', 'r'},	/* 2 */
+	{' ', ' ', ' ', ' ', ' ', 'F', 'r', 'e'},	/* 3 */
+	{' ', ' ', ' ', ' ', 'F', 'r', 'e', 'e'},	/* 4 */
+	{' ', ' ', ' ', 'F', 'r', 'e', 'e', 'B'},	/* 5 */
+	{' ', ' ', 'F', 'r', 'e', 'e', 'B', 'S'},	/* 6 */
+	{' ', 'F', 'r', 'e', 'e', 'B', 'S', 'D'},	/* 7 */
+	{'r', 'e', 'e', 'B', 'S', 'D', '!', ' '},	/* 8 */
+	{'e', 'e', 'B', 'S', 'D', '!', ' ', ' '},	/* 9 */
+	{'e', 'B', 'S', 'D', '!', ' ', ' ', ' '},	/* 10 */
+	{'B', 'S', 'D', '!', ' ', ' ', ' ', ' '},	/* 11 */
+	{'S', 'D', '!', ' ', ' ', ' ', ' ', ' '},	/* 12 */
+	{'D', '!', ' ', ' ', ' ', ' ', ' ', ' '},	/* 13 */
+	{'!', ' ', ' ', ' ', ' ', ' ', ' ', ' '}	/* 14 */
 };
 
 int prog_count = 0;
@@ -338,15 +338,16 @@
 void
 octeon_led_run_wheel(void)
 {
-        int i;
-        if (!octeon_board_real())
+	int i;
+
+	if (!octeon_board_real())
 		return;
 
 	if (prog_count > 14) {
-	  prog_count = 0;
+		prog_count = 0;
 	}
 	for (i = 0; i < 8; i++) {
-	  octeon_led_write_char(i, progress[prog_count][i]);
+		octeon_led_write_char(i, progress[prog_count][i]);
 	}
 	prog_count++;
 }
@@ -643,7 +644,7 @@
 /*
  * ciu_get_int_summary
  */
-uint64_t 
+uint64_t
 ciu_get_int_summary(int core_num, int intx, int enx)
 {
 	uint64_t ciu_intr_sum_reg_addr;
@@ -948,8 +949,8 @@
 
 uint32_t octeon_cpu_clock;
 uint64_t octeon_dram = 0;
-uint32_t octeon_bd_ver = 0, octeon_cvmx_bd_ver = 0, octeon_board_rev_major, octeon_board_rev_minor,
-         octeon_board_type;
+uint32_t octeon_bd_ver = 0, octeon_cvmx_bd_ver = 0, octeon_board_rev_major,
+         octeon_board_rev_minor, octeon_board_type;
 uint8_t octeon_mac_addr[6] = {0};
 int octeon_core_mask, octeon_mac_addr_count;
 int octeon_chip_rev_major = 0, octeon_chip_rev_minor = 0, octeon_chip_type = 0;
@@ -1338,8 +1339,8 @@
 	kernend = round_page((vm_offset_t)&end);
 
 	/*
-	 * Quick Default. To avoid divide-by-0 Later we will
-	 * get it from Bootloader/Rom-Mon
+	 * Quick Default. To avoid divide-by-0 Later we will get it from
+	 * Bootloader/Rom-Mon
 	 */
 	mips_timer_early_init(OCTEON_CLOCK_DEFAULT);
 	cninit();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802261411.m1QEBmRE046112>