Deleted Added
full compact
acpi_timer.c (91237) acpi_timer.c (93093)
1/*-
2 * Copyright (c) 2000, 2001 Michael Smith
3 * Copyright (c) 2000 BSDi
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 2000, 2001 Michael Smith
3 * Copyright (c) 2000 BSDi
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/dev/acpica/acpi_timer.c 91237 2002-02-25 09:51:17Z phk $
27 * $FreeBSD: head/sys/dev/acpica/acpi_timer.c 93093 2002-03-24 11:33:52Z phk $
28 */
29#include "opt_acpi.h"
30#include <sys/param.h>
31#include <sys/bus.h>
32#include <sys/kernel.h>
33#include <sys/sysctl.h>
34#include <sys/timetc.h>
35

--- 90 unchanged lines hidden (view full) ---

126 last = this;
127 }
128 if (max - min > 2)
129 n = 0;
130 else if (min < 0)
131 n = 0;
132 else
133 n = 1;
28 */
29#include "opt_acpi.h"
30#include <sys/param.h>
31#include <sys/bus.h>
32#include <sys/kernel.h>
33#include <sys/sysctl.h>
34#include <sys/timetc.h>
35

--- 90 unchanged lines hidden (view full) ---

126 last = this;
127 }
128 if (max - min > 2)
129 n = 0;
130 else if (min < 0)
131 n = 0;
132 else
133 n = 1;
134 printf("ACPI timer looks %s min = %d, max = %d, width = %d\n",
135 n ? "GOOD" : "BAD ",
136 min, max, max - min + 1);
134 if (bootverbose)
135 printf("ACPI timer looks %s min = %d, max = %d, width = %d\n",
136 n ? "GOOD" : "BAD ",
137 min, max, max - min + 1);
137 return (n);
138}
139
140/*
141 * Locate the ACPI timer using the FADT, set up and allocate the I/O resources
142 * we will be using.
143 */
144static void

--- 222 unchanged lines hidden ---
138 return (n);
139}
140
141/*
142 * Locate the ACPI timer using the FADT, set up and allocate the I/O resources
143 * we will be using.
144 */
145static void

--- 222 unchanged lines hidden ---