Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2013 16:43:49 +0000 (UTC)
From:      Davide Italiano <davide@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r247000 - head/sys/x86/isa
Message-ID:  <201302191643.r1JGhnBv078839@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: davide
Date: Tue Feb 19 16:43:48 2013
New Revision: 247000
URL: http://svnweb.freebsd.org/changeset/base/247000

Log:
  Fixup r246916 in case gcc is used to build.
  
  Reported by:	attilio, simon

Modified:
  head/sys/x86/isa/clock.c

Modified: head/sys/x86/isa/clock.c
==============================================================================
--- head/sys/x86/isa/clock.c	Tue Feb 19 16:40:38 2013	(r246999)
+++ head/sys/x86/isa/clock.c	Tue Feb 19 16:43:48 2013	(r247000)
@@ -450,6 +450,8 @@ set_i8254_freq(int mode, uint32_t period
 		outb(TIMER_CNTR0, new_count & 0xff);
 		outb(TIMER_CNTR0, new_count >> 8);
 		break;
+	default:
+		panic("set_i8254_freq: unknown operational mode");
 	}
 	timer0_mode = new_mode;
 	timer0_last = new_count;



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