Don't panic when a valid divisor of 1 has been requested.

Obtained from:	NetApp
This commit is contained in:
Peter Grehan 2013-04-05 22:16:31 +00:00
parent f82d0672c7
commit 117e8f378e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249174

View file

@ -128,6 +128,8 @@ static int
vlapic_timer_divisor(uint32_t dcr)
{
switch (dcr & 0xB) {
case APIC_TDCR_1:
return (1);
case APIC_TDCR_2:
return (2);
case APIC_TDCR_4: