Deleted Added
full compact
atrtc.c (112367) atrtc.c (112551)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz and Don Ahn.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)clock.c 7.2 (Berkeley) 5/12/91
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz and Don Ahn.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)clock.c 7.2 (Berkeley) 5/12/91
37 * $FreeBSD: head/sys/isa/atrtc.c 112367 2003-03-18 08:45:25Z phk $
37 * $FreeBSD: head/sys/isa/atrtc.c 112551 2003-03-24 19:14:46Z mdodd $
38 */
39
40/*
41 * Routines to handle clock hardware.
42 */
43
44/*
45 * inittodr, settodr and support routines written

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

85#ifdef DEV_ISA
86#include <isa/isavar.h>
87#endif
88#include <i386/isa/timerreg.h>
89
90#include <i386/isa/intr_machdep.h>
91
92#ifdef DEV_MCA
38 */
39
40/*
41 * Routines to handle clock hardware.
42 */
43
44/*
45 * inittodr, settodr and support routines written

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

85#ifdef DEV_ISA
86#include <isa/isavar.h>
87#endif
88#include <i386/isa/timerreg.h>
89
90#include <i386/isa/intr_machdep.h>
91
92#ifdef DEV_MCA
93#include <i386/isa/mca_machdep.h>
93#include <i386/bios/mca_machdep.h>
94#endif
95
96#ifdef APIC_IO
97#include <i386/isa/intr_machdep.h>
98/* The interrupt triggered by the 8254 (timer) chip */
99int apic_8254_intr;
100static u_long read_intr_count(int vec);
101static void setup_8254_mixed_mode(void);

--- 1115 unchanged lines hidden ---
94#endif
95
96#ifdef APIC_IO
97#include <i386/isa/intr_machdep.h>
98/* The interrupt triggered by the 8254 (timer) chip */
99int apic_8254_intr;
100static u_long read_intr_count(int vec);
101static void setup_8254_mixed_mode(void);

--- 1115 unchanged lines hidden ---